Skip to main content

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

| EUVDEUVD-2026-70766 HIGH
OS Command Injection (CWE-78)
2026-09-03 VulDB GHSA-hq96-v7ff-6hfp
8.6
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Obtain NAS credentials (default or stolen)
  2. Delivery
    Send crafted HTTP request to /cgi-bin/dropbox.cgi
  3. Exploit
    Inject shell metacharacters in callback_url or sync_interval
  4. Execution
    CGI handler executes unsanitized OS command
  5. Impact
    Arbitrary 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 /cgi-bin/dropbox.cgi CGI handler must be accessible - it is reachable over the network (AV:N) when the management interface is exposed. The Dropbox sync feature specifically must be present in the CGI handler, which is confirmed for firmware version 1.01B04. Exploitation is limited by the need for valid NAS credentials; however, legacy NAS devices frequently retain factory default credentials or use simple passwords, making this a realistic barrier to clear. No additional platform-specific or configuration-specific prerequisites are identified beyond authenticated network access to the web management port.

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 /cgi-bin/dropbox.cgi with a shell metacharacter-laden callback_url or sync_interval parameter (e.g., callback_url=http://x.com; id; #). The CGI handler passes the unsanitized argument to an OS shell function, executing the injected command in the context of the web server process. A public PoC demonstrates this technique, lowering the skill bar for exploitation.

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

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

Alert me

AnalysisAIv2 – 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)
v1 Sep 03, 2026 - 21:51 CVSS 9.4

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

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

Vendor (VulDB) PRIMARY 8.6 CRITICAL
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
vuln.today AI 9.9 CRITICAL

Network-reachable CGI endpoint with low-privilege auth (PR:L); OS command injection on embedded NAS implies scope change and full system compromise.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/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
Low
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

Lifecycle Timeline

4
Analysis Updated
Sep 03, 2026 - 22:30 vuln.today
v2 - CVSS changed
Severity Changed
Sep 03, 2026 - 22:22 NVD
CRITICAL HIGH
CVSS changed
Sep 03, 2026 - 22:22 NVD
9.4 (CRITICAL) 8.6 (HIGH)
CVE Published
Sep 03, 2026 - 21:15 cve.org
CRITICAL 9.4

DescriptionCVE.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.

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
1.6%
Top 25% exploitable
Prevalence
Low
Aging D-Link NAS product, limited enterprise footprint, likely end-of-life
Data Quality
6 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 Yes
EPSS 1.6%
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

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

CVE-2026-82688 HIGH POC
8.5 Aug 31

OS command injection in D-Link DNS-340L and DNS-345 NAS devices exposes authenticated administrators to arbitrary system

CVE-2026-82691 HIGH POC
8.5 Aug 31

OS command injection in D-Link DNS-320L, DNS-327L, DNS-340L, and DNS-345 NAS devices allows remote authenticated attacke

CVE-2026-4213 HIGH POC
8.8 Mar 16

Stack-based buffer overflow in D-Link DNS storage appliances (DNS-120, DNS-340L, DNS-1200-05 and others) through the /cg

CVE-2026-4214 HIGH POC
8.8 Mar 16

Stack-based buffer overflow in D-Link NAS devices (DNS-120, DNR-202L, DNS-315L, DNS-320 series, DNS-326, DNS-1100-4, and

CVE-2026-4212 HIGH POC
8.8 Mar 16

Stack-based buffer overflow in D-Link DNS NAS devices (DNS-120 through DNS-1550-04) allows authenticated attackers to ac

CVE-2026-4211 HIGH POC
8.8 Mar 16

Stack-based buffer overflow in D-Link DNS and DNR network storage devices allows authenticated remote attackers to execu

CVE-2026-82692 HIGH POC
8.6 Aug 31

OS command injection in D-Link DNS-340L and DNS-345 NAS appliances (firmware through 20260717) allows authenticated netw

CVE-2026-82689 HIGH POC
8.6 Aug 31

OS command injection in D-Link DNS-320L, DNS-327L, DNS-340L, and DNS-345 NAS devices allows a low-privileged remote atta

CVE-2026-82690 HIGH POC
8.5 Aug 31

OS command injection in D-Link DNS-327L and DNS-340L NAS devices (all firmware versions through 20260717) allows a remot

CVE-2026-5212 HIGH POC
7.4 Mar 31

Stack-based buffer overflow in D-Link NAS devices enables authenticated remote attackers to execute arbitrary code with

CVE-2026-5214 HIGH POC
7.4 Mar 31

Stack-based buffer overflow in D-Link NAS device management interfaces allows authenticated remote attackers to execute

CVE-2026-5213 HIGH POC
7.4 Mar 31

Stack-based buffer overflow in D-Link NAS devices allows authenticated remote attackers to achieve complete system compr

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