Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain admin credentials
-
DeliveryAuthenticate to DNS-320 web interface
-
ExploitCraft HTTP request with command injection payload
-
InstallSubmit to /cgi-bin/network_mgr.cgi vulnerable CGI function
-
C2Payload reaches OS command executor
-
ExecuteExecute arbitrary system command
-
ImpactImpact target device or network
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 high-privilege administrative authentication to the D-Link DNS-320 web interface - this is not unauthenticated remote exploitation. The attacker must have valid admin credentials or session token to submit requests to /cgi-bin/network_mgr.cgi. No special device configuration beyond standard NAS deployment is required; any D-Link DNS-320 with firmware 2.06B01 running the vulnerable CGI scripts is at risk if admin access is compromised. Network accessibility (AV:N) applies only post-authentication; external attackers without admin credentials cannot exploit this directly from the internet without first gaining valid credentials or bypassing authentication. The vulnerability is triggered when any of the eight vulnerable CGI parameters (cgi_speed, cgi_dhcpd_lease, cgi_ddns, cgi_set_ip, cgi_upnp_del, cgi_dhcpd, cgi_upnp_add, cgi_upnp_edit) receive unsanitized input containing shell metacharacters or command separators. |
| Impact | CVSS 4.0 (PR:H/AV:N) indicates high privilege requirement, which significantly constrains real-world exploitation. The CVSS vector shows limited impact (VC:L/VI:L/VA:L with no scope change), suggesting the attacker gains only limited confidentiality, integrity, and availability impact within the application context. However, the presence of publicly available exploit code (POC:YES) and documented command injection primitives elevate practical risk for authenticated administrators with malicious intent or compromised admin credentials. The E:P (exploit maturity: proof-of-concept) designation aligns with the GitHub repository containing working payloads. Key tension: network accessibility (AV:N) combined with command injection (CWE-78) creates high theoretical privilege escalation potential if an attacker obtains admin credentials, but CVSS score (2.0) does not reflect this because the scoring assumes the attacker is already authenticated and inside the trust boundary. This is not a high-priority vulnerability for external threat actors lacking admin access, but is critical for insider threats or lateral movement scenarios where admin credentials are compromised. |
| Exploit ScenarioDerived | An attacker with valid administrative credentials (obtained through credential compromise, phishing, or insider threat) sends a crafted HTTP POST request to /cgi-bin/network_mgr.cgi with OS command injection payload in one of the vulnerable parameters (e.g., cgi_set_ip with shell metacharacters). The parameter is passed to a system command executor without sanitization, allowing execution of arbitrary commands with the privileges of the web server process on the NAS device. The attacker could exfiltrate data, pivot to other systems on the network, or modify device configuration. |
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 attackers with high privileges to execute arbitrary system commands via multiple CGI parameters in /cgi-bin/network_mgr.cgi (cgi_speed, cgi_dhcpd_lease, cgi_ddns, cgi_set_ip, cgi_upnp_del, cgi_dhcpd, cgi_upnp_add, cgi_upnp_edit). Publicly available exploit code exists and the vulnerability has been documented with proof-of-concept on GitHub.
RemediationAI
Upgrade D-Link DNS-320 to a patched firmware version released by D-Link. However, no specific patched version number is confirmed in the available advisory data; users should check the official D-Link support page (https://www.dlink.com/) for the latest firmware release addressing CVE-2026-8271 and apply immediately. Until a patch is available or confirmed, restrict network access to the DNS-320 web interface (/cgi-bin/network_mgr.cgi) by implementing firewall rules to limit administrative access to trusted internal IPs only, and disable remote administration if enabled. Change default and weak administrative credentials to strong, unique passwords. Monitor admin account activity for anomalous CGI parameter submissions to the vulnerable functions (cgi_speed, cgi_dhcpd_lease, cgi_ddns, cgi_set_ip, cgi_upnp_del, cgi_dhcpd, cgi_upnp_add, cgi_upnp_edit). Mitigation trade-off: blocking CGI script access entirely will disable network configuration via web interface, requiring console or SSH access for administration.
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
D-Link DNS-320 is a network-attached storage (NAS) device that exposes administrative CGI scripts for network configuration via a web interface at /cgi-bin/network_mgr.cgi. The vulnerability stems from insufficient input validation in multiple CGI handler functions that process network configuration parameters (IP settings, DHCP leases, DDNS configuration, UPnP control). These parameters are passed unsanitized to system command execution functions, violating CWE-78 (Improper Neutralization of Special Elements used in an OS Command). The attack vector is network-based but requires high privilege authentication, indicating this affects administratively-accessible web interfaces of the device.
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/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was identified in D-Link DNS-320 2.06B01. The impacted element is the function cgi_speed/cgi_dhcpd_lease/cgi_ddns/cgi_set_ip/cgi_upnp_del/cgi_dhcpd/cgi_upnp_add/cgi_upnp_edit of the file /cgi-bin/network_mgr.cgi. The manipulation leads to os command injection. The attack is possible to be carried out remotely. The exploit is publicly available and might be used.
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 version 1.0.2 allows unauthenticated remote attackers to upload arbi
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 NAS firmware 1.0.2 exposes unauthenticated remote attackers to arbitrary PHP
Unrestricted file upload in D-Link DNS-320 NAS firmware 1.0.2 exposes the `/web/web_file/upload.php` endpoint to unauthe
EUVD-2026-29029
GHSA-55jg-7rxj-hh46
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB