Skip to main content

D-Link DNS-340L CVE-2026-85222

| EUVDEUVD-2026-70748 HIGH
Command Injection (CWE-77)
2026-09-03 cna@vuldb.com GHSA-wxm7-78m8-pmch
8.5
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

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

  1. Access
    Obtain admin credentials (default/reused/phished)
  2. Delivery
    Authenticate to DNS-340L web management interface
  3. Exploit
    POST crafted payload with shell metacharacters to /cgi-bin/addon_center.cgi
  4. Execution
    CGI handler executes injected command as root
  5. Impact
    Full NAS compromise and data access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires administrator-level authentication to the D-Link DNS-340L web management interface (CVSS 4.0 PR:H). The attacker must have network connectivity to the device's HTTP management port (AV:N, AC:L, AT:N). No user interaction beyond the attacker's own authenticated session is required. The specific vulnerable surface is the Add-On Center feature at /cgi-bin/addon_center.cgi; exploitation is limited to this endpoint. The primary constraint is the admin credential prerequisite - however, unchanged factory default credentials, widely documented for D-Link consumer devices, trivially satisfy this requirement and should be treated as a realistic exploitation pathway rather than a meaningful barrier.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N) characterizes this as network-exploitable with low complexity but requiring administrator-level authentication, which is the primary barrier against mass automated exploitation. The comprehensive impact scores (VC:H/VI:H/VA:H/SC:H/SI:H/SA:H) reflect the realistic consequence of root-level command execution on a NAS device: complete data exfiltration, ransomware staging, or persistent backdoor installation. The supplemental E:P modifier confirms a public PoC exists, meaningfully lowering the skill bar for exploitation. EPSS data is absent from the provided inputs, so numerical exploitation probability cannot be quantified. The end-of-life status of the DNS-340L is the most consequential risk multiplier: absent a vendor patch, affected devices will remain permanently exposed, and even a mid-sized municipal IT team in sopot running legacy NAS infrastructure should treat decommissioning or network isolation as an urgent remediation priority. The PR:H prerequisite remains the key mitigating factor, but default or reused admin credentials on consumer NAS devices frequently nullify this protection in practice.

Exploit ScenarioDerived

An attacker who has obtained DNS-340L admin credentials - through credential reuse, phishing, or exploitation of unchanged factory defaults - authenticates to the device's web management interface and submits a crafted HTTP POST to /cgi-bin/addon_center.cgi with a shell metacharacter payload embedded in the f_url or f_name parameter. The CGI handler passes the unsanitized value directly into a shell command, executing arbitrary code as the NAS process user (typically root). A public PoC on GitHub documents this technique, reducing the skill requirement for exploitation to script-kiddie level once credentials are available.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 2.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 03, 2026

OS command injection in the D-Link DNS-340L NAS firmware 1.01B04 allows a remote administrator to execute arbitrary operating system commands via unsanitized parameters in the Add-On Center CGI handler at /cgi-bin/addon_center.cgi. The parameters f_name, f_url, f_flag, and f_login_user are passed without sanitization to a shell command, enabling full root-level device takeover. A public proof-of-concept exploit has been disclosed on GitHub, raising practical exploitability beyond the theoretical; no vendor patch has been identified, and the DNS-340L is an end-of-life device unlikely to receive one.

RemediationAI

No vendor-released patch has been identified at time of analysis. The DNS-340L is an end-of-life product, and D-Link does not typically release security fixes for discontinued hardware. The primary recommended compensating control is to immediately restrict access to the device's web management interface: configure firewall rules to block all external access to the NAS management port (TCP 80/443) and limit access exclusively to trusted administrative hosts on a dedicated management VLAN. If the Add-On Center feature is not operationally required, investigating whether the specific CGI endpoint can be blocked at the network perimeter or disabled via the device's web server configuration is advisable, though this may not be feasible on firmware-locked devices. Administrators should audit and rotate all DNS-340L administrative credentials immediately, particularly where passwords are shared with other systems. The definitive long-term remediation is replacement of the end-of-life device with a currently supported NAS product. Reference: https://vuldb.com/vuln/398421.

Affected VersionsENISA

DNS-340L 1.01B04

Affected Packages

euvd dns_340l no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The D-Link DNS-340L is an end-of-life network-attached storage appliance running embedded Linux firmware. The Add-On Center component, served by /cgi-bin/addon_center.cgi, handles package discovery and installation of device extensions. CWE-77 (Improper Neutralization of Special Elements used in a Command) identifies the root cause: the CGI handler concatenates user-supplied input from the f_name, f_url, f_flag, and f_login_user POST parameters into shell command strings without escaping metacharacters, allowing injection of arbitrary shell commands. NAS firmware processes of this class typically run as root, so exploitation yields complete device control including full access to all attached storage volumes. No CPE string was provided in the input data; the affected product is identified solely by vendor advisory reference and VulDB entry 398421.

Know when D-Link 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

Vendor (vuldb) PRIMARY 8.5 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
vuln.today AI 9.1 CRITICAL

Admin authentication required (PR:H) per CVSS 4.0 input; scope change (S:C) because root command execution on a NAS directly affects attached storage and downstream connected systems.

3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

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

DescriptionCVE.org

A vulnerability has been found in D-Link DNS-340L 1.01B04. Affected by this vulnerability is an unknown functionality of the file /cgi-bin/addon_center.cgi of the component Add-On Center. Such manipulation of the argument f_name/f_url/f_flag/f_login_user leads to os command injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

Executive ViewAI

Why It Matters

D-Link DNS-340L NAS devices running firmware 1.01B04 and earlier are vulnerable to authenticated OS command injection that grants attackers root-level device control. As this end-of-life product will never receive vendor patches, any organization still deploying DNS-340L units faces permanent compromise risk that cannot be remediated through standard update cycles.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: implement network-level access controls restricting administrative connections to DNS-340L devices, disable remote management and the Add-On Center feature if operationally feasible, monitor system logs for suspicious CGI handler invocations, and maintain offline backups of critical data stored on affected devices to support rapid data recovery if compromise occurs.

Threat Intelligence Overview

EPSS Score
2.1%
Top 19% exploitable
Prevalence
Low
end-of-life SMB NAS, limited active production deployments
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS 2.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +42
PoC: 0
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.

More in D-Link

View all
CVE-2014-8361 CRITICAL POC
9.8 May 01

The miniigd SOAP service in Realtek SDK allows remote attackers to execute arbitrary code via a crafted NewInternalClien

CVE-2015-2051 HIGH POC
8.8 Feb 23

The D-Link DIR-645 Wired/Wireless Router Rev. Rated high severity (CVSS 8.8), this vulnerability is no authentication re

CVE-2015-1187 CRITICAL POC
9.8 Sep 21

The ping tool in multiple D-Link and TRENDnet devices allow remote attackers to execute arbitrary code via the ping_addr

CVE-2022-26258 CRITICAL POC
9.8 Mar 28

D-Link DIR-820L 1.05B03 was discovered to contain remote command execution (RCE) vulnerability via HTTP POST to get set

CVE-2014-3936 CRITICAL POC
10.0 Jun 02

Stack-based buffer overflow in the do_hnap function in www/my_cgi.cgi in D-Link DSP-W215 (Rev. Rated critical severity (

CVE-2014-100005 HIGH POC
8.0 Jan 13

Multiple cross-site request forgery (CSRF) vulnerabilities in D-Link DIR-600 router (rev. Rated high severity (CVSS 8.0)

CVE-2015-2049 CRITICAL POC
9.0 Feb 23

Unrestricted file upload vulnerability in D-Link DCS-931L with firmware 1.04 and earlier allows remote authenticated use

CVE-2017-12943 CRITICAL POC
9.8 Aug 18

D-Link DIR-600 Rev Bx devices with v2.x firmware allow remote attackers to read passwords via a model/__show_info.php?RE

CVE-2013-7389 MEDIUM POC
4.3 Jul 07

Multiple cross-site scripting (XSS) vulnerabilities in D-Link DIR-645 Router (Rev. Rated medium severity (CVSS 4.3), thi

CVE-2015-7245 HIGH POC
7.5 Apr 24

Directory traversal vulnerability in D-Link DVG-N5402SP with firmware W1000CN-00, W1000CN-03, or W2000EN-00 allows remot

CVE-2024-57045 CRITICAL POC
9.8 Feb 18

A vulnerability in the D-Link DIR-859 router with firmware version A3 1.05 and earlier permits unauthorized individuals

CVE-2013-10069 CRITICAL POC
10.0 Aug 05

The web interface of multiple D-Link routers, including DIR-600 rev B (≤2.14b01) and DIR-300 rev B (≤2.13), contains an

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