{"id":"CVE-2021-24295","published":"2021-05-17T16:48:53Z","modified":"2024-08-03T19:28:23Z","title":"Time-based Blind SQL Injection in Spam protection, AntiSpam, FireWall by CleanTalk < 5.153.4","vendor":"СleanTalk","product":"Spam protection, AntiSpam, FireWall by CleanTalk","tier":"core","eol":null,"affectedVersions":[{"vendor":"СleanTalk","product":"Spam protection, AntiSpam, FireWall by CleanTalk","versions":[">= 5.153.4, < 5.153.4"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is a time-based blind SQL injection in the update_log function of lib/Cleantalk/ApbctWP/Firewall/SFW.php, part of the Spam protection, AntiSpam, FireWall by CleanTalk WordPress plugin. An unauthenticated attacker can exploit it by sending a request with a crafted User-Agent header while manipulating the plugin's ct_sfw_pass_key and ct_sfw_passed cookies, obtained through an initial request and then set manually with the reset prevented.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:17:33Z"},"cvss":null,"epss":{"score":0.05612,"percentile":0.93103,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2021-05-03","exploitedFirstSeen":"2021-05-03","ransomware":false,"evidence":[{"url":"https://patchstack.com/database/vulnerability/cleantalk-spam-protect/wordpress-spam-protection-antispam-firewall-by-cleantalk-plugin-5-153-3-unauthenticated-time-based-blind-sql-injection-sqli-vulnerability","date":"2021-05-03"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://wpscan.com/vulnerability/152171fc-888c-4275-a118-5a1e664ef28b","tags":["x_refsource_CONFIRM"]},{"url":"https://www.wordfence.com/blog/2021/05/sql-injection-vulnerability-patched-in-cleantalk-antispam-plugin/","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2021-11209","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-11209","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2021-24295","name":"Spam protection, AntiSpam, FireWall by CleanTalk < 5.153.4 - Unauthenticated Blind SQL Injection","severity":"high","path":"http/cves/2021/CVE-2021-24295.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24295.yaml"}],"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2021-05-03","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://patchstack.com/database/vulnerability/cleantalk-spam-protect/wordpress-spam-protection-antispam-firewall-by-cleantalk-plugin-5-153-3-unauthenticated-time-based-blind-sql-injection-sqli-vulnerability","provenance":"source"},{"date":"2021-05-17","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-24295","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":58.6,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 2028 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":18.62,"detail":"percentile 0.9310"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}