Security Advisory

CVE-2017-5521: NETGEAR Router Admin Password Disclosure

Last updated:
  • CVE-2017-5521

CVE-2017-5521 is an authentication bypass in many NETGEAR routers: with password recovery turned off, the web interface reveals a token and then the admin password through passwordrecovered.cgi. NVD scores it 8.1 and CISA KEV lists it. NETGEAR has firmware fixes for most models; for the rest, enable password recovery and keep remote management off.

Vulnerability summary

CVSS base score

8.1

High severity

EPSS score (FIRST)

89.4%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2017-5521 · Source: NVD

Affected components

ComponentCPEVersion range
NETGEAR routers with firmware fixes: R8500, R8300, R7000, R6400, R7300DST, R7100LG, R6300v2, WNDR3400v3, WNR3500Lv2, R6250, R6700, R6900, R8000, R7900, WNDR4500v2, R6200v2, WNDR3400v2, D6220 and D6400—Fixed firmware per NETGEAR's linked release pages, for example R7000 1.0.7.10, R6400 1.0.1.20, R8000 1.0.3.36, R8300 and R8500 1.0.2.86, WNR3500Lv2 1.2.0.38
NETGEAR C6300 cable modem router—Fixed in 2.01.18, delivered through the internet service provider (NETGEAR)
NETGEAR models with a workaround only: R6200, R6300, VEGN2610, AC1450, WNR1000v3, WNDR3700v3, WNDR4000, WNDR4500, D6300, D6300B, DGN2200Bv4 and DGN2200v4cpe:2.3:o:netgear:r6200_firmware:1.0.1.56_1.0.43:*:*:*:*:*:*:*NVD CPEs list single builds (e.g. R6200 1.0.1.56_1.0.43, D6300 1.0.0.96, DGN2200Bv4 1.0.0.68); NETGEAR's remedy: enable password recovery and keep remote management off

What does this mean for affected devices?

NVD's description: NETGEAR routers "are prone to password disclosure via simple crafted requests to the web management server". If a visitor cancels the login prompt and password recovery is not enabled, the router shows a page that exposes a recovery token; supplying that token to /passwordrecovered.cgi returns the admin password. If password recovery is set, the attack fails. It works over the LAN or WLAN, and from the internet when remote management is on. NVD's Primary score is CVSS v3.1 8.1 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) and NVD CVSS v2 4.3; CISA ADP gives the same 8.1. NVD records no specific CWE (NVD-CWE-noinfo); KEV lists CWE-200, information exposure. MITRE is the CNA; the record was published on 2017-01-17 (NVD, CVE record).

Who found it?

Simon Kenin of Trustwave SpiderLabs describes the discovery: he reported two password disclosure bugs to NETGEAR in April 2016 and found that the token check could be skipped entirely on the first request, which made the bug work on many more models. Trustwave found more than ten thousand vulnerable devices reachable from the internet and noted that the Lenovo R3220, which runs NETGEAR firmware, was also vulnerable.

Which NETGEAR models are fixed?

NETGEAR's knowledge base article 30632 lists firmware fixes for R8500, R8300, R7000, R6400, R7300DST, R7100LG, R6300v2, WNDR3400v3, WNR3500Lv2, R6250, R6700, R6900, R8000, R7900, WNDR4500v2, R6200v2, WNDR3400v2, D6220 and D6400. Its linked release pages include R7000 1.0.7.10, R6400 1.0.1.20, R8000 1.0.3.36 and R8300/R8500 1.0.2.86. The C6300 cable router is fixed in 2.01.18, which the internet service provider delivers. NETGEAR tested the V6510 and found it not affected. For the R6200, R6300, VEGN2610, AC1450, WNR1000v3, WNDR3700v3, WNDR4000, WNDR4500, D6300, D6300B, DGN2200Bv4 and DGN2200v4, NETGEAR gives a two-step workaround instead: turn on password recovery, and keep remote management disabled (the default). NETGEAR says the exposure remains unless both steps are done. NVD's CPE configuration covers only this workaround list, at single firmware builds, so a CPE match will not flag a fixable R7000 or R8000 on old firmware; check the model against NETGEAR's list.

Is CVE-2017-5521 exploited?

Yes. CISA added it to the KEV catalog on 2022-09-08 with the 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 2022-09-29; known ransomware campaign use: Unknown); it is still listed as of 2026-11-24 in catalog version 2026.11.23 (CISA KEV). FIRST EPSS gives 0.89353, the 99.79th percentile, in the 2026-11-23 dataset (FIRST EPSS). A leaked admin password opens the rest of the web interface, and several of the same models carry the command injection CVE-2016-6277. Keep router admin pages off the internet, as the CISA BOD 23-02 guide explains.

