Skip to content

CVE-2021-24295 Time-based Blind SQL Injection in Spam protection, AntiSpam, FireWall by CleanTalk < 5.153.4

HighCVSS 7.5 EPSS 5.6% Scanner template
Published
Updated
Exploit status
No public exploit known
Technology
PHPWordPressNetwork Appliances

Description

It was possible to exploit an Unauthenticated Time-Based Blind SQL Injection vulnerability in the Spam protection, AntiSpam, FireWall by CleanTalk WordPress Plugin before 5.153.4. The update_log function in lib/Cleantalk/ApbctWP/Firewall/SFW.php included a vulnerable query that could be injected via the User-Agent Header by manipulating the cookies set by the Spam protection, AntiSpam, FireWall by CleanTalk WordPress plugin before 5.153.4, sending an initial request to obtain a ct_sfw_pass_key cookie and then manually setting a separate ct_sfw_passed cookie and disallowing it from being reset.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
cleantalk spam protection antispam firewall < 5.153.4 5.153.4 Fixed
wordpress cleantalk-spam-protect(WordPress) < 5.153.4 5.153.4 Fixed
СleanTalk Spam protection, AntiSpam, FireWall by CleanTalk >= 5.153.4, < 5.153.4 5.153.4 Fixed

Affected products

ProductAffected versionsFixed in
cleantalk spam protection antispam firewall < 5.153.4 5.153.4
СleanTalk Spam protection, AntiSpam, FireWall by CleanTalk >= 5.153.4, < 5.153.4 5.153.4
wordpress cleantalk-spam-protect(WordPress) < 5.153.4 5.153.4

References