CVE-2024-21518: Zip slip in opencart
7.2
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.43427%
CWE
Published
6/22/2024
Updated
8/4/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| opencart/opencart | composer | >= 4.0.0.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability manifests in the marketplace installer's ZIP processing. Multiple references point to line 383 in installer.php where extraction occurs. Zip Slip vulnerabilities typically occur when using ZipArchive::extractTo() or similar methods without validating entry names. The PoC demonstrates exploitation through this endpoint, and OpenCart's lack of path normalization/sanitization before extraction enables traversal. The high confidence comes from direct advisory references to this file/location and the attack pattern matching classic Zip Slip scenarios.