{"schemaVersion":3,"id":"CVE-2019-20215","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"D-Link DIR-859 1.05 and 1.06B01 Beta01 devices allow remote attackers to execute arbitrary OS commands via a urn: to the M-SEARCH method in ssdpcgi() in /htdocs/cgibin, because HTTP_ST 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.","dates":{"published":"2020-01-29T02:23:26.000Z","modified":"2024-08-05T02:39:09.180Z","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":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"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.75105,"percentile":0.99507,"severity":"critical","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.75105},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.75105,"percentile":0.99507}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.75105,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.75105,"percentile":0.99507}]},"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":"48037","name":"D-Link Devices - Unauthenticated Remote Command Execution in ssdpcgi (Metasploit)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/48037","maturity":"weaponized","reliabilityScore":0.8,"verified":true,"type":"remote","platforms":["linux_mips"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"remote","platform":"linux_mips","file":"exploits/linux_mips/remote/48037.rb","codes":["CVE-2019-20215"]},"metasploit":null},{"id":"MSF_EXPLOIT_LINUX_UPNP_DLINK_DIR859_EXEC_SSDPCGI","name":"D-Link Devices Unauthenticated Remote Command Execution in ssdpcgi","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/linux/upnp/dlink_dir859_exec_ssdpcgi.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/linux/upnp/dlink_dir859_exec_ssdpcgi","rank":"600","rankName":"excellent","postAuth":false,"check":false,"stability":["crash-safe"],"sideEffects":["ioc-in-logs","artifacts-on-disk"],"reliability":["repeatable-session"]}},{"id":"MSF_EXPLOIT_LINUX_UPNP_DLINK_UPNP_MSEARCH_EXEC","name":"D-Link Unauthenticated Remote Command Execution using UPnP via a special crafted M-SEARCH packet.","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/linux/upnp/dlink_upnp_msearch_exec.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/linux/upnp/dlink_upnp_msearch_exec","rank":"600","rankName":"excellent","postAuth":false,"check":true,"stability":["crash-safe"],"sideEffects":["ioc-in-logs","artifacts-on-disk"],"reliability":["repeatable-session"]}}],"exploitCount":3,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"dlink","product":"dir-859_firmware","name":"dir-859 firmware","label":"dir-859_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"1.05","noFixRecorded":false,"fixedIn":null},{"text":"1.06b01:beta01","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.05 | 1.06b01:beta01","eol":null,"hubHref":"/vendor/dlink/dir-859"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10147","label":"supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10147","hostname":"supportannouncement.us.dlink.com","tags":["X Refsource CONFIRM","Patch","Vendor Advisory"]},{"url":"https://medium.com/%40s1kr10s/d-link-dir-859-unauthenticated-rce-in-ssdpcgi-http-st-cve-2019-20215-en-2e799acb8a73","label":"medium.com/%40s1kr10s/…","hostname":"medium.com","tags":["X Refsource MISC"]},{"url":"http://packetstormsecurity.com/files/156250/D-Link-ssdpcgi-Unauthenticated-Remote-Command-Execution.html","label":"packetstormsecurity.com/files/156250/D-Link-ssdpcgi-Unauthenticated-Remote-Command-Execution.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2020-01-29T02:23:26.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T02:39:09.180Z","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-20T13:08:42.591Z","stale":false,"partial":false}}