A command injection vulnerability in the D-Link DNS-340L dropbox.cgi handler allows authenticated remote attackers to execute arbitrary OS commands vi...
Description
A command injection vulnerability in the D-Link DNS-340L dropbox.cgi handler allows authenticated remote attackers to execute arbitrary OS commands via manipulated POST parameters.
AI Analyst Comment
Remediation
Update D-Link DNS-340L to the latest version. Monitor for exploitation attempts and review access logs.
---METADATA---
VENDOR: D-Link
PRODUCT: DNS-340L ShareCenter
AFFECTED_VERSIONS: 1.01B04
CONFIDENCE: high
MISSING: patch
PROFILE: daily@7c4e524780a4
MODEL: gemini-3.1-flash-lite
GENERATED: 2026-09-04T09:03:17.529Z
CREDITS: ST4R0001 (VulDB User) (reporter)
SOURCES_JSON: [{"url":"https://vuldb.com/vuln/398422","name":"VDB-398422 | D-Link DNS-340L CGI dropbox.cgi os command injection","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/398422/cti","name":"VDB-398422 | CTI Indicators (IOB, IOC, TTP, IOA)","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/cve/CVE-2026-85223","name":"CVE-2026-85223 | CVE Analysis and Report","tags":["third-party-advisory"]},{"url":"https://vuldb.com/submit/894213","name":"Submit #894213 | D-Link DNS-340L ShareCenter confirmed DNS-340L firmware builds OS Command Injection","tags":["third-party-advisory"]},{"url":"https://github.com/dxz0069/WAVLINK-WN530H4-Command-Injection-in-set_add_routing/blob/main/DLINK-CMD-008-vulndb.md","name":null,"tags":["exploit"]},{"url":"https://www.dlink.com/","name":null,"tags":["product"]}]
---END_METADATA---
Description Summary:
A command injection vulnerability in the D-Link DNS-340L dropbox.cgi handler allows authenticated remote attackers to execute arbitrary OS commands via manipulated POST parameters.
Executive Summary:
A critical OS command injection vulnerability in the D-Link DNS-340L ShareCenter allows authenticated remote attackers to execute arbitrary commands, posing a severe risk of full system compromise.
Vulnerability Details
CVE-ID: CVE-2026-85223
Affected Software: D-Link DNS-340L ShareCenter
Affected Versions: 1.01B04
Vulnerability: The application fails to properly sanitize input in the
callback_urlandsync_intervalparameters within thedropbox.cgiscript. An authenticated attacker can inject shell metacharacters into these parameters, which are then passed to a system shell for execution by thedropnasctlutility.Business Impact
Successful exploitation grants an attacker the ability to execute arbitrary code with the privileges of the CGI process. This can lead to complete system takeover, unauthorized access to sensitive backup data, or the disruption of NAS services. Given the CVSS score of 9.9, this vulnerability represents a critical security risk that could result in significant data loss or operational downtime.
Remediation Plan
Immediate Action: As no patch is currently identified, administrators should restrict access to the web management interface to trusted internal networks only. If the Dropbox synchronization feature is not business-critical, disable it immediately through the administrative interface.
Proactive Monitoring: Monitor system logs for unusual process execution patterns or attempts to invoke shell-related characters in network requests directed at the
/cgi-bin/dropbox.cgiendpoint.Compensating Controls: Deploy a Web Application Firewall (WAF) to inspect POST requests and filter out suspicious shell metacharacters, such as semicolons and command substitution sequences, within the
callback_urlandsync_intervalfields.Exploitation Status
Public Exploit Available: Yes, a proof-of-concept exists as documented in the provided technical research write-up.
Analyst Notes: As of Sep 3, 2026, there is no confirmed active exploitation in the wild; however, a public proof-of-concept exists via the researcher's published write-up, so exploitation risk should be treated as credible. The vulnerability is highly exploitable due to the lack of input validation on user-controlled parameters passed directly to the system shell.
Analyst Recommendation
This vulnerability is critical due to the potential for full remote command execution. Security teams must prioritize isolating affected NAS devices from public internet access. Until a vendor-supplied firmware update is released, users must rely on network segmentation and internal access restrictions to prevent unauthorized exploitation of this flaw.