Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials
-
DeliveryAccess web management interface
-
ExploitCraft malicious CGI request
-
ExecutionInject OS command via unsanitized parameter
-
PersistExecute arbitrary code as root
-
ImpactEstablish persistence or lateral movement
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 | Authentication as a D-Link DNS-320 administrator (high privilege) is required; the attack cannot be performed by unauthenticated remote users. The vulnerable CGI functions (cgi_set_host, cgi_set_ntp, cgi_fan_control, cgi_merge_user) must be enabled in the web interface-they are enabled by default in firmware 2.06B01 and likely in other versions. No special device configuration or non-default feature enablement is documented as a prerequisite. The device must be accessible via HTTP/HTTPS on the network (default ports 80/443); if administrative access is blocked by firewall rules or the device is isolated, exploitation is prevented. The limiting factor is the requirement for valid administrative credentials-an attacker cannot execute commands without first compromising or obtaining the admin password. |
| Impact | Risk is MODERATE-TO-HIGH despite the 5.1 CVSS score due to conflicting signals. CVSS correctly penalizes this as PR:H (high privilege required), but several factors elevate real-world concern: (1) AV:N/AC:L indicates the attack surface is directly network-accessible and requires no special conditions-any authenticated admin can trigger it; (2) CWE-78 OS command injection is a high-impact flaw category often exploited for lateral movement or persistence post-breach; (3) DNS-320 is a small-office NAS device where admin credentials may be shared, weak, or compromised by supply-chain/firmware vulnerabilities; (4) No patch version is documented, suggesting the vendor has not released a fix; (5) lack of EPSS or KEV data means exploitation likelihood is unknown, but the simplicity of command injection (AC:L) and direct network access (AV:N) suggest it would be trivial to weaponize if admin access is obtained. LIMITATION: CVSS PR:H constraint is realistic for this appliance class-remote admin access is required-but defenders must assess whether that requirement is truly restrictive in their threat model (e.g., compromised admin account, shared credentials, insider threat). This is NOT a network-wide worm vector but IS a critical lateral-movement or persistence tool for an attacker who has already compromised administrative access. |
| Exploit ScenarioDerived | An authenticated administrator (or attacker who has obtained admin credentials via phishing, password reuse, or firmware backdoor) connects to the DNS-320 web interface and submits a POST request to /cgi-bin/system_mgr.cgi with crafted parameters to cgi_set_host or another vulnerable function, injecting shell metacharacters (e.g., backticks or $() command substitution) into the hostname field. The server processes the input without sanitization, executing the injected OS command (e.g., |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 11, 2026
OS command injection in D-Link DNS-320 firmware 2.06B01 allows remote authenticated administrators to execute arbitrary system commands via unsanitized input to multiple CGI functions (cgi_set_host, cgi_set_ntp, cgi_fan_control, cgi_merge_user) in /cgi-bin/system_mgr.cgi. CVSS 5.1 reflects high-privileged access requirement (PR:H) mitigating network-accessible attack vector; however, the ability to inject OS commands via CGI endpoints creates significant risk in multi-user or compromised-admin scenarios. No public exploit code or active exploitation confirmed at time of analysis.
RemediationAI
Immediate action: contact D-Link support at https://www.dlink.com/ to obtain a patched firmware version for DNS-320; no fixed version is currently documented in the public record. Pending patch availability, implement network-level mitigations: (1) Restrict network access to /cgi-bin/system_mgr.cgi to trusted IP addresses only using firewall or local ACLs-disable remote administrative access if feasible and rely on local management; (2) Change administrative credentials to a strong, unique password and audit login logs for unauthorized access; (3) Disable unused CGI functions (cgi_set_host, cgi_set_ntp, cgi_fan_control, cgi_merge_user) if not actively required, or block HTTP POST requests to these endpoints at the firewall; (4) Monitor system logs for suspicious command execution (e.g., unexpected processes, network connections from root user); (5) Segment the DNS-320 onto a restricted management VLAN separate from production workstations. These mitigations assume the admin account itself has not been compromised; if breach is suspected, assume arbitrary code execution and plan incident response accordingly.
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 vulnerability resides in the system_mgr.cgi web interface of the D-Link DNS-320 network storage device, which handles administrative functions including host configuration, NTP settings, fan control, and user management. The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command), indicating that user-supplied input to multiple CGI parameters is passed directly or insufficiently sanitized to system shell commands. The DNS-320 is a SOHO NAS appliance that exposes CGI endpoints for remote management; the affected functions process admin-supplied configuration data without proper escaping or validation, allowing shell metacharacters (backticks, pipes, semicolons, command substitution) to break out of intended commands and execute arbitrary code in the context of the web server process (typically root on embedded Linux).
Know when Dns 320 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:L/VI:L/VA:L/SC:N/SI:N/SA:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
A weakness has been identified in D-Link DNS-320 2.06B01. This impacts the function cgi_set_host/cgi_set_ntp/cgi_fan_control/cgi_merge_user of the file /cgi-bin/system_mgr.cgi. This manipulation causes os command injection. It is possible to initiate the attack remotely.
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.
Related Vulnerabilities in D-Link DNS-320 Command Injection Flaws
View all 3Stack-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
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
Stack-based buffer overflow in D-Link NAS devices enables remote code execution with high integrity impact for authentic
Unrestricted file upload in D-Link DNS-320 firmware 1.0.2 allows remote unauthenticated attackers to upload arbitrary fi
Unrestricted file upload in D-Link DNS-320 1.0.2 exposes the device to remote exploitation through the `/mydlink/multi_u
Unrestricted file upload in D-Link DNS-320 NAS firmware 1.0.2 exposes the /photo_center/php/uploadify.php endpoint to un
Improper access controls in D-Link network-attached storage devices (DNS-120 through DNS-1550-04, firmware versions up t
EUVD-2026-29031
GHSA-5jp6-jc7m-x7q9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB