← Vulnerability feed

Vulnerability record · CVE-2014-3936 · published 2 June 2014

CVE-2014-3936: D-Link HNAP CGI stack buffer overflow in do_hnap

Dlink · Dir505 Shareport Mobile Companion Firmware

A stack-based buffer overflow exists in the do_hnap function of www/my_cgi.cgi on D-Link DSP-W215 (Rev. A1) firmware 1.01b06 and earlier, DIR-505 firmware before 1.08b10, and DIR-505L firmware 1.01 and earlier. A long Content-Length header in a GetDeviceSettings HNAP request overflows the stack, allowing remote code execution. The flaw is remotely reachable and unauthenticated, making it serious for exposed devices.

10.0 CVSS 2.0 High EPSS 77% · top 0.5% CWE-119 · Memory buffer overflow
10.0CVSS 2.0 base score
77%EPSS exploitation probability, 30 days
NoNot in CISA KEV
6Affected product versions listed by NVD
14References, 6 tagged exploit
17 Jun 2026Last modified by NVD

Description

Stack-based buffer overflow in the do_hnap function in www/my_cgi.cgi in D-Link DSP-W215 (Rev. A1) with firmware 1.01b06 and earlier, DIR-505 with firmware before 1.08b10, and DIR-505L with firmware 1.01 and earlier allows remote attackers to execute arbitrary code via a long Content-Length header in a GetDeviceSettings action in an HNAP request.

AV:N/AC:L/Au:N/C:C/I:C/A:C

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

critical priorityUnauthenticated remote code execution with a CVSS 2.0 base score of 10 and public exploit references, though the affected devices are older and may be less common.

What it is

A stack-based buffer overflow exists in the do_hnap function of www/my_cgi.cgi on D-Link DSP-W215 (Rev. A1) firmware 1.01b06 and earlier, DIR-505 firmware before 1.08b10, and DIR-505L firmware 1.01 and earlier. A long Content-Length header in a GetDeviceSettings HNAP request overflows the stack, allowing remote code execution. The flaw is remotely reachable and unauthenticated, making it serious for exposed devices.

Impact

An attacker can execute arbitrary code on the device, gaining full control of confidentiality, integrity and availability as reflected by the CVSS 2.0 score of 10. This can lead to device takeover and use as a foothold on the network.

Attack surface

Reachable over the network via an HNAP request to the device's CGI handler; the vector AV:N/AC:L/Au:N indicates no authentication and no user interaction are required. The attacker only needs to send a crafted GetDeviceSettings action with an oversized Content-Length header.

Exploitation

Not listed in CISA KEV, but EPSS is very high at 0.766 (99.5th percentile) and multiple references are tagged Exploit, including public write-ups and Packet Storm. This indicates public exploit code and active interest, though no confirmed in-the-wild campaign is stated in the record.

What to do

  • Apply the vendor firmware updates referenced in D-Link advisories SAP10027 and SAP10029 (DIR-505 to 1.08b10 or later; check D-Link for DSP-W215 and DIR-505L fixes).
  • If patching is not possible, remove or isolate affected devices from untrusted networks and disable remote/WAN management.
  • Restrict access to the device web/HNAP interface to trusted management networks only.
  • Replace end-of-life devices that no longer receive firmware updates.
  • Monitor vendor advisories for updated firmware for the DSP-W215 and DIR-505L models.

Detection

  • Inspect HTTP requests to the device CGI for HNAP GetDeviceSettings actions with abnormally large Content-Length values.
  • Monitor device logs or network traffic for crashes, reboots or unexpected process restarts on affected D-Link models.
  • Alert on outbound connections from these devices to unknown hosts, which may indicate post-exploitation.
  • Use network segmentation monitoring to flag management-interface access from unexpected source addresses.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

6 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2014-3936 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.3CVE-2013-4772Dlink dir-826l wireless n600 cloud router firmware improper authentication vulnerabilityD-Link DIR-505L SharePort Mobile Companion 1.01 and DIR-826L Wireless N600 Cloud Router 1.02 allows remote attackers to bypass authentication via a d…EPSS 4.2%8.8CVE-2026-8452Citrix NetScaler ADC and Gateway memory buffer overflow causes DoSCVE-2026-8452 is a memory buffer overflow (CWE-119) in Citrix NetScaler ADC and NetScaler Gateway that leads to unpredictable or erroneous behavior a…KEVEPSS 1.0%analysed8.8CVE-2009-3459Adobe Reader and Acrobat heap buffer overflow via crafted PDFAdobe Reader and Acrobat 7.x before 7.1.4, 8.x before 8.1.7, and 9.x before 9.2 contain a heap-based buffer overflow (CWE-122) triggered by a crafted…KEVEPSS 87%analysed9.8CVE-2008-4250Microsoft Windows Server service RPC path canonicalization buffer overflowThe Server service in multiple Windows versions fails to properly handle path canonicalization, allowing a crafted RPC request to overflow a buffer a…KEVEPSS 99%analysed8.8CVE-2025-31277Apple WebKit memory corruption via malicious web contentApple WebKit fails to handle memory correctly when processing crafted web content, leading to memory corruption across Safari, iOS, iPadOS, macOS, tv…KEVEPSS 1.6%analysed8.8CVE-2026-3910Google Chrome V8 improper implementation allows sandbox code executionChrome before 146.0.7680.75 contains an inappropriate implementation in the V8 JavaScript engine, classified as code injection and memory buffer over…KEVEPSS 1.0%analysed8.8CVE-2008-0015Microsoft DirectShow Video ActiveX Control Stack Buffer OverflowA stack-based buffer overflow in the CComVariant::ReadFromStream function in the Active Template Library (ATL) is reachable through the MPEG2TuneRequ…KEVEPSS 77%analysed7.8CVE-2026-20700Apple OS memory corruption allows arbitrary code executionA memory corruption flaw caused by improper state management affects iOS, iPadOS, macOS, tvOS, visionOS and watchOS. Apple states it is aware of a re…KEVEPSS 1.3%analysed

Source: NIST National Vulnerability Database (record CVE-2014-3936), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.