CVE-2024-21518

State
Published
Severity
7.2 High
Published
Jun 22, 2024
Updated
Aug 1, 2024
Reserved
Dec 22, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.2 HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:Psnyk

Weaknesses

  • CWE-29 Arbitrary File Write via Archive Extraction (Zip Slip)
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-290 Authentication Bypass by Spoofing

Affected Products

ProductVersions
opencart/opencartn/a
  • 4.0.0.0 and laterAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.