CVE-2024-21514 SQL injection in opencart
Unauthenticated attackers can exploit SQL injection in the Divido payment extension to dump the entire OpenCart database, exposing customer PII.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-21514?
CVE-2024-21514 is a high-severity SQL injection vulnerability in opencart/opencart, published on 22 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
This affects versions of the package opencart/opencart from 0.0.0. An SQL Injection issue was identified in the Divido payment extension for OpenCart, which is included by default in version 3.0.3.9. As an anonymous unauthenticated user, if the Divido payment module is installed (it does not have to be enabled), it is possible to exploit SQL injection to gain unauthorised access to the backend database. For any site which is vulnerable, any unauthenticated user could exploit this to dump the entire OpenCart database, including customer PII data.
Weakness: CWE-89
Which versions are affected by CVE-2024-21514?
2 open source packages ship an affected version, including opencart/opencart. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
opencart/opencart Packagist | All versions to 3.0.3.9 | None |
opencart/opencart Packagist | All versions to 3.0.3.9 | None |
Products include Opencart Opencart.
How do I fix CVE-2024-21514?
No fix has been published for CVE-2024-21514 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2024-21514 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-21514 exists.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in opencart/opencart
Sources
Also known as GHSA-7crj-24g3-g7h7.