CVE-2017-5521
KEV PoC massPassword Disclosure Flaw in NETGEAR R7000, R6400, R6700, R8500 and Other Routers
CISA: NETGEAR Multiple Devices Exposure of Sensitive Information Vulnerability
NETGEAR routers across many popular models leak the admin password through a flaw in the web management interface's password recovery flow. When a visitor cancels the login prompt and password recovery is not enabled, the router exposes a password recovery token, and requesting /passwordrecovered.cgi?id=TOKEN with that token returns the router's admin password; the flaw is reachable remotely when the remote management option is enabled, and also from the LAN or WLAN. An attacker who obtains the password gains full administrative control of the router. Owners of the affected NETGEAR models are exposed, and the flaw was added to CISA's Known Exploited Vulnerabilities catalog on 2022-09-08 with a public proof-of-concept available and an EPSS exploitation probability of ~89%, indicating active exploitation.
What to do: Apply firmware updates per NETGEAR's instructions; if an affected router has reached end-of-life, disconnect or replace it. As an interim mitigation, disable remote web management if it is not required, and note that enabling password recovery once (setting security questions) permanently blocks this exploit even if the option is later disabled. Administrators should check whether the web panel at /passwordrecovered.cgi exposes credentials when authentication is canceled.
| NETGEAR R8500 | — |
| NETGEAR R8300 | — |
| NETGEAR R7000 | — |
| NETGEAR R6400 | — |
| NETGEAR R7300 | — |
| NETGEAR R7100LG | — |
| NETGEAR R6300v2 | — |
| NETGEAR WNDR3400v3 | — |
| NETGEAR WNR3500Lv2 | — |
| NETGEAR R6250 | — |
| NETGEAR R6700 | — |
| NETGEAR R6900 | — |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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.
- Affected
- NETGEAR Multiple Devices
- Required action
- Apply updates per vendor instructions. If the affected device has since entered end-of-life, it should be disconnected if still in use.
- Due date
- Ransomware use
- Unknown
- Vendors
- netgear
- Products
- r6200 firmware, r6300 firmware, vegn2610 firmware, ac1450 firmware, wnr1000v3 firmware, wndr3700v3 firmware, wndr4000 firmware, wndr4500 firmware, d6400 firmware, d6220 firmware, d6300 firmware, d6300b firmware
- Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H