DD-WRT Warning!!!

magicJack Tips and Tricks

Moderators: Bill Smith, Pilot

Post Reply
blueadept
magicJack Apprentice
Posts: 12
Joined: Sun Apr 27, 2008 5:32 pm

DD-WRT Warning!!!

Post by blueadept »

As reported at www.miw0rm.com there is a vulnerability in the http-server for the DD-WRT management GUI that can be used for execution of an exploit to gain control over the router.

See full article here:

http://www.dd-wrt.com/dd-wrtv3/communit ... eport.html

To fix the vulnerability add these lines to your firewall in dd-wrt

insmod ipt_webstr
ln -s /dev/null /tmp/exec.tmp
iptables -D INPUT -p tcp -m tcp -m webstr --url cgi-bin -j REJECT --reject-with tcp-reset
iptables -I INPUT -p tcp -m tcp -m webstr --url cgi-bin -j REJECT --reject-with tcp-reset
steroids
MagicJack User
Posts: 33
Joined: Mon Jun 15, 2009 12:05 pm

Re: DD-WRT Warning!!!

Post by steroids »

blueadept wrote:As reported at www.miw0rm.com there is a vulnerability in the http-server for the DD-WRT management GUI that can be used for execution of an exploit to gain control over the router.

See full article here:

http://www.dd-wrt.com/dd-wrtv3/communit ... eport.html

To fix the vulnerability add these lines to your firewall in dd-wrt

insmod ipt_webstr
ln -s /dev/null /tmp/exec.tmp
iptables -D INPUT -p tcp -m tcp -m webstr --url cgi-bin -j REJECT --reject-with tcp-reset
iptables -I INPUT -p tcp -m tcp -m webstr --url cgi-bin -j REJECT --reject-with tcp-reset
Note: The exploit can only be used directly from outside your network over the internet if you have enabled remote Web GUI management in the Administration tab.
netdata
magicJack Apprentice
Posts: 29
Joined: Tue Jun 09, 2009 4:04 am

typo

Post by netdata »

Typo on that URL it is milw0rm.com

good info


a lot of us already knew about this, but its good you point it out here
Post Reply