CVE-2022-4297 WP AutoComplete Search <= 1.0.4 - Unauthenticated SQLi

Critical 9.8 Published Updated

Unauthenticated attackers can inject SQL commands via an AJAX parameter in the WP AutoComplete Search plugin, potentially reading or modifying database content.

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-2022-4297?

CVE-2022-4297 is a critical SQL injection vulnerability in Unknown WP AutoComplete Search, published on 2 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The WP AutoComplete Search WordPress plugin through 1.0.4 does not sanitise and escape a parameter before using it in a SQL statement via an AJAX available to unauthenticated users, leading to an unauthenticated SQL injection

Which versions are affected by CVE-2022-4297?

It affects 1 product.

Products include Netflixtech Wp Autocomplete Search.

How do I fix CVE-2022-4297?

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

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-xcgc-gw57-wr9f.

Is CVE-2022-4297 in your software?

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

Check your SBOMs for free