PoC Monitor
← All CVEs
CVE-2015-2051published 23 Feb 2015 17:00 UTCData: JSON · API

D-Link DIR-645 Router

D-Link DIR-645 Router Remote Code Execution Vulnerability

Edge device · Router / network deviceknown edge product: D-Link DIR-645 Router D-Link DIR-645 Router Remote (high confidence)

The D-Link DIR-645 Wired/Wireless Router Rev. Ax with firmware 1.04b12 and earlier allows remote attackers to execute arbitrary commands via a GetDeviceSettings action to the HNAP interface.

First public PoC 97 daysafter publication · 1 Jun 2015 · Exploit-DB
Public PoCs31 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS8.8high · scored by CISA ADP · CWE-77
CISA KEV 10 Feb 20227.0 years after publication

Timeline

Days relative to CVE publication
t=0+1 y+2 y+3 y+4 y+5 y+6 yCVE published23 Feb 2015 · t = 0First public PoC1 Jun 2015 · t+97dAdded to CISA KEV10 Feb 2022 · t+7.0y

First public PoC 97 days after publication; added to CISA KEV 7.0 years after publication. First PoC: D-Link Devices - HNAP SOAPAction-Header Command Execution (Metasploit) (Exploit-DB, 1 Jun 2015).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
Walnut1337/Command-Injection-DIR-868L 28 Sep 2026 +11.6 y 1 PoC via PoC Index

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
CVE record (tagged exploit)37171unknown14 Nov 2026
Exploit-DBD-Link Devices - HNAP SOAPAction-Header Command Execution (Metasploit)1 Jun 201514 Nov 2026
MetasploitMetasploit exploit: D-Link Devices HNAP SOAPAction-Header Command Execution (exploit/linux/http/dlink_hnap_header_exec_noauth)unknown14 Nov 2026

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

GET /HNAP1/

Key headers
Soapaction: "http://purenetworks.com/HNAP1/GetDeviceSettings/; sleep 10;" Soapaction: $1
Seen in
1 repo: Walnut1337/Command-Injection-DIR-868L
Evidence
Walnut1337/Command-Injection-DIR-868L/README.md:33 Walnut1337/Command-Injection-DIR-868L/analysis/root-cause.md:81 Walnut1337/Command-Injection-DIR-868L/poc/hnap_http_poc.sh:8

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /HNAP1/
(?i)^/HNAP1/(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /HNAP1/
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2015-2051 D-Link DIR-645 Router exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/HNAP1/"; http.header; content:"Soapaction: |22|http://purenetworks.com/HNAP1/GetDeviceSettings/|3b| sleep 10|3b||22|"; nocase; http.header; content:"Soapaction: $1"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2015-2051; classtype:web-application-attack; sid:9546207; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /HNAP1/
title: D-Link DIR-645 Router exploit attempt (CVE-2015-2051)
id: gg-pocmon-cve-2015-2051-9546207
status: experimental
description: Request pattern taken from public PoCs for CVE-2015-2051. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2015-2051
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/HNAP1/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2015.2051