CVE-2024-21519
MEDIUM6.6EPSS 0.28%Arbitrary File Creation in opencart
發布日:2024/6/22修改日:2024/11/18
描述
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.
受影響套件(2)
- Bitnami/opencart>= 4.0.0-0
- Packagist/opencart/opencart>= 4.0.0.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM6.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
參考連結(5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-21519
- PATCHhttps://github.com/opencart/opencart
- WEBhttps://github.com/opencart/opencart/blob/4.0.2.3/upload/admin/controller/tool/upload.php%23L353
- WEBhttps://github.com/opencart/opencart/blob/master/upload/admin/controller/tool/upload.php%23L353
- WEBhttps://security.snyk.io/vuln/SNYK-PHP-OPENCARTOPENCART-7266579