CVE-2021-24295
Time-based Blind SQL Injection in Spam protection, AntiSpam, FireWall by CleanTalk < 5.153.4
Record summary
CVE-2021-24295 has a selected CVSS score of 7.5 (high); EIP currently links 1 Nuclei template.
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.
Exploitation context
Known exploitation
- VulnCheck KEV
- Listed · May 3, 2021 · VulnCheck
- Reported exploitation
- Observed · VulnCheck
Available material
- Nuclei templates
- 1
Affected products and versions
2| Product | Source | Version range | Status |
|---|---|---|---|
spam_protection\,_antispam\,_firewallBrowse cleantalk / spam_protection\,_antispam\,_firewall | VulnCheck | Version data not supplied | |
Spam protection, AntiSpam, FireWall by CleanTalkBrowse СleanTalk / Spam protection, AntiSpam, FireWall by CleanTalk | CVE List | 5.153.4 to < 5.153.4 | affected |
Nuclei templates
1ProjectDiscoveryHIGHSpam protection, AntiSpam, FireWall by CleanTalk < 5.153.4 - Unauthenticated Blind SQL InjectionCVSS 7.5
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.
Impact
Unauthenticated attackers can extract database contents via time-based blind SQL injection through User-Agent header manipulation, potentially exposing all WordPress user data.
Remediation
Fixed in 5.153.4
Source: ProjectDiscovery