CVE-2024-21519 Arbitrary File Creation in opencart
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- PHP
Description
This affects versions of the package opencart/opencart from 4.0.0.0. An Arbitrary File Creation issue was identified via the database restoration functionality. By injecting PHP code into the database, an attacker with admin privileges can create a backup file with an arbitrary filename (including the extension), within /system/storage/backup.
Note:
It is less likely for the created file to be available within the web root, as part of the security recommendations for the application suggest moving the storage path outside of the web root.
Upgrade path
2 packages: 0 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| opencart/opencart | >= 4.0.0.0 | No fix listed | No fix yet |
| opencart/opencart(Packagist) | = 4.1.0.0; = 4.1.0.1; = 4.1.0.2; = 4.1.0.3 +2 more | No fix listed | No fix yet |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| opencart/opencart(Packagist) | >= 4.0.0.0 | No fix listed |
| opencart/opencart(Packagist) | = 4.1.0.0 | No fix listed |
| opencart/opencart(Packagist) | = 4.1.0.1 | No fix listed |
| opencart/opencart(Packagist) | = 4.1.0.2 | No fix listed |
| opencart/opencart(Packagist) | = 4.1.0.3 | No fix listed |
| opencart/opencart(Packagist) | = 4.1.0.4 | No fix listed |
| opencart/opencart | >= 4.0.0.0 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com
- github.com
- security.snyk.io exploit third-party-advisory
- github.com