GHSA-wx3q-f5f2-4q8v

Suggest an improvement
Source
https://github.com/advisories/GHSA-wx3q-f5f2-4q8v
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-wx3q-f5f2-4q8v/GHSA-wx3q-f5f2-4q8v.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wx3q-f5f2-4q8v
Aliases
Published
2022-05-14T03:15:27Z
Modified
2024-04-23T17:43:53.206089Z
Severity
  • 8.0 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
OpenCart Path Traversal
Details

The "program extension upload" feature in OpenCart through 3.0.2.0 has a six-step process (upload, install, unzip, move, xml, remove) that allows attackers to execute arbitrary code if the remove step is skipped, because the attacker can discover a secret temporary directory name (containing 10 random digits) via a directory traversal attack involving language_info['code'].

Database specific
{
    "nvd_published_at": "2018-05-26T20:29:00Z",
    "cwe_ids": [
        "CWE-22"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-04-23T17:28:19Z"
}
References

Affected packages

Packagist / opencart/opencart

Package

Name
opencart/opencart
Purl
pkg:composer/opencart/opencart

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
3.0.2.0

Affected versions

2.*

2.2.0.0
2.3.0.0
2.3.0.1
2.3.0.2

3.*

3.0.0.0
3.0.0.2
3.0.1.1
3.0.1.2
3.0.2.0