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 package | Versions | Reported by |
|---|---|---|
| opencart/opencart | from 4.0.0.0 before * | CVE List |
| opencart opencart | from 4.0.0.0 before *, from 4.0.0.0 | CVE List, NVD |
| opencart/opencart (Packagist) | from 4.0.0.0 | GitHub Advisory Database |
| opencart (Bitnami) | from 4.0.0-0 | Bitnami Vulnerability Database |
All scores
| snyk | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P |
| GitHub | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-21518 changed 2024-08-01 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-m7r8-2r98-vppj changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-21518 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-OPENCART-2024-21518 changed 2025-04-03 | Apache-2.0 |