Like many people, I was affected by the recently disclosed CERT VU#582384 that affects Netgear R7000 (“Nighthawk”) and R6400 routers. As Netgear haven’t bothered to publish a quick patch for this gaping hole in their devices, I looked for a simple fix myself. This posts discusses the simple one-step process and the details. Depending on your tech skills, this will take you anywhere between five seconds and one minute.
Update 13/12/2016: months after first having been notified of this problems, and four days after wide-spread media attention, Netgear has finally released beta firmwares to fix this vulnerability for the R6400, R7000, and R8000. More info here: http://kb.netgear.com/000036386/CVE-2016-582384.
Only continue reading if there is no beta firmware available for your device
This fix for the CERT VU#582384 vulnerability actually employs the vulnerability itself to forcefully stop the web server that is at the core of the vulnerability. This unfortunately means that (1) this fix will only work until you reboot (i.e., switch off/on) your router, and (2) you won’t be able to access your router’s settings panel via your web browser. On the plus side: none of the instructions below will make any permanent changes to your router configuration. Hopefully Netgear will soon come with a real fix for this issue.
- (optional) verify that your router is affected by going to this URL:
If that shows you anything but an error (or an empty page): you’re affected. If you’re unsure: please read the detailed explanation below.
- Point your browser to the following URL to terminate the web server process (which facilitates the vulnerability) on your router:
- (optional) verify that the URL in step (1) is no longer accessible
Wherever I write
[router-address] in an URL, you should replace that with the actual address of your router. For many people the magic word
routerlogin.net will work. If that doesn’t work: it’s typically that’s something like
192.168.0.1. If you’re on Mac or Linux, you can find this out by typing ‘route -n’ in a console (terminal) window. That will show you a table ‐ look for the value in the
Gateway column that belongs to
0.0.0.0 like in the picture below:
Step 1 (optional): verify you’re vulnerable
Open your browser and visit the following address:
(For most people, this URL will work: http://www.routerlogin.net/cgi-bin/;uname$IFS-a)
If a web page appears (which is not an error): you’re vulnerable. In my case, the page contains a text that starts with:
Linux R7000 126.96.36.199brcmarm+ (...).
Step 2: terminate the web server process on your router
This is when you actually need to exploit the vulnerability in the router to simply terminate the web server process (which facilitates the remote vulnerability) on the router. Point your browser to the following URL:
(For most people, this URL will work: http://www.routerlogin.net/cgi-bin/;killall$IFS’httpd’)
This will very likely give you a ‘web server not available’ error, but it will have stopped (killed) the web server process. This means that it is now impossible to exploit the vulnerability. Note that it is now also impossible to use the web configuration interface of your router (until you next turn it off and on again). You can double-check whether you’re vulnerable by checking the URL in step 1.
You are now safe from the CERT VU#582384 vulnerability. But don’t forget: after turning your router off and on again (or a power cut!), the web server process will start again, and you will be vulnerable again!
Did this fix help you?
Did this fix save you from being hacked? Please consider buying me a coffee, and do say hi on Twitter.
List of affected devices
The list of affected devices seems to be growing. These are the devices I’ve heard about:
- R6250 (AC1600): confirmed by Netgear 
- R6400 (AC1750): confirmed by Netgear 
- R6700 Nighthawk (AC1750): confirmed by Netgear 
- R7000 Nighthawk (AC1900, AC2300): confirmed (by myself and Netgear )
- R7100LG Nighthawk: confirmed by Netgear )
- R7500 Nighthawk X4 (AC2350): confirmed  and Netgear 
- R7800 Nighthawk X4S(AC2600): confirmed , not by Netgear 
- R7900 Nighthawk: confirmed by Netgear 
- R8000 Nighthawk (AC3200): confirmed by Netgear 
- R8500 Nighthawk X8 (AC5300): confirmed , not by Netgear 
- R9000 Nighthawk X10 (AD7200): confirmed , not by Netgear 
It appears that most custom firmwares (e.g. AdvancedTomato) are not vulnerable. If you want to be sure: just check step 1! If you have more information, please let me know in the comments below. I’ve had at least one report of a user who experienced that the French version of his firmware was unaffected (R7000, v188.8.131.52_1.1.93), but the English version was in fact vulnerable.
 Cernegie Mellon University CERT Vulnerability Notes Database: VU #582384
 Kalypto (In)Security: NetGear Vulnerability Expanded
 Netgear: Security Advisory for VU 582384 (last version seen: 13/12/2016 12:00 noon GMT)
(I’ve closed the comments now Netgear have released a (beta) firmware to resolve this vulnerability. If you really need to contact me, come and find me on Twitter)