CVE-2017-5521: NETGEAR Multiple Devices · Information disclosure
Exploitation: In the wild · CVSS 8.1 High · Unauthenticated · Published 2017-01-17
Description
An issue was discovered on NETGEAR R8500, R8300, R7000, R6400, R7300, R7100LG, R6300v2, WNDR3400v3, WNR3500Lv2, R6250, R6700, R6900, and R8000 devices. They are prone to password disclosure via simple crafted requests to the web management server. The bug is exploitable remotely if the remote management option is set, and can also be exploited given access to the router over LAN or WLAN. When trying to access the web panel, a user is asked to authenticate; if the authentication is canceled and password recovery is not enabled, the user is redirected to a page that exposes a password recovery token. If a user supplies the correct token to the page /passwordrecovered.cgi?id=TOKEN (and password recovery is not enabled), they will receive the admin password for the router. If password recovery is set the exploit will fail, as it will ask the user for the recovery questions that were previously set when enabling that feature. This is persistent (even after disabling the recovery option, the exploit will fail) because the router will ask for the security questions.
Enclave's analysis
Several NETGEAR routers leak the admin password through the web management server. An attacker cancels the login prompt, grabs a recovery token from the redirect page, then requests the password recovery page with that token. No login is needed, and routers without security questions set are affected. Public exploit code exists and CISA lists it as actively exploited. Patch with vendor firmware, or retire end-of-life units and turn off remote management.
Fix
Apply updates per vendor instructions.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| NETGEAR R8500, R8300, R7000, R6400, R7300, R7100LG, R6300v2, WNDR3400v3, WNR3500Lv2, R6250, R6700, R6900, R8000 | No version ranges given by the CNA; firmware versions not specified | Not listed |
| NETGEAR R6200, R6300, VEGN2610, AC1450, WNR1000v3, WNDR3700v3, WNDR4000, WNDR4500 (NVD CPE list, truncated in the retrieved record) | R6200 1.0.1.56_1.0.43; R6300 1.0.2.78_1.0.58; VEGN2610 1.0.0.36; AC1450 1.0.0.34_10.0.16; WNR1000v3 1.0.2.68_60.0.93; WNDR3700v3 1.0.0.40_1.0.32; WNDR4000 1.0.2.4_9.1.86; WNDR4500 1.0.1.44_1.0.73 | Not listed |