Vulnerability · Published Jun 22, 2024 · Assigned by snyk

CVE-2024-21518

High 7.2

In plain English

A high-severity path traversal in opencart/opencart. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 14.1% (higher than 97% of all known vulnerabilities).

Severity (CVSS 3.1)7.2High
Exploit odds (30 days)14.1%top 3.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

This affects versions of the package opencart/opencart from 4.0.0.0. A Zip Slip issue was identified via the marketplace installer due to improper sanitization of the target path, allowing files within a malicious archive to traverse the filesystem and be extracted to arbitrary locations. An attacker can create arbitrary files in the web root of the application and overwrite other existing files by exploiting this vulnerability.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistopencart/opencartno fix listedGHSA-m7r8-2r98-vppj

Affected products (as reported)

VendorProductVersions
n/a opencart/opencart 4.0.0.0 – before *

Weakness: CWE-29, CWE-22, CWE-290 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P

References