CVE-2019-20216 Command injection in n/a
Remote attackers can execute arbitrary OS commands on D-Link DIR-859 routers via the M-SEARCH method due to improper handling of the urn parameter.
- 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-2019-20216?
CVE-2019-20216 is a critical command injection vulnerability in n/a, published on 29 Jan 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
D-Link DIR-859 1.05 and 1.06B01 Beta01 devices allow remote attackers to execute arbitrary OS commands via the urn: to the M-SEARCH method in ssdpcgi() in /htdocs/cgibin, because REMOTE_PORT is mishandled. The value of the urn: service/device is checked with the strstr function, which allows an attacker to concatenate arbitrary commands separated by shell metacharacters.
Weakness: CWE-78
Which versions are affected by CVE-2019-20216?
It affects 1 product.
Products include Dlink Dir-859 Firmware.
How do I fix CVE-2019-20216?
No fix has been published for CVE-2019-20216 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2019-20216 being exploited?
There is no known exploitation of CVE-2019-20216 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-v9mx-483f-5528.