________________________________________

. : Shell Security Advisory : .
________________________________________


Denial of Service in Conceptronic CADSLR1 Router
----------------------------------------------------------------------------=
-


- 1 - Introducci=F3n - Intro
-------------------------------------------

El modelo CADSLR1 de Conceptronic es un router para ADSL con un puerto para=
=20
LAN. Como la mayoria de routers puede ser administrado por telnet o http.=20
En esta ultima se ha encontrado una vulnerabilidad mediante la cual se=20
puede realizar un ataque de Denegacion de Servicio (DoS).

The model CADSLR1 it's an ADSL router with one port of LAN, have telnet and=
=20
http administration. We found a vulnerability in the http administration.


- 2 - Descripci=F3n de la vulnerabilidad - Problem description
----------------------------------------------------------------------------=
-------------------

La vulnerabilidad se encuentra en la autentificacion por HTTP. Si se=20
introduce una cadena de texto de un tama=F1o mayor de 65535 el router queda=
=20
inoperativo durante unos segundos y acto seguido se reinicia. Parece ser=20
que deja ademas en memoria las ultimas conexiones e intentos de=20
identificacion ya que si por ejemplo al autentificarnos ponemos una cadena=
=20
de 32768 caracteres, no ocurrir=E1 nada pero si lo hacemos una segunda vez=
el=20
router se reinicia. Se ha testeado en el router CADSLR1 de Conceptronic con=
=20
Firmware Version 3.04n el cual es vulnerable.

The vulnerability it's when autenticate, if insert a string with size=20
greater of 65535 the router reboots.


- 3 - Forma de explotar esta vulnerabilidad - How to exploit it
----------------------------------------------------------------------------=
--------------------------

Para aprovechar esta vulnerabilidad con un navegador cualquiera y poner una=
=20
cadena de caracteres mayor de 65535 ya se podria realizar, aunque ciertos=20
navegadores limitan el maximo de caracteres. Se ha probado con FireFox con=
=20
resultados positivos mientras que con Internet Explorer no se ha podido=20
realizar el ataque. A continuacion dejo un codigo en perl que explota esta=
=20
vulnerabilidad.

With any internet browser can exploit this vulnerability, insert in user=20
32768 characters or more and in password too. Internet Explorer limits the=
=20
size of the string and with this can't exploit this vulnerability, with=20
FireFox it's tested and don't limit the string. Exploit in perl based in=20
the Allegro Rompager exploit by Seth Alan Woolley.

$ $victima=3D"ip.victim"
$ perl -e 'print "GET / HTTP/1.1\r\nHost: '"$victima"'\r\nAuthorization:=20
Basic " . 'A' x 65536 . "\r\n\r\n"' | nc -vvn $victima 80


- 4 - Soluci=F3n - How to fix
--------------------------------------------

Siendo el ultimo firmware vulnerable la soluci=F3n ante esta vulnerabilidad=
=20
es esperar que Conceptronic actualize el firmware. Como medida de seguridad=
=20
del usuario deshabilitar el acceso remoto por http al router o limitarlo a=
=20
ips que se consideren seguras.

Disable http administration or allow only for secure ips or LAN.


- 5 - Contacto con el vendedor - Vendor response
----------------------------------------------------------------------------=
---

Notificada esta vulnerabilidad al vendedor el 13/07/2004, sin respuesta=20
oficial.

Notified this vulnerability 13/07/2004. No response from vendor.


- 6 - Cr=E9ditos - Credits
-----------------------------------------

Autor: Jordi Corrales ( jordi[at]shellsec.net )
Editor: Fernando Ortega ( fernando[at]shellsec.net )
Fecha: 13 de Julio de 2004
Url: http://www.shellsec.net
Advisory original: http://www.shellsec.net/leer_advisory.php?id=3D5
Noticia: http://www.shellsec.net/noticias.php?num=3D461
Comentarios: actualizado el 21/07/2004 (updated)


__________________________________________________ _____

Administrador de Shell Security ( admin[at]shellsec.net )
Shell Security Group ( http://www.shellsec.net )
__________________________________________________ _____