CVE-2021-24285 Car Seller - Auto Classifieds Script <= 2.1.0 - Unauthenticated SQL Injection

Critical 9.8 Published Updated

Unauthenticated attackers can inject SQL via the order_id parameter in the Car Seller plugin, potentially reading or modifying database contents.

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-2021-24285?

CVE-2021-24285 is a critical SQL injection vulnerability in Unknown Car Seller - Auto Classifieds Script, published on 14 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The request_list_request AJAX call of the Car Seller - Auto Classifieds Script WordPress plugin through 2.1.0, available to both authenticated and unauthenticated users, does not sanitise, validate or escape the order_id POST parameter before using it in a SQL statement, leading to a SQL Injection issue.

Weakness: CWE-89

Which versions are affected by CVE-2021-24285?

It affects 1 product.

Products include Cars-Seller-Auto-Classifieds-Script Project Cars-Seller-Auto-Classifieds-Script.

How do I fix CVE-2021-24285?

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

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

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-f9v3-crj2-qwx2.

Is CVE-2021-24285 in your software?

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

Check your SBOMs for free