Files
CVEs-PoC/2021/CVE-2021-24295.md
T
2025-09-29 21:09:30 +02:00

19 lines
1.2 KiB
Markdown

### [CVE-2021-24295](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24295)
![](https://img.shields.io/static/v1?label=Product&message=Spam%20protection%2C%20AntiSpam%2C%20FireWall%20by%20CleanTalk&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=5.153.4%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-89%20SQL%20Injection&color=brightgreen)
### 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.
### POC
#### Reference
- https://www.wordfence.com/blog/2021/05/sql-injection-vulnerability-patched-in-cleantalk-antispam-plugin/
#### Github
- https://github.com/20142995/nuclei-templates
- https://github.com/ARPSyndicate/cve-scores