-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Netgear DG834PN #35
Comments
I suspect that the entire DG834 series is affected. |
Thank you but you didn't say if it was vuln or not titou1234 :) |
Oups sorry, as expected it is vunerable. |
ok, thank you! |
confirmed: Browse to http://my.router.ip.address/setup.cgi?todo=debug and login to enable telnet daemon, then cat /proc/net/tcpsl local_address rem_address st tx_queue rx_queue tr tm->when retrnsmt uid timeout inode 0x7FFC is 32764. |
Uh, thats really awesome... On 01/05/2014 12:22 AM, cowbutt wrote:
|
The port isn't opened without the debug command? |
I think he only uesd that shell to verify that something is listening there |
oh ok, why didn't you test with the provided PoC? |
Double-checking; nothing responding on port 32764 on my DG834PN running firmware version V1.03.39, probably because I'd already put in place some fairly extensive firewall rules when I initially configured it (and I can't be bothered to disable them to see if I can make it vulnerable again). :-) |
OK, thank you very much, nice to know that firewall can indeed be used to block the backdoor :) |
Yup, define a service, e.g. BACKDOOR TCP port 32764-32764, then use it in a rule right at the top with action 'BLOCK always' from Any 'WAN User' and optionally Log 'Always'. That results in: iptables -t nat -L -n -v | grep 32764
|
This rule will only block this port when accessed with the WAN IP address:
It won't block accesses from within the LAN using the LAN IP address:
Which means anyone who can connect to your local area network will be able to retrieve the router credentials through this backdoor. @cowbutt, did you find a way to work around this limitation? |
I don't do NAT on my ADSL router, so the IP address of the LAN interface is the same as the IP address of the ADSL interface. Consequently, connections to 32764/tcp get blocked no matter where they come from. Not that I'd really care that much if 32764/tcp was reachable from the LAN. Others may not have such trustworthy users. :-) |
Interesting. Thanks for the clarification! |
Firmware version V1.03.39
The text was updated successfully, but these errors were encountered: