CVE-2019-17146 Memory corruption in DCS-960L

High 8.8 Published Updated

Remote attackers can execute arbitrary code as admin via stack buffer overflow in the HNAP service of D-Link cameras without authentication.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2019-17146?

CVE-2019-17146 is a high-severity memory corruption vulnerability in D-Link DCS-960L, published on 7 Jan 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

This vulnerability allows remote attackers to execute arbitrary code on affected installations of D-Link DCS-960L v1.07.102. Authentication is not required to exploit this vulnerability. The specific flaw exists within the HNAP service, which listens on TCP port 80 by default. When parsing the SOAPAction request header, the process does not properly validate the length of user-supplied data prior to copying it to a stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the admin user. Was ZDI-CAN-8458.

Weakness: CWE-306, CWE-121

Which versions are affected by CVE-2019-17146?

It affects 2 products.

Products include Dlink Dcs-935l Firmware, Dlink Dcs-960l Firmware.

How do I fix CVE-2019-17146?

No fix has been published for CVE-2019-17146 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-2019-17146 being exploited?

There is no known exploitation of CVE-2019-17146 in the wild and no public exploit code.

Sources

Also known as GHSA-wvw6-w9qq-28x5.

Is CVE-2019-17146 in your software?

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

Check your SBOMs for free