CVE-2022-0949 WP Block and Stop Bad Bots < 6.930 - Unauthenticated SQLi
Unauthenticated attackers can inject SQL commands via the fingerprint parameter in the Block Bad Bots WordPress plugin, potentially accessing 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-2022-0949?
CVE-2022-0949 is a critical SQL injection vulnerability in Unknown Block Bad Bots and Stop Bad Bots Crawlers and Spiders and Anti Spam Protection, published on 11 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The Block Bad Bots and Stop Bad Bots Crawlers and Spiders and Anti Spam Protection WordPress plugin before 6.930 does not properly sanitise and escape the fingerprint parameter before using it in a SQL statement via the stopbadbots_grava_fingerprint AJAX action, available to unauthenticated users, leading to a SQL injection
Weakness: CWE-89
Which versions are affected by CVE-2022-0949?
It affects 1 product.
Products include Stopbadbots Block and Stop Bad Bots.
How do I fix CVE-2022-0949?
No fix has been published for CVE-2022-0949 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-0949 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-0949 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in Unknown Block Bad Bots and Stop Bad Bots Crawlers and Spiders and Anti Spam Protection
Sources
Also known as GHSA-q4jm-qp48-3j3f.