CVE-2019-17621: D-Link DIR-859 - Command Injection
- Cve: CVE-2019-17621
- Name: D-Link DIR-859 - Command Injection
- Description: The UPnP endpoint URL /gena.cgi in the D-Link DIR-859 Wi-Fi router 1.05 and 1.06B01 Beta01 allows an Unauthenticated remote attacker to execute system commands as root, by sending a specially crafted HTTP SUBSCRIBE request to the UPnP service when connecting to the local network.
- Impact: Remote attackers can execute arbitrary system commands as root on the router, leading to complete device compromise.
- Remediation: Update to the latest firmware version provided by D-Link that addresses this vulnerability.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution, privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.90615
- Epss percentile: 0.99807
- Assignee: [email protected]
- Published at: 2019-12-30T17:15:19Z
- Age in days: 2521
- Modified at: 2026-06-17T02:24:17Z
- Patch available: yes
- Public exploits total: 5
- References total: 12
- Products total: 14
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-17621
- Nvd status: analyzed
- Checked, none or zero: nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| cisa | 2023-06-29 | 2023-07-20 | no |
| vulncheck | 2023-06-22 | — | no |
Public exploits
| Url | Source | Added date |
|---|---|---|
| http://packetstormsecurity.com/files/156054/D-Link-DIR-859-Unauthenticated-Remote-Command-Execution.html | nvd | 2019-12-30 |
| https://medium.com/%40s1kr10s/d-link-dir-859-rce-unautenticated-cve-2019-17621-en-d94b47a15104 | nvd | 2019-12-30 |
| https://github.com/Squirre17/CVE-2019-17621 | poc-in-github | 2022-07-20 |
| https://github.com/Squirre17/CVE-2019-17621.git | vulncheck-xdb | 2022-07-20 |
| https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/upnp/dlink_dir859_subscribe_exec.rb | metasploit | 2019-12-24 |
References
Products
Same in every row:
- Platform bound: yes
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| dlink:dir-868l_firmware | <= 1.12b04, <= 2.05b02 | /v1/products/dlink/dir-868l_firmware |
| dlink:dir-865l_firmware | <= 1.07b01 | /v1/products/dlink/dir-865l_firmware |
| dlink:dir-822_firmware | <= 3.12b04, <= 2.03b01 | /v1/products/dlink/dir-822_firmware |
| dlink:dir-890l_firmware | <= 1.11b01, = 1.11b01 beta01 | /v1/products/dlink/dir-890l_firmware |
| dlink:dir-880l_firmware | <= 1.08b04 | /v1/products/dlink/dir-880l_firmware |
| dlink:dir-859_firmware | <= 1.05b03, = 1.06b01 beta1 | /v1/products/dlink/dir-859_firmware |
| dlink:dir-885l_firmware | <= 1.12b05 | /v1/products/dlink/dir-885l_firmware |
| dlink:dir-895l_firmware | <= 1.12b10 | /v1/products/dlink/dir-895l_firmware |
| dlink:dir-823_firmware | <= 1.00b06, = 1.00b06 beta | /v1/products/dlink/dir-823_firmware |
| dlink:dir-869_firmware | <= 1.03b02, = 1.03b02 beta02 | /v1/products/dlink/dir-869_firmware |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited: yes
- Known exploited since: 2023-06-29
- Known exploited by: cisa, vulncheck
- Vulncheck known exploited since: 2023-06-22
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 5
- Public exploit first date: 2019-12-24
- Remote: yes
- Checked, none or zero: initial access, authentication required
- Not known: nuclei template, initial access since, hackerone reports, exposed hosts