{"schemaVersion":3,"id":"CVE-2014-3936","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2014-06-02T14:00:00.000Z","modified":"2024-08-06T10:57:17.947Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":10,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":10,"severity":"high","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.76555,"percentile":0.9954,"severity":"critical","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.76555},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.76555,"percentile":0.9954}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.76555,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.76555,"percentile":0.9954}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_C0D9B546A5B644EF","name":"Exploit Reference (devttys0.com)","source":"reference","url":"http://www.devttys0.com/2014/05/hacking-the-d-link-dsp-w215-smart-plug","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_FFAAEFDF679D151D","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"http://packetstormsecurity.com/files/127427/D-Link-HNAP-Request-Remote-Buffer-Overflow.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_FD5D627235A4B07E","name":"Exploit Reference (securityfocus.com)","source":"reference","url":"http://www.securityfocus.com/bid/67651","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"34064","name":"D-Link HNAP - Request Remote Buffer Overflow (Metasploit)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/34064","maturity":"weaponized","reliabilityScore":0.8,"verified":true,"type":"remote","platforms":["hardware"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"remote","platform":"hardware","file":"exploits/hardware/remote/34064.rb","codes":["CVE-2014-3936"]},"metasploit":null},{"id":"MSF_EXPLOIT_LINUX_HTTP_DLINK_HNAP_BOF","name":"D-Link HNAP Request Remote Buffer Overflow","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/linux/http/dlink_hnap_bof.rb","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/linux/http/dlink_hnap_bof","rank":"300","rankName":"normal","postAuth":false,"check":true,"stability":["unknown-stability"],"sideEffects":["unknown-side-effects"],"reliability":["unknown-reliability"]}}],"exploitCount":5,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"}],"affected":[{"vendor":"dlink","product":"dir-505l_shareport_mobile_companion","name":"dir-505l shareport mobile companion","label":"dir-505l_shareport_mobile_companion","ecosystem":null,"cpePart":"h","purl":null,"purlType":null,"versions":[{"text":"a1","noFixRecorded":false,"fixedIn":null}],"versionsText":"a1","eol":null,"hubHref":"/vendor/dlink/dir-505l_shareport_mobile_companion"},{"vendor":"dlink","product":"dir505_shareport_mobile_companion_firmware","name":"dir505 shareport mobile companion firmware","label":"dir505_shareport_mobile_companion_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≤ 1.07","noFixRecorded":false,"fixedIn":null},{"text":"a1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.07 | a1","eol":null,"hubHref":"/vendor/dlink/dir505_shareport_mobile_companion"},{"vendor":"dlink","product":"dir505l_shareport_mobile_companion_firmware","name":"dir505l shareport mobile companion firmware","label":"dir505l_shareport_mobile_companion_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≤ 1.01","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.01","eol":null,"hubHref":"/vendor/dlink/dir505l_shareport_mobile_companion"},{"vendor":"dlink","product":"dsp-w215_firmware","name":"dsp-w215 firmware","label":"dsp-w215_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≤ 1.01","noFixRecorded":false,"fixedIn":null},{"text":"a1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.01 | a1","eol":null,"hubHref":"/vendor/dlink/dsp-w215"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://securityadvisories.dlink.com/security/publication.aspx?name=SAP10027","label":"securityadvisories.dlink.com/security/publication.aspx?name=SAP10027","hostname":"securityadvisories.dlink.com","tags":["X Refsource CONFIRM","Vendor Advisory"]},{"url":"http://www.devttys0.com/2014/05/hacking-the-d-link-dsp-w215-smart-plug","label":"www.devttys0.com/2014/05/hacking-the-d-link-dsp-w215-smart-plug","hostname":"www.devttys0.com","tags":["X Refsource MISC","Exploit"]},{"url":"http://secunia.com/advisories/58728","label":"secunia.com/advisories/58728","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://packetstormsecurity.com/files/127427/D-Link-HNAP-Request-Remote-Buffer-Overflow.html","label":"packetstormsecurity.com/files/127427/D-Link-HNAP-Request-Remote-Buffer-Overflow.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","Exploit"]},{"url":"http://secunia.com/advisories/58972","label":"secunia.com/advisories/58972","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://securityadvisories.dlink.com/security/publication.aspx?name=SAP10029","label":"securityadvisories.dlink.com/security/publication.aspx?name=SAP10029","hostname":"securityadvisories.dlink.com","tags":["X Refsource CONFIRM","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/67651","label":"www.securityfocus.com/bid/67651","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Exploit"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2014-06-02T14:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T10:57:17.947Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":90,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T20:51:18.306Z","stale":false,"partial":false}}