CVE-2021-25070CWE-89

WP Block and Stop Bad Bots < 6.88 - Unauthenticated SQLi

published March 28, 2022

CVSS
—
EPSS
2%
Percentile
75.7
In the wild
Unconfirmed
What it is

⚠️ A simple oversight could lead to a SQL injection nightmare! The Block Bad Bots WordPress plugin before version 6.88 is taking in User Agents without proper sanitization, leaving a sneaky door wide open. 🔥 Think of it like a restaurant that takes orders without checking for allergies. If the kitchen just tosses everything into the dish without any filters, a patron could have a serious reaction — in this case, an attacker could inject malicious SQL commands instead of just logging harmless entries. An attacker could potentially manipulate the SQL queries to read sensitive data from your database, change records, or even erase crucial information. This could lead to unauthorized access or data breaches, making it a serious concern for anyone using this plugin!

Put simply

Think of it like a restaurant that takes orders without checking for allergies. If the kitchen just tosses everything into the dish without any filters, a patron could have a serious reaction — in this case, an attacker could inject malicious SQL commands instead of just logging harmless entries. The vulnerability arises from the Block Bad Bots plugin failing to properly sanitize and escape User Agent strings before inserting them into SQL statements for logging, creating an opportunity for SQL Injection attacks.

What to do

An attacker could potentially manipulate the SQL queries to read sensitive data from your database, change records, or even erase crucial information. This could lead to unauthorized access or data breaches, making it a serious concern for anyone using this plugin! To safeguard your site, immediately update the Block Bad Bots plugin to version 6.88 or later. Additionally, review your database logs for any unusual entries that may indicate exploitation attempts, and consider implementing security practices such as prepared statements in your code. You've got this! Secure your WordPress site and keep those bad bots at bay! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01608 · 75.7th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2022-03-28T17:22Z
EPSS history
Timeline
  • 28 MAR 17:22Z
    WP Block and Stop Bad Bots < 6.88 - Unauthenticated SQLi
    cvelistv5