How to fix this class of issueNo dedicated SoftWSP guide covers this weakness class; the fix is usually the vendor patch or firmware update referenced above. Our related guide explains how to plan and verify it: NIST SP 800-40 Rev. 4: enterprise patch management planning, explained.

Evidence

  • NVD: R8500, R8300, R7000, R6400, R7300, R7100LG, R6300v2, WNDR3400v3, WNR3500Lv2, R6250, R6700, R6900, R8000 prone to password disclosure via passwordrecovered.cgi token when password recovery not enabled; exploitable remotely with remote management, or via LAN/WLAN; Primary CVSS v3.1 8.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, Primary CVSS v2 4.3; CISA ADP 8.1; CWE NVD-CWE-noinfo; 13 CPEs at single builds (R6200, R6300, VEGN2610, AC1450, WNR1000v3, WNDR3700v3, WNDR4000, WNDR4500, D6400, D6220, D6300, D6300B, DGN2200Bv4); published 2017-01-17; read 2026-11-24. — NVD
  • NETGEAR KB 30632: web GUI password exposure while password recovery disabled; needs internal network or remote management (off by default); firmware fixes for 19 listed models; C6300 fixed in 2.01.18 via ISPs; V6510 not affected; workaround (enable password recovery, disable remote management) for R6200, R6300, VEGN2610, AC1450, WNR1000v3, WNDR3700v3, WNDR4000, WNDR4500, D6300, D6300B, DGN2200Bv4, DGN2200v4; linked release pages incl. R7000 1.0.7.10, R6400 1.0.1.20, R8000 1.0.3.36, R8300 1.0.2.86, R8500 1.0.2.86, WNR3500Lv2 1.2.0.38. — NETGEAR
  • Trustwave SpiderLabs (Simon Kenin, 2017-01-30): CVE-2017-5521 / TWSL2017-003; reported to NETGEAR April 2016; first call to passwordrecovered.cgi gives credentials regardless of parameter; more than ten thousand remotely accessible vulnerable devices; Lenovo R3220 also vulnerable. — Trustwave SpiderLabs
  • CVE record: PUBLISHED, CNA MITRE, published 2017-01-17; CISA ADP CVSS 3.1 8.1. — CVE.org
  • KEV catalog 2026.11.23: dateAdded 2022-09-08, due 2022-09-29, 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.', knownRansomwareCampaignUse Unknown, CWE-200; checked 2026-11-24. — CISA KEV
  • EPSS 0.89353, percentile 0.99788, dataset 2026-11-23, read 2026-11-24. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. NETGEAR: Web GUI Password Recovery and Exposure Security Vulnerability
  3. Trustwave SpiderLabs: CVE-2017-5521, bypassing authentication on NETGEAR routers
  4. CVE.org record CVE-2017-5521 (CNA: MITRE)
  5. CISA KEV
  6. FIRST EPSS

Frequently asked questions

Which NETGEAR routers have a fix for CVE-2017-5521?

NETGEAR lists firmware fixes for the R8500, R8300, R7000, R6400, R7300DST, R7100LG, R6300v2, WNDR3400v3, WNR3500Lv2, R6250, R6700, R6900, R8000, R7900, WNDR4500v2, R6200v2, WNDR3400v2, D6220 and D6400, and firmware 2.01.18 for the C6300 cable router through internet service providers (per NETGEAR knowledge base article 30632).

What if my NETGEAR model has no firmware fix?

For the R6200, R6300, VEGN2610, AC1450, WNR1000v3, WNDR3700v3, WNDR4000, WNDR4500, D6300, D6300B, DGN2200Bv4 and DGN2200v4, NETGEAR's workaround is to turn on password recovery and keep remote management disabled. NETGEAR says the password exposure remains unless both steps are done (per NETGEAR knowledge base article 30632).

Can CVE-2017-5521 be exploited from the internet?

Only when remote management is turned on, which is off by default; otherwise the attacker needs LAN or Wi-Fi access. Trustwave found more than ten thousand vulnerable routers reachable from the internet in 2017 (per NVD, NETGEAR and Trustwave SpiderLabs).

Is CVE-2017-5521 exploited in the wild?

Yes. CISA added it to the KEV catalog on 2022-09-08, and it is listed as of 2026-11-24 in catalog version 2026.11.23 with ransomware use marked Unknown. FIRST EPSS gives 0.89353, the 99.79th percentile, in the 2026-11-23 dataset (per CISA KEV and FIRST EPSS).