{
  "id": "CVE-2015-2051",
  "url": "https://poc.griffinguard.io/cve/CVE-2015-2051",
  "published_at": "2015-02-23T17:00:00Z",
  "title": "D-Link DIR-645 Router Remote Code Execution Vulnerability",
  "vendor": "D-Link",
  "product": "DIR-645 Router",
  "cvss": {
    "score": 8.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2022-02-10",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 2544
  },
  "first_poc": {
    "created_at": "2015-06-01T00:00:00Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 97.3,
    "source": "exploitdb",
    "url": "https://www.exploit-db.com/exploits/37171"
  },
  "poc_repo_count": 1,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": {
    "category": "Router / network device",
    "confidence": "high",
    "reason": "known edge product: D-Link DIR-645 Router D-Link DIR-645 Router Remote"
  },
  "description": "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.",
  "cwe": "CWE-77",
  "cvss_by_source": {
    "cisa-adp": 8.8
  },
  "repos": [
    {
      "repo": "Walnut1337/Command-Injection-DIR-868L",
      "url": "https://github.com/Walnut1337/Command-Injection-DIR-868L",
      "created_at": "2026-09-28T06:58:24Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-01-10T04:07:35Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/37171/",
      "source": "cvelist",
      "title": "37171",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/37171",
      "source": "exploitdb",
      "title": "D-Link Devices - HNAP SOAPAction-Header Command Execution (Metasploit)",
      "published_at": "2015-06-01T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/dlink_hnap_header_exec_noauth.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: D-Link Devices HNAP SOAPAction-Header Command Execution (exploit/linux/http/dlink_hnap_header_exec_noauth)",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/HNAP1/",
      "headers": [
        {
          "name": "Soapaction",
          "value": "\"http://purenetworks.com/HNAP1/GetDeviceSettings/; sleep 10;\""
        },
        {
          "name": "Soapaction",
          "value": "$1"
        }
      ],
      "protocol": "http",
      "repos": [
        "Walnut1337/Command-Injection-DIR-868L"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "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"
      ]
    }
  ],
  "rules": []
}
