CVE-2018-11495 OpenCart Path Traversal
An attacker can exploit a directory traversal flaw in OpenCart to read sensitive configuration files, potentially exposing database credentials.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-11495?
CVE-2018-11495 is a medium-severity path traversal vulnerability in n/a, published on 26 May 2018. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
OpenCart through 3.0.2.0 allows directory traversal in the editDownload function in admin\model\catalog\download.php via admin/index.php?route=catalog/download/edit, related to the download_id. For example, an attacker can download ../../config.php.
Weakness: CWE-22
Which versions are affected by CVE-2018-11495?
2 open source packages ship an affected version, including opencart/opencart. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
opencart/opencart Packagist | All versions to 3.0.2.0 | None |
opencart/opencart Packagist | All versions to 3.0.2.0 | None |
Products include Opencart Opencart.
How do I fix CVE-2018-11495?
No fix has been published for CVE-2018-11495 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2018-11495 being exploited?
There is no known exploitation of CVE-2018-11495 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-qgrf-34hp-ghm9.