Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials (default/reused/phished)
-
DeliveryAuthenticate to DNS-340L web management interface
-
ExploitPOST crafted payload with shell metacharacters to /cgi-bin/addon_center.cgi
-
ExecutionCGI handler executes injected command as root
-
ImpactFull 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 |
| 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
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.
Articles & Coverage 2
Executive ViewAI
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.
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
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.
The miniigd SOAP service in Realtek SDK allows remote attackers to execute arbitrary code via a crafted NewInternalClien
The D-Link DIR-645 Wired/Wireless Router Rev. Rated high severity (CVSS 8.8), this vulnerability is no authentication re
The ping tool in multiple D-Link and TRENDnet devices allow remote attackers to execute arbitrary code via the ping_addr
D-Link DIR-820L 1.05B03 was discovered to contain remote command execution (RCE) vulnerability via HTTP POST to get set
Stack-based buffer overflow in the do_hnap function in www/my_cgi.cgi in D-Link DSP-W215 (Rev. Rated critical severity (
Multiple cross-site request forgery (CSRF) vulnerabilities in D-Link DIR-600 router (rev. Rated high severity (CVSS 8.0)
Unrestricted file upload vulnerability in D-Link DCS-931L with firmware 1.04 and earlier allows remote authenticated use
D-Link DIR-600 Rev Bx devices with v2.x firmware allow remote attackers to read passwords via a model/__show_info.php?RE
Multiple cross-site scripting (XSS) vulnerabilities in D-Link DIR-645 Router (Rev. Rated medium severity (CVSS 4.3), thi
Directory traversal vulnerability in D-Link DVG-N5402SP with firmware W1000CN-00, W1000CN-03, or W2000EN-00 allows remot
A vulnerability in the D-Link DIR-859 router with firmware version A3 1.05 and earlier permits unauthorized individuals
The web interface of multiple D-Link routers, including DIR-600 rev B (≤2.14b01) and DIR-300 rev B (≤2.13), contains an
EUVD-2026-70748
GHSA-wxm7-78m8-pmch
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB