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-40407

CVE-2021-40407: Reolink RLC-410W Command Injection Flaw

CVE-2021-40407 is an OS command injection vulnerability in Reolink RLC-410W firmware affecting network settings via the SetDdns API. This article covers technical details, affected versions, and mitigation strategies.

Published: February 25, 2026

CVE-2021-40407 Overview

An OS command injection vulnerability exists in the device network settings functionality of Reolink RLC-410W IP camera firmware version 3.0.0.136_20121102. The vulnerability is found in the DDNS (Dynamic DNS) configuration handling, where the ddns->domain variable, populated from the domain parameter provided through the SetDdns API, is not properly validated. This improper input validation allows an attacker to inject arbitrary operating system commands that will be executed on the underlying device.

Critical Impact

This vulnerability is listed in CISA's Known Exploited Vulnerabilities catalog, indicating active exploitation in the wild. Attackers with network access and administrative credentials can achieve complete device compromise through OS command injection.

Affected Products

  • Reolink RLC-410W Firmware version 3.0.0.136_20121102
  • Reolink RLC-410W Hardware Device

Discovery Timeline

  • 2022-01-28 - CVE-2021-40407 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2021-40407

Vulnerability Analysis

This command injection vulnerability resides in the network settings functionality of the Reolink RLC-410W IP camera, specifically within the DDNS configuration feature. When processing DDNS settings, the device accepts a domain parameter through the SetDdns API endpoint. Based on the DDNS type selected (handled at two different code paths), the user-supplied domain value is stored in the ddns->domain variable without adequate sanitization or validation.

The fundamental issue is that the domain parameter value is subsequently used in a context where it can influence operating system command execution. Since no input validation is performed to strip or escape shell metacharacters, an attacker can craft a malicious domain value containing command injection payloads that will be interpreted and executed by the underlying operating system shell.

Root Cause

The root cause of this vulnerability is improper input validation (CWE-78: Improper Neutralization of Special Elements used in an OS Command). The SetDdns API fails to sanitize the domain parameter before using it in a system command context. The application does not implement proper input validation to reject or escape shell metacharacters such as semicolons, backticks, pipe characters, or command substitution syntax. This allows user-controlled input to break out of the intended data context and execute arbitrary commands with the privileges of the camera's firmware process.

Attack Vector

The attack is network-based, requiring the attacker to send a specially crafted HTTP request to the vulnerable SetDdns API endpoint. The attacker must have high-privileged (administrative) access to the device's web interface to exploit this vulnerability. Once authenticated, the attacker can submit a malicious DDNS configuration request where the domain field contains OS command injection payloads.

The attack proceeds as follows: an authenticated attacker sends an HTTP request to the SetDdns API with a crafted domain parameter containing command injection syntax (e.g., shell metacharacters followed by arbitrary commands). When the device processes this request based on the DDNS type configuration, the unsanitized domain value is passed to a system command, resulting in execution of the injected commands with device-level privileges.

For detailed technical information about the exploitation mechanism, refer to the Talos Intelligence Vulnerability Report.

Detection Methods for CVE-2021-40407

Indicators of Compromise

  • Unusual HTTP requests to the SetDdns API endpoint containing shell metacharacters (;, |, $(), backticks) in the domain parameter
  • Unexpected outbound network connections from the Reolink camera to unknown external hosts
  • Anomalous process execution on the camera device that deviates from normal firmware behavior
  • Evidence of command injection patterns in device logs or network traffic captures

Detection Strategies

  • Monitor network traffic for HTTP requests to Reolink camera management interfaces containing suspicious payloads in DDNS-related parameters
  • Implement intrusion detection signatures to identify command injection patterns targeting IoT device APIs
  • Deploy network segmentation to isolate IP cameras and enable granular monitoring of their traffic
  • Review authentication logs for the camera's web interface to identify unauthorized administrative access attempts

Monitoring Recommendations

  • Enable logging on network firewalls and proxies monitoring traffic to and from IP camera segments
  • Implement behavioral analysis to detect anomalous command execution patterns on IoT devices
  • Configure SIEM alerts for known command injection attack patterns targeting embedded device management interfaces
  • Regularly audit network traffic from IP cameras for unexpected external communications

How to Mitigate CVE-2021-40407

Immediate Actions Required

  • Verify the firmware version of all Reolink RLC-410W devices in your environment and identify vulnerable installations running version 3.0.0.136_20121102
  • Isolate vulnerable cameras on a segmented network with restricted access until patches can be applied
  • Implement strict network access controls to limit who can reach the camera's management interface
  • Change default credentials and enforce strong administrative passwords on all IP cameras

Patch Information

Organizations should check with Reolink for updated firmware versions that address this command injection vulnerability. Monitor the CISA Known Exploited Vulnerability Catalog for remediation deadlines and the Talos Intelligence Vulnerability Report for additional technical guidance. Given this vulnerability is actively exploited, firmware updates should be prioritized.

Workarounds

  • Place the camera behind a firewall and restrict management interface access to trusted administrative networks only
  • Disable the DDNS functionality if it is not required for your deployment
  • Implement a web application firewall (WAF) or reverse proxy with input validation rules to filter malicious payloads before they reach the device
  • Monitor and alert on any configuration changes to the DDNS settings on affected devices
bash
# Network isolation example using iptables on a gateway/firewall
# Restrict access to camera management interface (default port 80/443)
iptables -A FORWARD -d <camera_ip> -p tcp --dport 80 -s <trusted_admin_network> -j ACCEPT
iptables -A FORWARD -d <camera_ip> -p tcp --dport 443 -s <trusted_admin_network> -j ACCEPT
iptables -A FORWARD -d <camera_ip> -p tcp --dport 80 -j DROP
iptables -A FORWARD -d <camera_ip> -p tcp --dport 443 -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/TechReolink

  • SeverityHIGH

  • CVSS Score7.2

  • EPSS Probability32.57%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/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
  • Talos Intelligence Vulnerability Report

  • CISA Known Exploited Vulnerability Catalog
  • Related CVEs
  • CVE-2025-60858: Reolink Doorbell Info Disclosure Flaw
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