CVE-2021-24863: StopBadBots WordPress Plugin - SQL Injection
- Cve: CVE-2021-24863
- Name: StopBadBots WordPress Plugin - SQL Injection
- Description: The WP Block and Stop Bad Bots Crawlers and Spiders and Anti Spam Protection Plugin StopBadBots WordPress plugin before 6.67 does not sanitise and escape the User Agent before using it in a SQL statement to save it, leading to a SQL injection
- Impact: Attackers can execute arbitrary SQL commands, potentially leading to data theft, modification, or deletion.
- Remediation: Update to version 6.67 or later.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: user_interaction
- Requirements: Attacker needs to craft a request with malicious User Agent
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01627
- Epss percentile: 0.76681
- Assignee: [email protected]
- Published at: 2021-12-13T11:15:09Z
- Age in days: 1807
- Modified at: 2026-06-17T03:41:02Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-24863
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://wpscan.com/vulnerability/1e4dd002-6c96-44f9-bd55-61359265f7ae | nvd | 2021-12-13 |
References
| Url | Source | Tags |
|---|---|---|
| https://wpscan.com/vulnerability/1e4dd002-6c96-44f9-bd55-61359265f7ae | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| billminozzi:stop_bad_bots | < 6.67 | no | nvd | /v1/products/billminozzi/stop_bad_bots |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-12-13
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts