D-Link DIR-859 router contains a command execution vulnerability in the UPnP endpoint URL, /gena.cgi. Exploitation 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.
In short
CVE-2019-17621 (D-Link DIR-859 Router Command Execution) has a CVSS 3.1 base score of 9.8, rated critical. CISA added it to the Known Exploited Vulnerabilities catalog on 29 Jun 2023. The NVD records no fixed version, so follow the vendor advisory.
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.
CVSS 3.1 breakdown
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HAffected products
- D-Link Dir-818lx Firmwareall versions
- D-Link Dir-822 Firmware≤ 2.03b01 · ≤ 3.12b04
- D-Link Dir-823 Firmware≤ 1.00b06 · 1.00b06
- D-Link Dir-859 Firmware≤ 1.05b03 · 1.06b01
- D-Link Dir-865l Firmware≤ 1.07b01
- D-Link Dir-868l Firmware≤ 1.12b04 · ≤ 2.05b02
- D-Link Dir-869 Firmware≤ 1.03b02 · 1.03b02
- D-Link Dir-880l Firmware≤ 1.08b04
- D-Link Dir-885l Firmware≤ 1.12b05
- D-Link Dir-885r Firmware≤ 1.12b05
- D-Link Dir-890l Firmware≤ 1.11b01 · 1.11b01
- D-Link Dir-890r Firmware≤ 1.11b01 · 1.11b01
- D-Link Dir-895l Firmware≤ 1.12b10
- D-Link Dir-895r Firmware≤ 1.12b10
Remediation
No fixed version is recorded in the NVD data. Check the vendor advisory for the latest guidance.
Patch & vendor advisoriesReferences
- http://packetstormsecurity.com/files/156054/D-Link-DIR-859-Unauthenticated-Remote-Command-Execution.html
- https://medium.com/%40s1kr10s/d-link-dir-859-rce-unautenticated-cve-2019-17621-en-d94b47a15104
- https://medium.com/%40s1kr10s/d-link-dir-859-rce-unautenticated-cve-2019-17621-es-fad716629ff9
- https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10146
- https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10147
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-17621
- https://www.dlink.com/en/security-bulletin
- https://www.ftc.gov/system/files/documents/cases/dlink_proposed_order_and_judgment_7-2-19.pdf
Related CVEs
Exploited and critical vulnerabilities in the same product or from the same vendor.
Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.
