CVE-2014-3936 Memory corruption in n/a

Critical 10.0 Published Updated

Remote attackers can execute arbitrary code on D-Link smart plugs and routers via a stack-based buffer overflow in the HNAP interface.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2014-3936?

CVE-2014-3936 is a critical memory corruption vulnerability in n/a, published on 2 Jun 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-119

Which versions are affected by CVE-2014-3936?

It affects 6 products.

Products include Dlink Dir-505l Shareport Mobile Companion, Dlink Dir505 Shareport Mobile Companion, Dlink Dir505 Shareport Mobile Companion Firmware, Dlink Dir505l Shareport Mobile Companion Firmware, Dlink Dsp-W215, Dlink Dsp-W215 Firmware.

How do I fix CVE-2014-3936?

No fix has been published for CVE-2014-3936 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2014-3936 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2014-3936 exists.

Public exploit code: 1 Metasploit module and 1 Exploit-DB entry.

Sources

Also known as GHSA-x263-j2r5-q3m7.

Is CVE-2014-3936 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free