D-Link DIR-645 up to 1.04b12 Interface Wired/Wireless command injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 9.0 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in D-Link DIR-645 up to 1.04b12. This affects an unknown function of the file Wired/Wireless of the component Interface. The manipulation results in command injection. This vulnerability is known as CVE-2015-2051. Furthermore, an exploit is available. The affected component should be upgraded.
Details
A vulnerability, which was classified as very critical, was found in D-Link DIR-645 up to 1.04b12 (Router Operating System). Affected is an unknown part of the file Wired/Wireless of the component Interface. The manipulation with an unknown input leads to a command injection vulnerability. CWE is classifying the issue as CWE-77. The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
The D-Link DIR-645 Wired/Wireless Router Rev. Ax with firmware 1.04b12 and earlier allows remote attackers to execute arbitrary commands via a GetDeviceSettings action to the HNAP interface.
The weakness was published 02/23/2015 (Website). The advisory is shared for download at securityadvisories.dlink.com. This vulnerability is traded as CVE-2015-2051 since 02/23/2015. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details and a public exploit are known. The current price for an exploit might be approx. USD $0-$5k (estimation calculated on 04/22/2026). The MITRE ATT&CK project declares the attack technique as T1202.
A public exploit has been developed by Metasploit in Ruby and been published 4 months after the advisory. The exploit is shared for download at securityfocus.com. It is declared as attacked. As 0-day the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 84086 (D-Link Router HNAP GetDeviceSettings Remote Command Execution), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses and running in the context r. The Nessus plugin is testing the existence of the vulnerability with the following NASL code:
res = http_send_recv3(
method : "POST",
item : dir,
port : port,
add_headers : make_array(
"Content-Length", '1\r\n' +
"SOAPAction:http://purenetworks.com/HNAP1/GetDeviceSettings/1;" + exploit_command + ';'
)
);
# This is used in the report later
exploit_request = http_last_sent_request();
# Check if the file was uploaded successfully
res = NULL;
res = http_send_recv3(
method: "GET",
item: dir + file,
port: port,
exit_on_fail:TRUE
);This issue was added on 02/10/2022 to the CISA Known Exploited Vulnerabilities Catalog with a due date of 08/10/2022:The impacted product is end-of-life and should be disconnected if still in use.Upgrading eliminates this vulnerability. A possible mitigation has been published 3 months after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 20005.
The vulnerability is also documented in the databases at Exploit-DB (37171), Tenable (84086), SecurityFocus (BID 74870†) and Vulnerability Center (SBV-51046†). Similar entry is available at VDB-74281. VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.dlink.com/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 9.1VulDB Meta Temp Score: 9.0
VulDB Base Score: 9.8
VulDB Temp Score: 9.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.8
NVD Vector: 🔍
CNA Base Score: 8.8
CNA Vector: 🔍
ADP CISA Base Score: 8.8
ADP CISA Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Command injectionCWE: CWE-77 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Attacked
Author: Metasploit
Programming Language: 🔍
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
KEV Added: 🔍
KEV Due: 🔍
KEV Remediation: 🔍
KEV Ransomware: 🔍
KEV Notice: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 84086
Nessus Name: D-Link Router HNAP GetDeviceSettings Remote Command Execution
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍
TippingPoint: 🔍
Timeline
02/23/2015 🔍02/23/2015 🔍
02/23/2015 🔍
02/23/2015 🔍
02/23/2015 🔍
03/30/2015 🔍
04/24/2015 🔍
06/01/2015 🔍
06/01/2015 🔍
06/10/2015 🔍
07/08/2015 🔍
04/22/2026 🔍
Sources
Vendor: dlink.comAdvisory: securityadvisories.dlink.com
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2015-2051 (🔍)
GCVE (CVE): GCVE-0-2015-2051
GCVE (VulDB): GCVE-100-74280
SecurityFocus: 74870 - D-Link DIR-645 Router Series CVE-2015-2051 Remote Arbitrary Command Execution Vulnerability
Vulnerability Center: 51046 - D-Link DIR-645 with Firmware <=1.04b12 Remote Code Execution via a GetDeviceSettings Action, Critical
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 03/30/2015 12:20Updated: 04/22/2026 21:46
Changes: 03/30/2015 12:20 (68), 11/05/2018 08:19 (14), 04/22/2024 19:24 (29), 07/03/2024 04:27 (12), 07/24/2024 18:25 (11), 09/09/2024 22:29 (2), 04/22/2026 21:46 (13)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.