Description
osTicket 1.10.1 provides a functionality to upload 'html' files with associated formats. However, it does not properly validate the uploaded file's contents and thus accepts any type of file, such as with a tickets.php request that is modified with a .html extension changed to a .exe extension. An attacker can leverage this vulnerability to upload arbitrary files on the web application having malicious content.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- osTicket 1.10.1 - Arbitrary File Upload EDB-45169 · webapps · Aug 8, 2018
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://becomepentester.blogspot.com/2017/10/osTicket-File-Upload-Restrictions-Bypassed-CVE-2017-15580.html
- https://packetstormsecurity.com/files/144747/osticket1101-shell.txt
- 45169 exploit
- http://0day.today/exploits/28864
- https://cxsecurity.com/issue/WLB-2017100187
- https://www.cyber-security.ro/blog/2017/10/25/osticket-1-10-1-shell-upload/
- http://nakedsecurity.com/cve/CVE-2017-15580/