osticket 1.12 persistent crosssite scripting via file upload

▸▸▸ Exploit & Vulnerability >>   webapps exploit & php vulnerability




osticket 1.12 persistent crosssite scripting via file upload Code Code...
				
# Exploit Title: osTicket-v1.12 Stored XSS via File Upload # Vendor Homepage: https://osticket.com/ # Software Link: https://osticket.com/download/ # Exploit Author: Aishwarya Iyer # Contact: https://twitter.com/aish_9524 # Website: https://about.me/aish_iyer # Category: webapps # CVE: CVE-2019-14748 1. 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 an attachment. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-14748 2. Proof of Concept Steps to Reproduce: - Login to the portal as a non agent user: - Open a New Ticket - Select any option from the dropdown menu present under "Help Topic" - Text box appears, enter details accordingly - In the section "drop files here or choose them", we would be putting our payload - Open any text editor and name the file as test(say) with .html extension. - Within the file, enter the payload <script>alert(document.cookie);</script> - Save the test.html file. - Now click on drop files here option and enter the test.html file. - Click on "create ticket" option - Login with another user(agent) - Now within the User Directory, go to the user under which the payload has been put. - The ticket raised with the name mentioned will be shown under the subject category. - Scroll down and the file uploaded will be present below. - Click on the file, and the payload gets executed which is persistent 3. Reference 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 4. Solution The vulnerability has been patched by the vendor in the next release which is osTicket v1.10.7.

Osticket 1.12 persistent crosssite scripting via file upload Vulnerability / Exploit Source : Osticket 1.12 persistent crosssite scripting via file upload



Last Vulnerability or Exploits

Developers

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Easy integrations and simple setup help you start scanning in just some minutes
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Discover posible vulnerabilities before GO LIVE with your project
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Manage your reports without any restriction

Business Owners

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Obtain a quick overview of your website's security information
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Do an audit to find and close the high risk issues before having a real damage and increase the costs
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Verify if your developers served you a vulnerable project or not before you are paying
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Run periodically scan for vulnerabilities and get info when new issues are present.

Penetration Testers

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Quickly checking and discover issues to your clients
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Bypass your network restrictions and scan from our IP for relevant results
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Create credible proved the real risk of vulnerabilities

Everybody

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check If you have an website and want you check the security of site you can use our products
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Scan your website from any device with internet connection

Tusted by
clients

 
  Our Cyber Security Web Test application uses Cookies. By using our Cyber Security Web Test application, you are agree that we will use this information. I Accept.