WP Block and Stop Bad Bots <= 6.88 - SQL Injection

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2021-25070
CVSS Critical (9.8)
Publicly Published March 8, 2022
Last Updated January 22, 2024
Researcher Krzysztof Zając
Description

The Block Bad Bots WordPress plugin before 6.88 does not properly sanitise and escape the User Agent before using it in a SQL statement to record logs, leading to an SQL Injection issue

References

1 affected software package

Software Type Plugin
Software Slug stopbadbots (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 6.88
Patched Version
  • 6.90
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.