Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2021-45382

CVE-2021-45382: D-Link DIR-820L Firmware RCE Vulnerability

CVE-2021-45382 is a remote code execution vulnerability affecting D-Link DIR-820L and multiple router models via the DDNS function. This article covers technical details, affected hardware revisions, security impact, and mitigation.

Published: February 25, 2026

CVE-2021-45382 Overview

A Remote Command Execution (RCE) vulnerability exists in multiple D-Link router models via the DDNS (Dynamic DNS) function in the ncc2 binary file. This critical firmware vulnerability allows unauthenticated remote attackers to execute arbitrary commands on affected devices over the network. The vulnerability impacts all hardware revisions of the DIR-810L, DIR-820L/LW, DIR-826L, DIR-830L, and DIR-836L router series.

Critically, D-Link has confirmed that all affected products have reached their End of Life (EOL) and End of Service Life (EOS) status, meaning no security patches will be released to address this vulnerability. This makes immediate device replacement the only viable remediation strategy.

Critical Impact

This actively exploited vulnerability allows unauthenticated attackers to gain complete control over affected routers. With no patch available due to EOL status and active exploitation confirmed by CISA, organizations must immediately replace vulnerable devices.

Affected Products

  • D-Link DIR-810L (all hardware revisions) - Firmware and Hardware
  • D-Link DIR-820L (all hardware revisions) - Firmware and Hardware
  • D-Link DIR-820LW (all hardware revisions) - Firmware and Hardware
  • D-Link DIR-826L (all hardware revisions) - Firmware and Hardware
  • D-Link DIR-830L (all hardware revisions) - Firmware and Hardware
  • D-Link DIR-836L (all hardware revisions) - Firmware and Hardware

Discovery Timeline

  • 2022-02-17 - CVE-2021-45382 published to NVD
  • 2025-11-10 - Last updated in NVD database

Technical Details for CVE-2021-45382

Vulnerability Analysis

CVE-2021-45382 is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command), commonly known as OS Command Injection. The vulnerability resides in the DDNS (Dynamic DNS) configuration functionality implemented within the ncc2 binary file on affected D-Link routers.

The DDNS feature is designed to allow users to associate a dynamic IP address with a hostname. However, the implementation in the ncc2 binary fails to properly sanitize user-supplied input before passing it to system command execution functions. This allows an attacker to inject arbitrary shell commands that will be executed with the privileges of the ncc2 process, typically running as root on these embedded devices.

The network-accessible nature of this vulnerability, combined with no authentication requirements, makes it trivially exploitable by remote attackers. Once exploited, attackers gain complete control over the router, enabling them to intercept traffic, pivot to internal networks, deploy persistent malware, or enroll the device into botnets.

This vulnerability has been added to CISA's Known Exploited Vulnerabilities (KEV) catalog, confirming active exploitation in the wild.

Root Cause

The root cause is improper input validation and sanitization in the DDNS configuration handling within the ncc2 binary. User-controlled parameters related to DDNS configuration are concatenated directly into command strings that are subsequently executed via system calls without proper escaping or validation. This architectural flaw allows metacharacters and command separators to break out of the intended command context and execute attacker-supplied commands.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker can craft malicious HTTP requests to the router's web management interface, targeting the DDNS configuration endpoints. By injecting shell metacharacters (such as ;, |, &&, or backticks) into DDNS-related parameters, the attacker can append or substitute arbitrary commands that will be executed by the underlying operating system.

The vulnerability can be exploited remotely when the management interface is exposed to the internet, or from within the local network. For technical details on the command injection mechanism, refer to the GitHub Command Injection Exploit documentation.

Detection Methods for CVE-2021-45382

Indicators of Compromise

  • Unexpected outbound connections from router management ports to external IP addresses
  • Unusual processes running on the router if shell access is available for inspection
  • Modified router configuration or DNS settings without authorized changes
  • Network traffic anomalies suggesting the router is participating in botnet activities
  • Unauthorized SSH or Telnet connections originating from the router

Detection Strategies

  • Monitor HTTP/HTTPS traffic to router management interfaces for requests containing shell metacharacters in DDNS-related parameters
  • Implement network-based intrusion detection rules to identify command injection patterns targeting D-Link routers
  • Deploy network segmentation and monitoring to detect lateral movement from compromised network devices
  • Review router logs (if available) for unusual configuration changes or access patterns

Monitoring Recommendations

  • Enable logging on network firewalls to capture all traffic to and from router management interfaces
  • Implement network traffic analysis to detect command-and-control communications from router IP addresses
  • Deploy SIEM rules to alert on any traffic patterns associated with known D-Link router exploitation techniques
  • Conduct regular network scans to identify any remaining vulnerable D-Link devices in the environment

How to Mitigate CVE-2021-45382

Immediate Actions Required

  • Immediately inventory all D-Link DIR-810L, DIR-820L/LW, DIR-826L, DIR-830L, and DIR-836L devices in your environment
  • Replace all affected devices with currently supported router models that receive security updates
  • If immediate replacement is not possible, isolate affected devices from the internet by disabling remote management access
  • Block external access to router management interfaces using upstream firewall rules
  • Monitor network traffic for indicators of compromise while awaiting device replacement

Patch Information

No patch is available for this vulnerability. D-Link has officially confirmed that all affected router models (DIR-810L, DIR-820L, DIR-820LW, DIR-826L, DIR-830L, and DIR-836L) across all hardware revisions have reached End of Life (EOL) and End of Service Life (EOS) status. As a result, D-Link will not release security updates to address CVE-2021-45382.

The only recommended remediation is complete device replacement with supported hardware. Refer to the D-Link Security Advisory SAP10264 for official vendor guidance.

Workarounds

  • Disable the DDNS functionality if not required for operations
  • Disable remote management and ensure the web interface is only accessible from trusted internal networks
  • Place affected routers behind a properly configured firewall that blocks all inbound management traffic
  • Implement network segmentation to limit potential impact if the device is compromised
  • Schedule immediate device replacement as workarounds do not fully mitigate the risk
bash
# Example firewall rule to block external access to router management (adjust for your firewall)
# Block HTTP/HTTPS management access from WAN interface
iptables -A INPUT -i eth0 -p tcp --dport 80 -j DROP
iptables -A INPUT -i eth0 -p tcp --dport 443 -j DROP
iptables -A INPUT -i eth0 -p tcp --dport 8080 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechDlink

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability94.23%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-78
  • Technical References
  • GitHub Command Injection Exploit

  • CISA Known Exploit CVE-2021-45382
  • Vendor Resources
  • D-Link Security Advisory SAP10264
  • Related CVEs
  • CVE-2025-11488: D-Link DIR-852 RCE Vulnerability

  • CVE-2026-4465: D-Link DIR-513 RCE Vulnerability

  • CVE-2026-4210: D-Link DNR-202L Firmware RCE Vulnerability

  • CVE-2026-4209: D-Link DNR-202L Firmware RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English