CVE-2021-37823 OpenCart SQL injection vulnerability
Attackers can exploit SQL injection in the admin panel to read database information and server files.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-37823?
CVE-2021-37823 is a medium-severity SQL injection vulnerability in n/a, published on 3 Nov 2022. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
OpenCart 3.0.3.7 allows users to obtain database information or read server files through SQL injection in the background.
Weakness: CWE-89
Which versions are affected by CVE-2021-37823?
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.7 | None |
opencart/opencart Packagist | All versions to 3.0.3.7 | None |
Products include Opencart Opencart.
How do I fix CVE-2021-37823?
No fix has been published for CVE-2021-37823 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-2021-37823 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-37823 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-236j-rfx5-wq38.