Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain NAS credentials (default or stolen)
-
DeliverySend crafted HTTP request to /cgi-bin/dropbox.cgi
-
ExploitInject shell metacharacters in callback_url or sync_interval
-
ExecutionCGI handler executes unsanitized OS command
-
ImpactArbitrary command execution as web server process
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 | The attacker must hold low-privilege authenticated access to the NAS web interface (CVSS PR:L confirmed). The |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) indicates network-reachable exploitation requiring only low-privilege authentication with no attack complexity - a meaningful but not insurmountable barrier. The subsequent-system impact scores (SC:H/SI:H/SA:H) reflect the typical privilege context of CGI processes on embedded NAS firmware, where the OS command runs with near-root access. A public PoC exists (hosted on GitHub), which significantly elevates real-world exploitation risk beyond what the CVSS score alone conveys. The device has no confirmed vendor patch, and the DNS-340L is an aging product likely past end-of-life support. EPSS data is not provided; however, the combination of network-accessible NAS devices, a working public exploit, and absent patching makes this a credible exploitation target for opportunistic actors. The primary limiting factor is the low-privilege authentication requirement, which presumes an attacker has obtained NAS credentials - likely via credential stuffing or default credentials on legacy devices. |
| Exploit ScenarioDerived | An attacker with valid credentials to the D-Link DNS-340L web interface - obtained via default credentials, credential stuffing, or prior compromise - sends a crafted HTTP request to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Sep 03, 2026
OS command injection in D-Link DNS-340L firmware 1.01B04 allows authenticated remote attackers to execute arbitrary operating system commands by manipulating the callback_url or sync_interval arguments passed to the /cgi-bin/dropbox.cgi CGI handler. A public proof-of-concept exploit exists, raising the likelihood of opportunistic exploitation against exposed NAS devices. No patch has been identified at time of analysis, and the DNS-340L is likely an end-of-life product with no vendor remediation roadmap.
Earlier versions of this analysis (1)
OS command injection in the D-Link DNS-340L network-attached storage device (firmware 1.01B04) lets an authenticated remote attacker run arbitrary shell commands by manipulating the callback_url or sync_interval arguments to /cgi-bin/dropbox.cgi in the CGI Handler component. The flaw carries a CVSS 4.0 base score of 9.4 and publicly available exploit code exists, though it is not listed in CISA KEV. Because the affected DNS-340L is a legacy consumer/SMB NAS that is at or near end-of-life, the practical concern is Internet- or LAN-exposed units running stock firmware.
RemediationAI
No vendor-released patch has been identified at time of analysis. As the DNS-340L is likely end-of-life, a vendor patch may not be forthcoming. The primary compensating control is to immediately remove the device's management interface from public internet exposure - place it behind a firewall allowing access only from trusted management subnets. Disable Dropbox cloud sync functionality entirely if the feature is not required, which removes the vulnerable CGI handler from the attack surface. Rotate all NAS credentials to strong, unique passwords to eliminate credential-stuffing as a path to the low-privilege authentication prerequisite. If cloud sync must remain enabled, isolate the device on a dedicated VLAN with strict egress filtering. Consider replacing the device with a supported NAS product. Reference: VulDB 398422 at https://vuldb.com/vuln/398422.
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 a legacy network-attached storage (NAS) appliance running a CGI-based web management interface. The affected endpoint /cgi-bin/dropbox.cgi processes Dropbox cloud sync configuration parameters, including callback_url and sync_interval, without sanitizing shell metacharacters before passing them to underlying OS command execution (CWE-78: Improper Neutralization of Special Elements used in an OS Command). The CPE cpe:2.3:a:d-link:dns-340l:*:*:*:*:*:*:*:* covers the affected product version 1.01B04. Exploitation yields arbitrary command execution in the security context of the web server process, which on embedded NAS devices typically runs with elevated or root-equivalent privileges.
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:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
Network-reachable CGI endpoint with low-privilege auth (PR:L); OS command injection on embedded NAS implies scope change and full system compromise.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability was found in D-Link DNS-340L 1.01B04. Affected by this issue is some unknown functionality of the file /cgi-bin/dropbox.cgi of the component CGI Handler. Performing a manipulation of the argument callback_url/sync_interval results in os command injection. The attack can be initiated remotely. The exploit has been made public and could be used.
Articles & Coverage 2
Technical POC Analysis
The confirmed bug is OS command injection (CWE-78) in cgi/backupmgr/dropbox.cgi, exposed as /cgi-bin/dropbox.cgi on D-Link DNS-340L REVA firmware 1.01B04 (binary SHA1 e11a4060d7042446b3cf36e4bb8bbd0b…
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
The D-Link DNS-340L NAS in firmware version 1.01B04 contains an OS command injection vulnerability that allows authenticated network users to execute arbitrary operating system commands with device-level privileges. Organizations using this legacy appliance face risk from compromised administrator credentials, insider threats, or lateral movement if the device is connected to corporate networks. With no vendor patch available and the product end-of-life, remediation requires network isolation or replacement.
Network segmentation to restrict D-Link DNS-340L access to trusted networks only; firewall policies blocking access to CGI handlers and administrative ports; disabling non-essential Dropbox synchronization features; enforcing strong authentication controls and multi-factor authentication for any accounts with NAS access; continuous monitoring of access logs for exploitation attempts; and immediate planning for hardware decommissioning and replacement with actively maintained NAS platforms.
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 and DNS-345 NAS devices exposes authenticated administrators to arbitrary system
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-70766
GHSA-hq96-v7ff-6hfp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB