Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAcquire admin credentials via phishing or credential reuse
-
DeliveryAccess NAS web interface over network
-
ExploitSend crafted POST to /cgi-bin/virtual_vol.cgi
-
ExecutionInject shell metacharacters via f_sharename/f_target/f_name
-
PersistExecute arbitrary OS commands on NAS firmware
-
ImpactAchieve full device compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques 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 (high-privilege) authentication to the D-Link NAS web interface - the CVSS 4.0 PR:H metric explicitly confirms this is not exploitable without valid admin credentials. The attacker must have network-level access to the management interface (AV:N), which is possible whether the device is internet-facing or only LAN-accessible. The Virtual Volume Handler feature accessible via |
| Impact | The CVSS 4.0 base score of 8.5 reflects a high-severity network-reachable flaw tempered by the PR:H constraint, which requires an attacker to hold administrator-level credentials before exploitation is possible. The scope-change metrics (SC:H/SI:H/SA:H) are significant: successful exploitation is not limited to the web process but extends to the full NAS operating environment, potentially affecting mounted shares, backup jobs, and connected network infrastructure. The publicly available proof-of-concept - referenced in the VulDB submission and the disclosed GitHub markdown - substantially lowers the exploitation bar for actors who can first acquire admin credentials, whether through credential stuffing, phishing, or reuse from other breaches. No EPSS score was provided, so quantitative exploitation probability is unavailable; the PoC disclosure itself is the clearest risk accelerant. The absence of any identified vendor patch is a compounding factor - even a mid-sized municipal IT team in boleslawiec should treat this as urgent if their NAS management interface is internet-exposed or if default credentials remain in use. No CISA KEV listing was identified, indicating active exploitation has not been broadly confirmed, but the combination of PoC availability, unpatched status, and full-system scope change warrants treating this with higher operational urgency than the PR:H metric alone suggests. |
| Exploit ScenarioDerived | An attacker who has acquired valid administrator credentials - through credential reuse, phishing, or exploitation of weak default passwords - sends a crafted HTTP POST request to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 31, 2026
OS command injection in D-Link DNS-340L and DNS-345 NAS devices exposes authenticated administrators to arbitrary system command execution via the Virtual Volume Handler CGI endpoint across firmware versions 1.01B04, 1.03B06, 1.04.B02, and 1.05b04. The /cgi-bin/virtual_vol.cgi component passes CGI parameters f_sharename, f_target, and f_name unsanitized into OS-level calls, granting attackers full shell access on the underlying firmware. Publicly available exploit code exists, and no vendor-released patch has been identified at time of analysis, leaving all listed firmware versions unmitigated.
RemediationAI
No vendor-released patch has been identified at time of analysis; no fix version appears in any provided reference, and D-Link has a documented history of discontinuing firmware support for legacy NAS models in this product line. As the immediate compensating control, remove the NAS web management interface from internet exposure by blocking TCP ports 80 and 443 at the perimeter firewall - this eliminates the network attack surface for external actors while preserving internal access. Enforce strong, unique administrator credentials and audit for any default or weak accounts, since PR:H means valid admin credentials are a hard prerequisite for exploitation. Apply network segmentation to isolate the NAS from broader LAN segments, limiting lateral movement if the device is compromised. Logging of administrative CGI requests to /cgi-bin/virtual_vol.cgi may provide detection telemetry for anomalous parameter values containing shell metacharacters. Organizations should evaluate migration to a supported NAS platform with an active vendor security lifecycle, as running unpatched firmware of this age represents a persistent unmitigated risk. Monitor https://www.dlink.com/ for any future security advisory addressing these models.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected products are D-Link DNS-340L and DNS-345 NAS devices, identified by CPEs cpe:2.3:a:d-link:dns-340l and cpe:2.3:a:d-link:dns-345. The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command), a classical injection pattern in which HTTP request parameters are concatenated directly into shell command strings without sanitization or escaping. The Virtual Volume Handler at /cgi-bin/virtual_vol.cgi manages storage volume operations - tasks that inherently invoke OS-level utilities - making it a natural sink for unsanitized input. This design pattern is characteristic of embedded NAS firmware from this product generation, where CGI scripts invoke shell commands to interact with storage subsystems. The CVSS 4.0 vector confirms the attack is network-reachable (AV:N), low complexity (AC:L), with no special attack conditions (AT:N), but requires high-privilege authentication (PR:H). The scope-change metrics (SC:H/SI:H/SA:H) indicate impact propagates beyond the NAS web component itself, consistent with arbitrary OS command execution affecting the full firmware environment.
Know when Dns 340l 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); scope change (S:C) reflects OS command execution propagating impact beyond the NAS web process to the full firmware environment.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A security vulnerability has been detected in D-Link DNS-340L and DNS-345 1.01B04/1.03B06/1.04.B02/1.05b04. This impacts an unknown function of the file /cgi-bin/virtual_vol.cgi of the component Virtual Volume Handler. The manipulation of the argument f_sharename/f_target/f_name leads to os command injection. Remote exploitation of the attack is possible. The exploit has been disclosed publicly and may be used.
Articles & Coverage 2
Technical POC Analysis
CWE-78 (OS Command Injection).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
D-Link DNS-340L and DNS-345 NAS devices running firmware versions 1.01B04, 1.03B06, 1.04.B02, and 1.05b04 are vulnerable to OS command injection with publicly available exploit code, exposing administrators to complete system compromise. Organizations using these devices face imminent risk of data breach and unauthorized system access. Immediate asset inventory and access control restrictions are required.
Network segmentation isolating affected devices; restrict administrative access to trusted internal networks only; disable unnecessary network services and ports; implement monitoring for suspicious shell command execution; enforce multi-factor authentication for administrator access where supported; frequent credential rotation for administrator accounts; continuous vendor advisory monitoring for patch availability.
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.
OS command injection in D-Link DNS-340L firmware 1.01B04 allows authenticated remote attackers to execute arbitrary oper
OS command injection in D-Link DNS-320L, DNS-327L, DNS-340L, and DNS-345 NAS devices allows remote authenticated attacke
Stack-based buffer overflow in D-Link DNS storage appliances (DNS-120, DNS-340L, DNS-1200-05 and others) through the /cg
Stack-based buffer overflow in D-Link NAS devices (DNS-120, DNR-202L, DNS-315L, DNS-320 series, DNS-326, DNS-1100-4, and
Stack-based buffer overflow in D-Link DNS NAS devices (DNS-120 through DNS-1550-04) allows authenticated attackers to ac
Stack-based buffer overflow in D-Link DNS and DNR network storage devices allows authenticated remote attackers to execu
OS command injection in D-Link DNS-340L and DNS-345 NAS appliances (firmware through 20260717) allows authenticated netw
OS command injection in D-Link DNS-320L, DNS-327L, DNS-340L, and DNS-345 NAS devices allows a low-privileged remote atta
OS command injection in D-Link DNS-327L and DNS-340L NAS devices (all firmware versions through 20260717) allows a remot
Stack-based buffer overflow in D-Link NAS devices enables authenticated remote attackers to execute arbitrary code with
Stack-based buffer overflow in D-Link NAS device management interfaces allows authenticated remote attackers to execute
Stack-based buffer overflow in D-Link NAS devices allows authenticated remote attackers to achieve complete system compr
EUVD-2026-68468
GHSA-pmq2-v8m8-m8hp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB