CVE-2015-2051 is a remote command injection vulnerability affecting D-Link DIR-645 Wired/Wireless Router Rev. Ax devices running firmware 1.04b12 and earlier. The flaw is exposed through the HNAP interface and can be triggered via the GetDeviceSettings action. Multiple reports characterize the issue as abuse of the HNAP SOAPAction handling that results in blind OS command injection, allowing attacker-supplied input to be interpreted by the underlying operating system. Because the vulnerable functionality is reachable remotely through the router’s management interface, successful exploitation can lead directly to arbitrary command execution on the device.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a single Metasploit module (Ruby file) that exploits a command injection vulnerability (CVE-2015-2051) in the HNAP SOAP interface of various D-Link and TRENDnet routers. The exploit works by sending a specially crafted HTTP GET request to the /HNAP1/ endpoint, injecting shell commands into the SOAPAction HTTP header. The module uses Metasploit's CmdStager to deliver and execute arbitrary shell commands on the target device, achieving remote code execution as root without authentication. The module supports both MIPS Little Endian and Big Endian architectures, targeting a range of affected router models. The code is operational and leverages Metasploit's framework for payload delivery and session management. The only file present is the exploit module itself, written in Ruby, and it is structured according to Metasploit conventions.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
21 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A vulnerability in D-Link devices that is explicitly targeted by the C0XMO scanner as part of its HTTP exploitation module.
A command execution vulnerability in D-Link devices via the HNAP SOAPAction header, included in the C0XMO exploit toolkit.
A D-Link devices HNAP SOAPAction header command execution vulnerability included among the HTTP-based exploits used by the scanner for initial access.
A D-Link HNAP SOAPAction header command execution vulnerability included among the scanner's HTTP-based exploitation capabilities for initial access.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.