CVE-2019-20216: OS Command Injection
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 REMOTEPORT 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.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2019-20216?
The severity of CVE-2019-20216 is critical with a CVSS score of 9.8 out of 10.
How can remote attackers exploit CVE-2019-20216?
Remote attackers can exploit CVE-2019-20216 by sending a specially-crafted request to the ssdpcgi() function in /htdocs/cgibin using the M-SEARCH method.
Which D-Link devices are affected by CVE-2019-20216?
D-Link DIR-859 firmware versions 1.05 and 1.06B01 Beta01 are affected by CVE-2019-20216.
Is there a fix available for CVE-2019-20216?
Yes, D-Link has released a security announcement with instructions on how to mitigate the vulnerability. It is recommended to update to the latest firmware version.
What is the Common Weakness Enumeration (CWE) ID for CVE-2019-20216?
The CWE ID for CVE-2019-20216 is 78, which indicates Improper Neutralization of Special Elements used in an OS Command (OS Command Injection).