---
title: "10. osTicket"
date: 2025-01-15
draft: false
---

OSS ticketing system 
Can be compared to systems like Jira, OTRS, Request Tracker, and Spiceworks 
Integrate user inquiries from email/phone/webbased web interfaces. Written in php and uses mysql backend. Win/nix compatible
NMAP will show info about webserver like Apache or IIS - not help footprint. 

osTicket highly maintained and serviced. CVEs lodged for this svc there aren't many vulns. 
https://www.cvedetails.com/vendor/2292/Osticket.html
- Important to understand how a web app works! even if it is not vulnerable it can be used for our purposes. 

1. User Input
	1. Core function inform employees about a problem so problem can be solved with svc or other components. 
	2. Staff/users with admin can access admin panel. If tgt company uses this or similar app we can cause a problem and 'play dumb' + contact the company's staff. Simulated lack of knowledge about svcs offered by company in combination with technical problem is widespread social engineering approach to get more information 
2. Processing
	1. Staff/admins try to reproduce significant errors to find core of problem. Procesing done internally in an isolated env that will have similar settings to systems in production. Suppose staff/admins suspect internal bug affecting business, they will go into more detail to uncover possible code errors + address significant issues
3. Solution 
	1. Very likely staff members from tech dpts will be involved in email correspondence depending on depth of the problem 
	2. Give us new email addresses to use against osticket admin panel (worst case) and potential usernames to perform osint on 

## Attacking OsTicket

exploitdb has a few issues like RFI sqli arbitrary file upload XSS etc etc
 v.1.14.1 suffers from https://nvd.nist.gov/vuln/detail/CVE-2020-24881 (SSRF) 
- leverage allows access to internal resources + internal port scanning 

Aside from webapp vulns support portals can be used to obtain an email address for a company domain which can be used to signup for other exposed apps requiring email verification 
https://0xdf.gitlab.io/2021/05/22/htb-delivery.html

https://medium.com/intigriti/how-i-hacked-hundreds-of-companies-through-their-helpdesk-b7680ddc2d4c

Suppose we find exposed svc like company slack server or gitlab, requiring valid company email addr. to join. Many companies have support email such as `support@domain.com` and emails sent to this are available in online support portals that may range from zendesk to internal custom tools. Supp portal may assign temp internal email address to a new ticket so users can quickly check status 

In module example, creating ticket assigns email address to ticket id. `If you want to add more information to tt, email [email]` 

If there's other services on the network that require an email to login and verify, we can use this email to register and leverage the support email correspondence to get verification links

