Patchfirst
CVE-2021-45382 KEVPublic exploit Critical · 9.8 EPSS 97.8%

D-Link Multiple Routers Remote Code Execution Vulnerability

D-Link · Multiple Routers

Summary

A remote command execution flaw exists in the DDNS function of the ncc2 binary on multiple D-Link router models, including the DIR-810L, DIR-820L/LW, DIR-826L, DIR-830L, and DIR-836L, across all hardware revisions. An unauthenticated attacker with network access can exploit it without any user interaction or special configuration to execute arbitrary OS commands on the device, and because these models are end-of-life, the flaw will not be patched.

Official description · NVD

A Remote Command Execution (RCE) vulnerability exists in all series H/W revisions D-link DIR-810L, DIR-820L/LW, DIR-826L, DIR-830L, and DIR-836L routers via the DDNS function in ncc2 binary file. Note: DIR-810L, DIR-820L, DIR-830L, DIR-826L, DIR-836L, all hardware revisions, have reached their End of Life ("EOL") /End of Service Life ("EOS") Life-Cycle and as such this issue will not be patched.

Breakdown
69.8 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
7/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

  3. What can follow

First seen exploited 43 days after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+43 days
  3. Added to CISA KEVEU database agrees+46 days

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

6 , grouped by in kill-chain order 6

Initial AccessTA0001

Exploit Public-Facing Application T1190 Medium
MITRE CTID mapping of the KEV entry · how it is exploited

This remote command execution vulnerability is exploited by an unauthenticated, remote adversary via the DDNS function in ncc2 binary file. Adversaries have leveraged this vulnerability to spread a variant of Mirai botnet called Beastmode and IZ1H9 to cause a distributed denial of service attack. In the IZ1H9 attack, once the attackers took advantage of the vulnerability, they injected the IZ1H9 payload into the device. This program included instructions to download another script from a specific web address. When this script ran, it erased records to cover up the malicious actions and then downloaded additional software designed for different types of devices. The script also changed the device's settings to block certain network connections, making it more difficult to remove the malware. After these steps, the infected device connected to a control server, waiting for instructions on which type of denial-of-service attack to carry out, such as disrupting services using various internet protocols. In the Beastmode attack, exploiting the vulnerability led to the download and execution of a script called "ddns.sh." This script then fetched the Beastmode program, which was saved and run with specific settings. These settings allowed the infected device to join a subgroup within the larger botnet, helping the attackers manage and assess the effectiveness of their exploits. Once devices were compromised by Beastmode, the botnet could be used to launch various types of denial-of-service attacks, similar to those seen in other Mirai-based botnets.

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
MITRE CTID mapping of the KEV entry · primary impact

PersistenceTA0003

Create or Modify System Process T1543 Medium also Privilege Escalation
MITRE CTID mapping of the KEV entry · follow-on activity

Stealth

Indicator Removal T1070 Medium
MITRE CTID mapping of the KEV entry · follow-on activity

Command and ControlTA0011

Application Layer Protocol T1071 Medium
MITRE CTID mapping of the KEV entry · follow-on activity

ImpactTA0040

Service Exhaustion Flood T1499.002 Medium
MITRE CTID mapping of the KEV entry · follow-on activity

Detection

0 rules for this CVE · 280 general rules for its techniques

Rules for this CVE

0 that reference CVE-2021-45382 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

General rules for this CVE’s techniques

These detect the technique in general, not this specific vulnerability.

Exploit Public-Facing ApplicationT1190149 general rules
Command and Scripting InterpreterT105995 general rules
Create or Modify System ProcessT15439 general rules
Indicator RemovalT107020 general rules
Application Layer ProtocolT10717 general rules

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

3 links, grouped by NVD tag (2 duplicates merged)
↑ ↓ chooseEnter openEsc close