D-Link DIR-645 up to 1.04b12 Interface Wired/Wireless command injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
9.0$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 9.1
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Command injection
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 84086
Nessus Name: D-Link Router HNAP GetDeviceSettings Remote Command Execution
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍
TippingPoint: 🔍

Timelineinfo

02/23/2015 🔍
02/23/2015 +0 days 🔍
02/23/2015 +0 days 🔍
02/23/2015 +0 days 🔍
02/23/2015 +0 days 🔍
03/30/2015 +35 days 🔍
04/24/2015 +25 days 🔍
06/01/2015 +38 days 🔍
06/01/2015 +0 days 🔍
06/10/2015 +9 days 🔍
07/08/2015 +28 days 🔍
04/22/2026 +3941 days 🔍

Sourcesinfo

Vendor: dlink.com

Advisory: 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: 🔍

Entryinfo

Created: 03/30/2015 12:20
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!