{"schemaVersion":3,"id":"CVE-2021-24295","aliases":[],"status":"published","duplicateOf":null,"title":"Time-based Blind SQL Injection in Spam protection, AntiSpam, FireWall by CleanTalk < 5.153.4","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.","dates":{"published":"2021-05-17T16:48:53.000Z","modified":"2024-08-03T19:28:23.468Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.04691,"percentile":0.91752,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.04691},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.04691,"percentile":0.91752}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.04691,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.04691,"percentile":0.91752}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_1175229B21413096","name":"Exploit Reference (wordfence.com)","source":"reference","url":"https://www.wordfence.com/blog/2021/05/sql-injection-vulnerability-patched-in-cleantalk-antispam-plugin/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","description":"The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/89.html"}],"affected":[{"vendor":"cleantalk","product":"spam_protection\\,_antispam\\,_firewall","name":"spam protection\\, antispam\\, firewall","label":"spam_protection\\,_antispam\\,_firewall","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.153.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.153.4","eol":null,"hubHref":"/vendor/cleantalk/spam_protection_antispam_firewall"},{"vendor":"сleantalk","product":"spam protection, antispam, firewall by cleantalk","name":"Spam protection, AntiSpam, FireWall by CleanTalk","label":"spam protection, antispam, firewall by cleantalk","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.153.4, < 5.153.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.153.4, < 5.153.4","eol":null,"hubHref":"/vendor/leantalk/spam_protection_antispam_firewall_by_cleantalk"},{"vendor":"wordpress","product":"cleantalk-spam-protect","name":"Spam Protection for Forms & Comments. Anti-Spam by CleanTalk","label":"cleantalk-spam-protect","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 5.153.3 (fixed in 5.153.4)","noFixRecorded":false,"fixedIn":"5.153.4"}],"versionsText":"≤ 5.153.3 (fixed in 5.153.4)","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://wpscan.com/vulnerability/152171fc-888c-4275-a118-5a1e664ef28b","label":"wpscan.com/vulnerability/152171fc-888c-4275-a118-5a1e664ef28b","hostname":"wpscan.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://www.wordfence.com/blog/2021/05/sql-injection-vulnerability-patched-in-cleantalk-antispam-plugin/","label":"www.wordfence.com/blog/2021/05/sql-injection-vulnerability-patched-in-cleantalk-antispam-plugin/","hostname":"www.wordfence.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/7fe50510-6736-4bcf-b62f-0b8d2cb8ff3a","label":"www.wordfence.com/threat-intel/vulnerabilities/id/7fe50510-6736-4bcf-b62f-0b8d2cb8ff3a","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-05-17T16:48:53.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T19:28:23.468Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T20:09:13.212Z","stale":false,"partial":false}}