CVE-2018-11495 OpenCart Path Traversal

Medium 4.9 Published Updated

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.

PackageAffectedFixed in
opencart/opencart PackagistAll versions to 3.0.2.0None
opencart/opencart PackagistAll versions to 3.0.2.0None

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.

Sources

Also known as GHSA-qgrf-34hp-ghm9.

Is CVE-2018-11495 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free