CVE-2024-21519: Input Validation

Published Jun 22, 2024
·
Updated

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.

Affected Software

2 affected components
composer/opencart/opencart>=4.0.0.0
OpenCart opencart>=4.0.0.0

Event History

Jun 22, 2024
CVE Published
via MITRE·05:00 AM
Data Sourced
via MITRE·05:00 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·06:30 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-21519?

CVE-2024-21519 is classified as a high severity vulnerability due to its potential for arbitrary file creation.

2

How do I fix CVE-2024-21519?

To fix CVE-2024-21519, upgrade to a patched version of OpenCart that addresses this vulnerability.

3

What are the affected versions for CVE-2024-21519?

CVE-2024-21519 affects OpenCart versions starting from 4.0.0.0.

4

Who can exploit CVE-2024-21519?

An attacker with admin privileges can exploit CVE-2024-21519 to create arbitrary backup files.

5

What functionality is vulnerable in CVE-2024-21519?

The database restoration functionality of OpenCart is vulnerable in CVE-2024-21519.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203