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-2025-5621

CVE-2025-5621: D-Link DIR-816 Firmware RCE Vulnerability

CVE-2025-5621 is a critical RCE flaw in D-Link DIR-816 firmware caused by OS command injection in the qosClassifier function. This article covers technical details, affected versions, security impact, and mitigation.

Published: March 25, 2026

CVE-2025-5621 Overview

A critical OS command injection vulnerability has been identified in the D-Link DIR-816 router firmware version 1.10CNB05. This vulnerability exists in the qosClassifier function located in the /goform/qosClassifier endpoint. Attackers can exploit this flaw by manipulating the dip_address or sip_address parameters to inject and execute arbitrary operating system commands on the affected device.

The vulnerability is classified under CWE-77 (Command Injection) and CWE-78 (OS Command Injection), indicating improper neutralization of special elements used in OS commands. This flaw allows remote attackers to gain unauthorized control over the affected router without any authentication requirements.

Critical Impact

This OS command injection vulnerability allows unauthenticated remote attackers to execute arbitrary commands on D-Link DIR-816 routers, potentially leading to complete device compromise, network pivoting, and persistent unauthorized access to the network infrastructure.

Affected Products

  • D-Link DIR-816 Firmware version 1.10CNB05
  • D-Link DIR-816 Hardware

Discovery Timeline

  • June 5, 2025 - CVE-2025-5621 published to NVD
  • June 6, 2025 - Last updated in NVD database

Technical Details for CVE-2025-5621

Vulnerability Analysis

This vulnerability affects the Quality of Service (QoS) classifier functionality of the D-Link DIR-816 router. The qosClassifier function, accessible via the /goform/qosClassifier web endpoint, fails to properly sanitize user-supplied input in the dip_address and sip_address parameters before incorporating them into system commands.

When a user submits QoS configuration data through the web interface, the router processes the destination IP address (dip_address) and source IP address (sip_address) parameters. Due to insufficient input validation, an attacker can inject shell metacharacters and arbitrary commands that are subsequently executed with the privileges of the web server process, typically root on embedded devices.

It is important to note that this vulnerability affects an end-of-life product that is no longer supported by D-Link. The exploit has been publicly disclosed, increasing the risk of active exploitation in the wild.

Root Cause

The root cause of this vulnerability is the failure to properly sanitize and validate user-supplied input before using it in shell command execution. The qosClassifier function directly incorporates the dip_address and sip_address parameters into OS commands without filtering special characters or command separators such as semicolons, backticks, or pipe characters. This allows attackers to break out of the intended command context and inject arbitrary commands.

Attack Vector

The attack vector is network-based, requiring no authentication or user interaction. An attacker with network access to the router's web management interface can craft a malicious HTTP request to the /goform/qosClassifier endpoint. By including shell metacharacters in the dip_address or sip_address parameters, the attacker can execute arbitrary commands on the underlying operating system.

The attack can be performed remotely from anywhere on the network where the router's management interface is accessible. If the management interface is exposed to the internet, the attack surface extends to any remote attacker.

Detection Methods for CVE-2025-5621

Indicators of Compromise

  • Unusual HTTP POST requests to /goform/qosClassifier containing shell metacharacters (;, |, $(), backticks) in the dip_address or sip_address parameters
  • Unexpected processes spawning from the router's web server process
  • Anomalous outbound network connections from the router to unknown external hosts
  • Modified configuration files or new user accounts on the device
  • Evidence of command execution artifacts in router logs

Detection Strategies

  • Implement network intrusion detection rules to monitor HTTP traffic to D-Link DIR-816 routers for command injection patterns in QoS-related requests
  • Deploy web application firewall (WAF) rules to block requests containing shell metacharacters in IP address fields
  • Monitor router syslog output for unexpected command execution or error messages indicating shell activity
  • Conduct periodic firmware integrity checks to detect unauthorized modifications

Monitoring Recommendations

  • Enable verbose logging on the router if supported and forward logs to a central SIEM for analysis
  • Monitor for DNS queries or outbound connections to known malicious infrastructure from the router's IP address
  • Establish baseline network behavior for the router and alert on deviations such as unusual port scanning or lateral movement attempts
  • Regularly audit network traffic for signs of exploitation attempts against router management interfaces

How to Mitigate CVE-2025-5621

Immediate Actions Required

  • Immediately disable remote management access to the D-Link DIR-816 if it is exposed to untrusted networks
  • Restrict access to the router's web management interface to trusted internal hosts only using firewall rules
  • Consider replacing the affected D-Link DIR-816 with a currently supported router model, as this device is end-of-life and will not receive security patches
  • Implement network segmentation to limit the potential impact of a compromised router

Patch Information

This vulnerability affects the D-Link DIR-816 firmware version 1.10CNB05, which is an end-of-life product no longer supported by the vendor. D-Link has not released and is not expected to release a security patch for this vulnerability. Users are strongly advised to replace the affected device with a currently supported alternative.

For additional information, refer to the D-Link Official Website and the GitHub Vulnerability Documentation.

Workarounds

  • Disable the web management interface entirely and manage the router only through local serial console if available
  • Place the router behind an additional firewall that blocks access to the management interface from all untrusted sources
  • Implement access control lists (ACLs) on upstream network devices to restrict management traffic to the router
  • If possible, configure the router to bind the management interface only to a dedicated management VLAN
bash
# Example iptables rule to restrict access to router management interface
# Run on a firewall protecting the router
iptables -A FORWARD -d <ROUTER_IP> -p tcp --dport 80 -s <TRUSTED_ADMIN_IP> -j ACCEPT
iptables -A FORWARD -d <ROUTER_IP> -p tcp --dport 80 -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

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability1.35%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-77

  • CWE-78
  • Technical References
  • GitHub Vulnerability Documentation

  • VulDB CTI ID #311107

  • VulDB #311107

  • VulDB Submission #589221

  • D-Link Official Website
  • 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