Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | 504T and now also 604T remote access. |
|---|---|
| Date: | Sat, 28 May 2005 16:34:20 +0200 |
Dear ZARAZA,
Device: CUSTOMER=DLinkEU MODEL=DSL-604T
Version: only tested with VERSION=V1.00B02T02.EU.20040610
Bugs: i) remote firmware upgrade without password
ii) config retrieval without password
Exploitation: remote
Date: 27/05/2005
Status: vendor contacted
Workaround: disable remote web management
Author: Alessandro AuderoThe Bug
DSL-604T is a D-Link router/ADSL modem with a linux system on it based on MIPS 4KEc V4.8. This is the uname that i found from the device i tested:
Linux version 2.4.17_mvl21-malta-mips_fp_le (tiger@fd7.alphanetworks.com) (gcc version 2.95.3 20010315 (release/MontaVista)) #71 Tue Feb 17 01:16:45 GMT 2004
It supports a remote web management console, that at first sigth asks for a username and a password. The URL should be something like this:
http:://ipaddress/
and if you click on 'login' you'll get this other URL:
http://ipaddress/cgi-bin/webcm
that obviously tells you that you have typed in a wrong password.
This router seems to fix previous 504T vulnerability, denying dir listing of /cgi-bin/ and calling firmwarecfg from a password protected page. But if you look at the source of the frame
http://ipaddress/cgi-bin/webcm?getpage=../html/tools/updgateway.htm
you can see that firmwarecfg is called with a post and that this action is allowed even if you don't know any password. Configuration and password retrieval is in this way possible. You can use a POST like this:
Saving this stuff in a file and then doing something like that:
cat lamepost.txt | nc ipaddress 80 > ipaddress.config.xml
you have the router config in ipaddress.config.xml. Same trick of the previous paper: username and password are written in clear text, even those of the internet provider, mail, etc.
That's all, folks.
Alessandro Audero
Rhapsody
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Full-disclosure] Reminder: XGrabKeyboard is not a security interface, Florian Weimer |
|---|---|
| Next by Date: | [Full-disclosure] A short warning on the X11 Editres protocol, Florian Weimer |
| Previous by Thread: | [Full-disclosure] Reminder: XGrabKeyboard is not a security interface, Florian Weimer |
| Next by Thread: | [Full-disclosure] A short warning on the X11 Editres protocol, Florian Weimer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |