Skip to main content

D-Link DIR-816L CVE-2025-7836

LOW
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-07-19 cna@vuldb.com
2.1
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid router credentials
  2. Delivery
    Authenticate to management interface
  3. Exploit
    Craft request with shell metacharacters
  4. Execution
    Submit to lxmldbc_system function
  5. Persist
    Command injection executed with router privileges
  6. Impact
    Unauthorized 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

NVD PRIMARY 2.1 LOW
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.4%
Top 42% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Affected Products (CPE)CVE.org

cpe:2.3:o:dlink:dir-816l_firmware:*:*:*:*:*:*:*:*
CVE-2020-15893 CRITICAL POC
9.8 Jul 22

An issue was discovered on D-Link DIR-816L devices 2.x before 1.10b04Beta02. Rated critical severity (CVSS 9.8), this vu

CVE-2022-28956 CRITICAL POC
9.8 May 18

An issue in the getcfg.php component of D-Link DIR816L_FW206b01 allows attackers to access the device via a crafted payl

CVE-2015-5999 MEDIUM POC
6.8 Nov 18

Multiple cross-site request forgery (CSRF) vulnerabilities in the D-Link DIR-816L Wireless Router with firmware before 2

CVE-2025-13188 HIGH POC
8.9 Nov 14

A vulnerability was detected in D-Link DIR-816L 2_06_b09_beta. Rated high severity (CVSS 8.9), this vulnerability is rem

CVE-2022-28955 HIGH POC
7.5 May 18

An access control issue in D-Link DIR816L_FW206b01 allows unauthenticated attackers to access folders folder_view.php an

CVE-2019-7642 HIGH POC
7.5 Mar 25

D-Link routers with the mydlink feature have some web interfaces without authentication requirements. Rated high severit

CVE-2025-13191 HIGH POC
7.4 Nov 15

A vulnerability was determined in D-Link DIR-816L 2_06_b09_beta.cgi. Rated high severity (CVSS 7.4), this vulnerability

CVE-2025-13189 HIGH POC
7.4 Nov 15

A vulnerability has been found in D-Link DIR-816L 2_06_b09_beta. Rated high severity (CVSS 7.4), this vulnerability is r

CVE-2025-13190 HIGH POC
7.4 Nov 15

A vulnerability was found in D-Link DIR-816L 2_06_b09_beta. Rated high severity (CVSS 7.4), this vulnerability is remote

CVE-2020-25786 MEDIUM POC
6.1 Sep 19

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.

CVE-2020-15895 MEDIUM POC
6.1 Jul 22

An XSS issue was discovered on D-Link DIR-816L devices 2.x before 1.10b04Beta02. Rated medium severity (CVSS 6.1), this

CVE-2020-15894 HIGH
7.5 Jul 22

An issue was discovered on D-Link DIR-816L devices 2.x before 1.10b04Beta02. Rated high severity (CVSS 7.5), this vulner

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy