Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to D-Link NAS management interface
-
DeliverySend crafted HTTP request to /cgi-bin/account_mgr.cgi
-
ExploitOverflow Name parameter in cgi_addgroup_get_group_quota_minsize
-
ExecutionOverwrite stack memory
-
ImpactExecute arbitrary code on device
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique 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 | Requires: network access (remote), low-privilege authentication. |
| Impact | The CVSS base score of 8.8 (High) accurately reflects severe potential impact-complete compromise of confidentiality, integrity, and availability. However, real-world risk requires nuanced assessment. The CVSS vector reveals authentication is required (PR:L), meaning attackers need valid credentials before exploitation, significantly reducing attack surface compared to unauthenticated vulnerabilities. Attack complexity is low (AC:L) and no user interaction needed (UI:N), making exploitation straightforward once authenticated. The critical risk amplifier is public exploit availability: a detailed proof-of-concept exists on GitHub with step-by-step reproduction, eliminating research overhead for adversaries. The network attack vector (AV:N) enables remote exploitation without physical access. These D-Link NAS models are commonly deployed in small-to-medium business and home office environments, often with default or weak credentials and exposed management interfaces. The absence of CISA KEV listing suggests no confirmed large-scale active exploitation campaigns, but the public POC and aging device population (many models discontinued or approaching end-of-life) create persistent exposure. Organizations should prioritize this based on asset exposure: internet-facing devices with weak authentication represent critical risk; internal-only deployments with strong credential hygiene represent moderate risk. The exploitability metrics (E:P indicating proof-of-concept exists) and lack of remediation level data (RL:X) suggest vendor response may be limited for EOL products. |
| Exploit ScenarioDerived | An attacker conducts reconnaissance against an organization's perimeter and discovers a D-Link DNS-320L NAS device with its web management interface exposed on port 80/443. Using credential stuffing with common default credentials or previously compromised passwords from corporate breaches, the attacker successfully authenticates to the account management interface. The attacker then crafts an HTTP request to /cgi-bin/account_mgr.cgi with an oversized Name parameter value (exceeding buffer capacity) containing shellcode designed to spawn a reverse shell. The vulnerable cgi_addgroup_get_group_quota_minsize function copies this malicious input into a fixed-size stack buffer without bounds checking, overwriting the saved return address. When the function returns, execution redirects to attacker-controlled shellcode, granting command execution as the web server user (typically root or administrator-equivalent on embedded NAS devices). The attacker establishes persistence, exfiltrates sensitive file shares, and pivots to internal network resources using the compromised NAS as a beachhead. The publicly available GitHub POC at https://github.com/wudipjq/my_vuln/blob/main/D-Link8/vuln_169/169.md provides step-by-step exploitation instructions, making this scenario accessible to attackers with moderate technical skill. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 31, 2026
Stack-based buffer overflow in D-Link NAS device management interfaces allows authenticated remote attackers to execute arbitrary code with high impact across 21 product models. The vulnerability resides in the cgi_addgroup_get_group_quota_minsize function within /cgi-bin/account_mgr.cgi, exploitable via malicious Name parameter input. Public exploit code exists on GitHub, significantly lowering the technical barrier for attacks. Authentication is required (PR:L), but once authenticated, attackers achieve full confidentiality, integrity, and availability compromise. EPSS and KEV status not provided, but the combination of public POC, network accessibility (AV:N), low complexity (AC:L), and widespread device deployment represents material risk to organizations using affected D-Link NAS products.
RemediationAI
No vendor-released patch has been independently confirmed from the available data sources. Organizations operating affected D-Link NAS devices should immediately implement defense-in-depth controls: restrict access to the /cgi-bin/account_mgr.cgi interface to trusted management networks only using firewall rules or VLAN segmentation; disable internet-facing management interfaces entirely if remote administration is not operationally required; enforce strong, unique administrative passwords and disable default accounts; implement network intrusion detection signatures to identify exploitation attempts targeting the vulnerable CGI endpoint; and monitor authentication logs for suspicious account activity. Given the age of affected product lines and D-Link's historical approach to legacy device support, customers should evaluate migration to currently-supported NAS solutions with active security maintenance. Contact D-Link technical support directly to inquire about security update availability for your specific model and firmware version, referencing CVE-2026-5214. Consult the official D-Link security advisory page and the vulnerability disclosure at https://vuldb.com/vuln/354349 for any emerging remediation guidance.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability affects the account management CGI interface in D-Link Network Attached Storage (NAS) devices, specifically targeting the cgi_addgroup_get_group_quota_minsize function responsible for processing group quota parameters. The flaw is classified as CWE-121 (Stack-based Buffer Overflow), occurring when the application fails to validate the length of user-supplied data in the Name parameter before copying it to a fixed-size stack buffer. The affected CGI binary at /cgi-bin/account_mgr.cgi processes administrative account management requests, making it a privileged component. The vulnerability spans 21 distinct D-Link NAS product lines including DNS and DNR series devices, all sharing common firmware codebase or inherited vulnerable code patterns. Stack-based overflows are particularly dangerous because they can overwrite return addresses and function pointers on the call stack, enabling control-flow hijacking and arbitrary code execution in the context of the web server process, which typically runs with elevated privileges on embedded NAS devices.
Know when Dnr 202l 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:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was found in D-Link DNS-120, DNR-202L, DNS-315L, DNS-320, DNS-320L, DNS-320LW, DNS-321, DNR-322L, DNS-323, DNS-325, DNS-326, DNS-327L, DNR-326, DNS-340L, DNS-343, DNS-345, DNS-726-4, DNS-1100-4, DNS-1200-05 and DNS-1550-04 up to 20260205. Impacted is the function cgi_addgroup_get_group_quota_minsize of the file /cgi-bin/account_mgr.cgi. The manipulation of the argument Name results in stack-based buffer overflow. The attack may be performed from remote. The exploit has been made public and could be used.
Executive ViewAI
CVE-2026-5214 is a stack-based buffer overflow affecting 21 D-Link NAS device models that allows authenticated users to execute arbitrary code with complete system compromise. Organizations deploying these NAS systems face immediate risk of data theft, ransomware deployment, and lateral network movement, particularly critical given the public availability of working exploit code and the devices' typical role in centralized data storage.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to /cgi-bin/account_mgr.cgi via firewall or WAF rules to trusted administrative IPs only; (2) Disable remote management interfaces if not operationally required; (3) Implement strict account access controls and disable unnecessary user accounts to reduce authenticated attack surface; (4) Deploy network segmentation to isolate NAS devices from critical systems and user workstations; (5) Enable enhanced logging and monitoring for authentication events and CGI-bin access patterns.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
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
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 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
Improper access controls in D-Link network-attached storage devices (DNS-120 through DNS-1550-04, firmware versions up t
Command injection in D-Link NAS devices (DNS-320, DNS-327L, DNS-345 and others) through the time_machine.cgi script allo
A security vulnerability in A flaw (CVSS 6.3). Risk factors: public PoC available.
A security vulnerability in A vulnerability (CVSS 6.3). Risk factors: public PoC available.
A security vulnerability in A vulnerability (CVSS 6.3). Risk factors: public PoC available.
EUVD-2026-17688
GHSA-46rv-vf36-7m9j
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB