CVE-2021-24295: cleantalk spam_protection\,_antispam\,_firewall SQL Injection
Vulnerability summary
CVE-2021-24295 is a high (CVSS 7.5) SQL Injection vulnerability in cleantalk spam_protection\,_antispam\,_firewall. EPSS estimates a 4.69% chance of exploitation in the next 30 days, higher than 91.7% of scored vulnerabilities. 1 public exploit is recorded. Fixed in 5.153.4.
Timeline
- 17-05-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- wordfenceSource7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
4.69%
Chance of exploitation in the next 30 days
Percentile
92%
Versus all other CVEs
30-day change
0.00 pp
From 4.69% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (wordfence.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Cleantalk1 product
Wordpress1 product
- cleantalk-spam-protect≤ 5.153.3 (fixed in 5.153.4)
Сleantalk1 product
- spam protection, antispam, firewall by cleantalk≥ 5.153.4, < 5.153.4
3 vendors · 3 products
References
3 links- wpscan.com/vulnerability/152171fc-888c-4275-a118-5a1e664ef28bX Refsource CONFIRMThird Party Advisory
- www.wordfence.com/blog/2021/05/sql-injection-vulnerability-patched-in-cleantalk-antispam-plugin/X Refsource MISCExploitThird Party Advisory