Description
An issue was discovered in osTicket before 1.10.7 and 1.12.x before 1.12.1. The Ticket creation form allows users to upload files along with queries. It was found that the file-upload functionality has fewer (or no) mitigations implemented for file content checks; also, the output is not handled properly, causing persistent XSS that leads to cookie stealing or malicious actions. For example, a non-agent user can upload a .html file, and Content-Disposition will be set to inline instead of attachment.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
n/a n/a
n/aaffected
References
- https://github.com/osTicket/osTicket/commit/33ed106b1602f559a660a69f931a9d873685d1ba ↗
- https://github.com/osTicket/osTicket/releases/tag/v1.12.1 ↗
- https://github.com/osTicket/osTicket/releases/tag/v1.10.7 ↗
- http://packetstormsecurity.com/files/154003/osTicket-1.12-File-Upload-Cross-Site-Scripting.html ↗
- https://www.exploit-db.com/exploits/47224 ↗