CVE-2017-5870: Opensolutions/vimbadmin Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-jj4j-cwgq-fx7g
CVSS 5.4
CWE-79
Published
Advisory Summary

CVE-2017-5870 is a MODERATE (CVSS 5.4) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Opensolutions/vimbadmin libraries in the Packagist ecosystem. The issue involves vimbadmin cross-site scripting vulnerabilities. Remediation is available in the latest vendor maintenance releases.

CVE-2017-5870 at a Glance

CVE Identifier CVE-2017-5870
GHSA Identifier GHSA-jj4j-cwgq-fx7g
Severity MODERATE
CVSS v3.1 Base Score 5.4
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Opensolutions/vimbadmin
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 5.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2017-5870

To remediate this vulnerability, upgrade all affected Opensolutions/vimbadmin dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

opensolutions/vimbadmin fixed: Latest secure release
Upgrade opensolutions/vimbadmin to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for opensolutions/vimbadmin

How to Check if You Are Affected

To determine whether your application is affected by CVE-2017-5870, inspect your project dependencies for Opensolutions/vimbadmin:

inspect dependencies for opensolutions/vimbadmin

Analyze the terminal output to locate any version of Opensolutions/vimbadmin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Opensolutions/vimbadmin, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Multiple cross-site scripting (XSS) vulnerabilities in ViMbAdmin 3.0.15 allow remote attackers to inject arbitrary web script or HTML via the (1) domain or (2) transport parameter to domain/add; the (3) name parameter to mailbox/add/did/<domain id>; the (4) goto parameter to alias/add/did/<domain id>; or the (5) captchatext parameter to auth/lost-password.

CVE-2017-5870 Affected Opensolutions/vimbadmin Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
opensolutions/vimbadmin
Packagist
≤ 3.0.15

References

Frequently Asked Questions

What is CVE-2017-5870?
CVE-2017-5870 is a security vulnerability in Opensolutions/vimbadmin involving ViMbAdmin Cross-site Scripting Vulnerabilities under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Opensolutions/vimbadmin versions are affected?
Affected versions include releases prior to current release patches across affected packages: opensolutions/vimbadmin.
What version fixes CVE-2017-5870?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is opensolutions/vimbadmin affected?
Yes, opensolutions/vimbadmin is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2017-5870?
CVE-2017-5870 has a CVSS v3.1 base score of 5.4 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2017-5870?
CVE-2017-5870 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check Packagist dependencies for CVE-2017-5870?
Run the dependency tree command: 'inspect dependencies for opensolutions/vimbadmin'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jj4j-cwgq-fx7g",
  "modified" : "2024-04-25T22:40:47Z",
  "published" : "2022-05-17T02:43:11Z",
  "aliases" : [ "CVE-2017-5870" ],
  "summary" : "ViMbAdmin Cross-site Scripting Vulnerabilities",
  "details" : "Multiple cross-site scripting (XSS) vulnerabilities in ViMbAdmin 3.0.15 allow remote attackers to inject arbitrary web script or HTML via the (1) domain or (2) transport parameter to domain/add; the (3) name parameter to mailbox/add/did/<domain id>; the (4) goto parameter to alias/add/did/<domain id>; or the (5) captchatext parameter to auth/lost-password.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "opensolutions/vimbadmin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "3.0.15"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-5870"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/opensolutions/ViMbAdmin"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20201208133828/https://sysdream.com/news/lab/2017-05-03-cve-2017-5870-multiple-xss-vulnerabilities-in-vimbadmin"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2017/05/03/8"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-25T22:40:47Z",
    "nvd_published_at" : "2017-05-23T04:29:00Z"
  }
}