CVE-2024-31821 SQL injection in n/a

High 8.0 Published Updated

Remote attackers can execute arbitrary code via SQL injection in the Orders_model.php component of Ecommerce-CodeIgniter-Bootstrap.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-31821?

CVE-2024-31821 is a high-severity SQL injection vulnerability in n/a, published on 29 Apr 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

SQL Injection vulnerability in Ecommerce-CodeIgniter-Bootstrap commit v. d22b54e8915f167a135046ceb857caaf8479c4da allows a remote attacker to execute arbitrary code via the manageQuantitiesAndProcurement method of the Orders_model.php component.

Weakness: CWE-89

Which versions are affected by CVE-2024-31821?

It affects 1 product.

Products include Ecommerce-Codeigniter-Bootstrap Project Ecommerce-Codeigniter-Bootstrap.

How do I fix CVE-2024-31821?

No fix has been published for CVE-2024-31821 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-31821 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-31821 exists.

Sources

Also known as GHSA-9r3g-jj9v-44cj.

Is CVE-2024-31821 in your software?

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

Check your SBOMs for free