CVE-2021-37823 OpenCart SQL injection vulnerability

Medium 4.9 Published Updated

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.

PackageAffectedFixed in
opencart/opencart PackagistAll versions to 3.0.3.7None
opencart/opencart PackagistAll versions to 3.0.3.7None

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.

Sources

Also known as GHSA-236j-rfx5-wq38.

Is CVE-2021-37823 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free