CVE-2024-21519

MEDIUM
Published Jun 22, 2024 Modified Nov 21, 2024 CWE-20

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.

Is your site exposed to CVE-2024-21519?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

6.6
MEDIUM
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Weakness Type (CWE)

CWE-20 Improper Input Validation

Affected Products

Vendor Product
opencart opencart

References

Frequently Asked Questions

What is CVE-2024-21519? +
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. It has a CVSS v3.1 base score of 6.6 (MEDIUM).
How severe is CVE-2024-21519? +
CVE-2024-21519 has a CVSS v3.1 score of 6.6 out of 10, rated MEDIUM. This is a medium-severity vulnerability that should be remediated as part of regular maintenance.
What products are affected by CVE-2024-21519? +
CVE-2024-21519 affects products from opencart, specifically: opencart. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-21519? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-21519 — free, no signup required.