Quantum Secular Labs / Blog / Advisories
CVE-2018-19300: By sending a GET request with specially crafted headers to the /EXCU_SHELL URI, an attacker could execute…
CVE-2018-19300 is rated critical with a CVSS v3.0 base score of 9.8 and NVD lists 9 affected products, including D Link Dap 1530 Firmware. Per its scoring, it can be exploited over the network, without authentication, without any user interaction. The scored impact on confidentiality, integrity and availability is the highest available.
Vulnerability description
On D-Link DAP-1530 (A1) before firmware version 1.06b01, DAP-1610 (A1) before firmware version 1.06b01, DWR-111 (A1) before firmware version 1.02v02, DWR-116 (A1) before firmware version 1.06b03, DWR-512 (B1) before firmware version 2.02b01, DWR-711 (A1) through firmware version 1.11, DWR-712 (B1) before firmware version 2.04b01, DWR-921 (A1) before firmware version 1.02b01, and DWR-921 (B1) before firmware version 2.03b01, there exists an EXCU_SHELL file in the web directory. By sending a GET request with specially crafted headers to the /EXCU_SHELL URI, an attacker could execute arbitrary shell commands in the root context on the affected device. Other devices might be affected as well.
Severity breakdown
CVSS v3.0 9.8: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector: Network. Exploitable remotely over the network, with no need for local or physical access.
- Attack complexity: Low. No special conditions; the attack can be repeated reliably.
- Privileges required: None. No account or prior access is needed.
- User interaction: None. No action from any user is needed.
- Scope: Unchanged. Impact stays within the vulnerable component.
- Confidentiality impact: High. Total loss of confidentiality; sensitive data can be fully disclosed.
- Integrity impact: High. Total loss of integrity; data or system state can be fully modified.
- Availability impact: High. Total loss of availability; the component can be shut down.
Underlying weakness
CWE-20: Improper Input Validation
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Affected products
- D Link Dap 1530 Firmware: up to and including 1.05
- D Link Dap 1610 Firmware: up to and including 1.05
- D-Link Dwr 111 Firmware: up to and including 1.01
- D Link Dwr 116 Firmware: 1.06 b1; 1.06 b2
- D-Link Dwr 116 Firmware: up to and including 1.05
- D-Link Dwr 512 Firmware: up to and including 2.02
- D Link Dwr 711 Firmware: up to and including 1.11
- D-Link Dwr 712 Firmware: up to and including 2.02
- D-Link Dwr 921 Firmware: up to and including 1.02; up to and including 2.02
References
- https://eu.dlink.com/de/de/support/support-news/2019/march/19/remote-command-execution-vulnerability-in-d-link-dwr-and-dap-routers
- https://community.greenbone.net/t/cve-2018-19300-remote-command-execution-vulnerability-in-d-link-dwr-and-dap-routers/1772
- https://www.greenbone.net/en/serious-vulnerability-discovered-in-d-link-routers/
- https://www.greenbone.net/schwerwiegende-sicherheitsluecke-in-d-link-routern-entdeckt/