SQL Injection in Cleantalk Spam Protection\, Antispam\, Firewall

CVE-2021-24295

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.

Vulnerability class: SQL Injection

EPSS: 0.047 (91.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-24295?
CVE-2021-24295 is a high-severity vulnerability in Cleantalk Spam Protection\, Antispam\, Firewall, classified under SQL Injection. CVSS score: 7.5/10. Published 2021-05-17.
How severe is CVE-2021-24295?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2021-24295 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.