What’s Vulnerable › Vulnerabilities
CVE-2021-24295: Time-based Blind SQL Injection in Spam protection, AntiSpam, FireWall by CleanTalk < 5.153.4
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 4.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-05-17 · updated 2026-06-17
- Weakness: CWE-89
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.
Affected products
- Spam protection, AntiSpam, FireWall by CleanTalk: before 5.153.4 — fixed in 5.153.4
How to fix
Upgrade to a fixed version: Spam protection, AntiSpam, FireWall by CleanTalk 5.153.4. Check the vendor advisory for mitigations.
References
- https://wpscan.com/vulnerability/152171fc-888c-4275-a118-5a1e664ef28b
- https://www.wordfence.com/blog/2021/05/sql-injection-vulnerability-patched-in-cleantalk-antispam-plugin/
- https://wpscan.com/vulnerability/152171fc-888c-4275-a118-5a1e664ef28b
- https://www.wordfence.com/blog/2021/05/sql-injection-vulnerability-patched-in-cleantalk-antispam-plugin/
Get alerted when CVE-2021-24295 or the next vulnerability affects your stack