CVE-2024-21518
JSON

7.2high

Zip slip in opencart

Severity
7.2high CVSS:3.1 by snyk
Exploit likelihood
14.1% (higher than 96% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-m7r8-2r98-vppjBIT-OPENCART-2024-21518

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

Product or packageVersionsReported by
opencart/opencartfrom 4.0.0.0 before *CVE List
opencart opencartfrom 4.0.0.0 before *, from 4.0.0.0CVE List, NVD
opencart/opencart (Packagist)from 4.0.0.0GitHub Advisory Database
opencart (Bitnami)from 4.0.0-0Bitnami Vulnerability Database

All scores

snyk7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P
GitHub7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-22CWE-29CWE-290

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Esto afecta a las versiones del paquete opencart/opencart desde 4.0.0.0. Se identificó un problema de Zip Slip a través del instalador del mercado debido a una sanitización inadecuada de la ruta de destino, lo que permite que los archivos dentro de un archivo malicioso atraviesen el sistema de archivos y se extraigan a ubicaciones arbitrarias. Un atacante puede crear archivos arbitrarios en la raíz web de la aplicación y sobrescribir otros archivos existentes aprovechando esta vulnerabilidad.

Bitnami Vulnerability Database

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-21518 changed 2024-08-01CVE Terms of Use
GitHub Advisory DatabaseGHSA-m7r8-2r98-vppj changed 2026-09-10CC-BY-4.0
NVDCVE-2024-21518 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-OPENCART-2024-21518 changed 2025-04-03Apache-2.0