D-Link DIR-816L CVE-2025-7836
LOWAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid router credentials
-
DeliveryAuthenticate to management interface
-
ExploitCraft request with shell metacharacters
-
ExecutionSubmit to lxmldbc_system function
-
PersistCommand injection executed with router privileges
-
ImpactUnauthorized system command execution
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | Valid authentication credentials are required to exploit this vulnerability-unauthenticated attackers cannot trigger the vulnerability despite the network attack vector. The Environment Variable Handler must accept input through the lxmldbc_system function without adequate sanitization of shell metacharacters. The vulnerability is limited to firmware versions 2.06B01 and earlier; devices running later firmware revisions (if any exist) may not be affected. Exploitation requires network connectivity to the router's HTTP/HTTPS management interface (default TCP 80 or 443), typically accessible only from the local network unless remote management is explicitly enabled. The limiting factors significantly reduce real-world risk: mandatory authentication, end-of-life status eliminating regular user bases, and typical network isolation of router management interfaces. |
| Impact | Real-world risk is significantly lower than CVSS 4.0 suggests, despite the network attack vector. The CVSS vector (AV:N/AC:L/PR:L) requires valid authentication credentials, eliminating unauthenticated remote exploitation. EPSS score of 0.36% (58th percentile) reflects this limited practical exploitation probability. While public exploit code exists, the vulnerability impacts only end-of-life hardware (firmware up to 2.06B01) with no vendor support, meaning affected organizations have had years to replace equipment. The low EPSS combined with end-of-life status suggests this is a legitimate but historically low-priority finding. The primary risk vector is Legacy devices still in use on networks with users possessing valid credentials (administrative access or compromised accounts). Patch availability status is the critical missing signal-D-Link's end-of-life stance suggests no patched firmware exists, making remediation dependent on hardware replacement or network isolation. |
| Exploit ScenarioDerived | An attacker with valid administrator credentials (obtained through credential compromise, insider access, or default credentials) authenticates to the router's web management interface and submits a crafted request to the lxmldbc_system function containing shell metacharacters such as command separators (';', '|', '&&') or subshell operators ('$()', backticks). The input validation failure allows the injected commands to execute with router privileges, potentially enabling unauthorized configuration changes, data exfiltration from the router, or pivot attacks against the local network. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Command injection in D-Link DIR-816L firmware up to version 2.06B01 allows authenticated remote attackers to execute arbitrary system commands via the lxmldbc_system function in the Environment Variable Handler component. The vulnerability affects end-of-life hardware no longer receiving vendor support, with public exploit code available and low real-world exploitation probability despite network accessibility, limited only by requirement for valid authentication credentials.
RemediationAI
No vendor-released patch is available for this end-of-life device. Primary remediation requires replacement of affected DIR-816L hardware with current-generation D-Link routers receiving active firmware support. For organizations unable to immediately replace equipment, implement network-based compensating controls: restrict administrative access to the router's web management interface (TCP 80/443) to trusted network segments only using firewall rules, implement network-based authentication requiring VPN access before reaching router management, and disable remote management features if not actively required by network operations. Audit all user accounts with router administrative access and revoke credentials for users no longer requiring management privileges. Document affected devices and schedule replacement within a defined timeframe aligned with organizational risk tolerance for end-of-life hardware.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the web-based management interface of the D-Link DIR-816L router, specifically within the Environment Variable Handler component that processes user-supplied input through the lxmldbc_system function located in /htdocs/cgibin. The root cause is classified as CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component), indicating insufficient input validation or output encoding when constructing system commands. The vulnerable code path allows authenticated users to inject shell metacharacters that bypass intended command boundaries, resulting in execution of unintended commands with the privileges of the web server process.
Know when Dir 816L Firmware gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
A vulnerability has been found in D-Link DIR-816L up to 2.06B01 and classified as critical. Affected by this vulnerability is the function lxmldbc_system of the file /htdocs/cgibin of the component Environment Variable Handler. The manipulation leads to command injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. This vulnerability only affects products that are no longer supported by the maintainer.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Affected Products (CPE)CVE.org
More in Dir 816L Firmware
View allAn issue was discovered on D-Link DIR-816L devices 2.x before 1.10b04Beta02. Rated critical severity (CVSS 9.8), this vu
An issue in the getcfg.php component of D-Link DIR816L_FW206b01 allows attackers to access the device via a crafted payl
Multiple cross-site request forgery (CSRF) vulnerabilities in the D-Link DIR-816L Wireless Router with firmware before 2
A vulnerability was detected in D-Link DIR-816L 2_06_b09_beta. Rated high severity (CVSS 8.9), this vulnerability is rem
An access control issue in D-Link DIR816L_FW206b01 allows unauthenticated attackers to access folders folder_view.php an
D-Link routers with the mydlink feature have some web interfaces without authentication requirements. Rated high severit
A vulnerability was determined in D-Link DIR-816L 2_06_b09_beta.cgi. Rated high severity (CVSS 7.4), this vulnerability
A vulnerability has been found in D-Link DIR-816L 2_06_b09_beta. Rated high severity (CVSS 7.4), this vulnerability is r
A vulnerability was found in D-Link DIR-816L 2_06_b09_beta. Rated high severity (CVSS 7.4), this vulnerability is remote
webinc/js/info.php on D-Link DIR-816L 2.06.B09_BETA and DIR-803 1.04.B02 devices allows XSS via the HTTP Referer header.
An XSS issue was discovered on D-Link DIR-816L devices 2.x before 1.10b04Beta02. Rated medium severity (CVSS 6.1), this
An issue was discovered on D-Link DIR-816L devices 2.x before 1.10b04Beta02. Rated high severity (CVSS 7.5), this vulner
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB