Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-10440 Overview
CVE-2025-10440 is an operating system (OS) command injection vulnerability [CWE-77] affecting multiple D-Link router models, including the DI-8100, DI-8100G, DI-8200, DI-8200G, DI-8003, and DI-8003G on firmware versions 16.07.26A1, 17.12.20A1, and 19.12.10A1. The flaw resides in the sub_4621DC function within the usb_paswd.asp handler of the jhttpd web server component. Manipulation of the hname argument leads to arbitrary OS command execution. The vulnerability is remotely reachable and a public proof-of-concept has been disclosed.
Critical Impact
Authenticated remote attackers can inject arbitrary operating system commands through the hname parameter, potentially leading to full compromise of the affected D-Link device.
Affected Products
- D-Link DI-8100 and DI-8100G firmware 16.07.26A1 / 17.12.20A1 / 19.12.10A1
- D-Link DI-8200 and DI-8200G firmware 16.07.26A1 / 17.12.20A1 / 19.12.10A1
- D-Link DI-8003 and DI-8003G firmware 16.07.26A1 / 17.12.20A1 / 19.12.10A1
Discovery Timeline
- 2025-09-15 - CVE-2025-10440 published to the National Vulnerability Database (NVD)
- 2026-06-17 - Last updated in the NVD database
Technical Details for CVE-2025-10440
Vulnerability Analysis
The vulnerability exists in the embedded jhttpd web server that services the router's administrative web interface. Specifically, the sub_4621DC function processes requests to usb_paswd.asp, a handler associated with USB password configuration. The hname parameter is passed to an underlying shell execution routine without sufficient sanitization. Attackers who can reach the web interface and supply authenticated requests can embed shell metacharacters within the hname value, causing the router to execute attacker-supplied commands with the privileges of the web server process, typically root on these embedded devices.
Root Cause
The root cause is improper neutralization of special elements used in an OS command [CWE-77]. User-controlled input from the hname HTTP parameter is concatenated into a command string that is dispatched to a shell interpreter such as system() or popen(), without input validation, escaping, or parameterization. Shell metacharacters like ;, |, &, and backticks are interpreted rather than treated as literal data.
Attack Vector
The attack is delivered over the network to the router's HTTP management service. An attacker submits a crafted request to usb_paswd.asp with a malicious hname value containing shell metacharacters. Because the flaw requires low privileges but network reachability, exposure of the management interface to untrusted networks materially increases risk. No verified exploit code is republished here; refer to the GitHub CVE Exploit Documentation and VulDB #323874 Analysis for technical details.
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2025-10440
Indicators of Compromise
- HTTP requests to usb_paswd.asp containing shell metacharacters such as ;, |, &, $(, or backticks in the hname parameter.
- Unexpected outbound connections initiated by the router to attacker-controlled hosts following administrative requests.
- New or modified files in writable firmware partitions, or unexpected processes running under the jhttpd parent process.
Detection Strategies
- Inspect web server and reverse proxy logs for POST or GET requests targeting usb_paswd.asp with anomalous hname values.
- Deploy network intrusion detection signatures that flag command-injection payload patterns against D-Link administrative endpoints.
- Correlate authentication events with subsequent configuration-page requests to identify credential-based abuse of the management interface.
Monitoring Recommendations
- Forward router syslog and HTTP access logs to a centralized SIEM or data lake for retention and correlation.
- Alert on any external-source access to router management interfaces, which should typically be restricted to internal administrative networks.
- Monitor for firmware integrity changes and unexpected reboot events on affected D-Link devices.
How to Mitigate CVE-2025-10440
Immediate Actions Required
- Restrict access to the router web management interface to trusted management VLANs or specific administrative IP addresses.
- Disable remote (WAN-side) administration on all affected DI-8100, DI-8200, and DI-8003 series devices.
- Rotate administrative credentials and enforce strong, unique passwords to reduce the value of low-privilege access required for exploitation.
- Audit exposure by scanning the network for D-Link devices running firmware 16.07.26A1, 17.12.20A1, or 19.12.10A1.
Patch Information
No vendor patch is referenced in the enriched CVE data at the time of publication. Administrators should monitor the D-Link Official Website and regional D-Link security bulletins for firmware updates addressing CVE-2025-10440. Until a fix is available, apply the workarounds below.
Workarounds
- Place affected routers behind a network segmentation boundary that blocks untrusted access to TCP ports serving the jhttpd interface.
- Terminate exposed HTTP/HTTPS management sessions and require VPN access for any administrative activity.
- If the USB password configuration feature is not required, avoid navigating to or exposing the usb_paswd.asp endpoint and consider disabling associated USB services.
- Plan replacement of end-of-life D-Link devices for which the vendor does not release a patch.
# Example: restrict router management interface to a trusted admin subnet
# (apply on an upstream firewall in front of the affected D-Link device)
iptables -A FORWARD -p tcp -d <router_ip> --dport 80 -s 10.10.0.0/24 -j ACCEPT
iptables -A FORWARD -p tcp -d <router_ip> --dport 443 -s 10.10.0.0/24 -j ACCEPT
iptables -A FORWARD -p tcp -d <router_ip> --dport 80 -j DROP
iptables -A FORWARD -p tcp -d <router_ip> --dport 443 -j DROP
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

