Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as valid user
-
ExploitSend crafted read_list parameter to /cgi-bin/account_mgr.cgi
-
ExecutionOverflow stack buffer in cgi_adduser_to_session function
-
ImpactExecute arbitrary code on NAS 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 | This vulnerability presents elevated real-world risk despite requiring authentication (PR:L). The CVSS vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H scores 8.8 with network attack vector, low complexity, and complete confidentiality/integrity/availability impact. Critically, publicly available exploit code exists (E:P confirmed in CVSS temporal metrics and GitHub POC reference), dramatically lowering the barrier for exploitation. Authentication requirements are minimal-low-privilege credentials suffice, which may be obtainable through credential stuffing, default credentials, or prior compromise. The affected devices are network-attached storage systems often exposed to local networks or internet-facing for remote access, expanding attack surface. No CISA KEV listing indicates no confirmed mass exploitation campaigns yet, but the combination of public exploit, network accessibility, authentication bypass potential via default credentials, and complete system impact makes this a priority for organizations running affected D-Link NAS devices. EPSS data not provided, but technical factors suggest moderate-to-high exploitation probability. |
| Exploit ScenarioDerived | An attacker identifies an internet-exposed D-Link DNS-320L NAS device through Shodan reconnaissance, discovering the default web interface on port 80. Using commonly documented default credentials or credentials obtained from credential dumps, the attacker authenticates with low-privilege user access. Leveraging the publicly available GitHub proof-of-concept exploit, they craft a malicious HTTP request to /cgi-bin/account_mgr.cgi with an oversized read_list parameter containing shellcode. The stack-based buffer overflow overwrites the return address, redirecting execution to attacker-controlled code that establishes a reverse shell with root privileges, granting complete control over the NAS device and stored data. |
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 devices allows authenticated remote attackers to achieve complete system compromise with high-confidence exploitation. Affects 20+ D-Link DNS and DNR series network storage products through firmware versions released until February 5, 2026. Publicly available exploit code exists targeting the account_mgr.cgi component, enabling remote code execution with low attack complexity once authenticated. CVSS 8.8 (High) with confirmed proof-of-concept demonstrates practical exploitability despite requiring low-privilege authentication.
RemediationAI
Organizations should immediately check for firmware updates from D-Link's official support portal at https://www.dlink.com/ for their specific device models. Patch availability per vendor advisory should be verified for each affected model, as many devices may be end-of-life products no longer receiving security updates. If vendor-released patches are unavailable for legacy devices, implement network-level mitigations: isolate affected NAS devices on segmented VLANs with strict firewall rules, disable web management interface remote access, restrict administrative access to trusted IP addresses only, enforce strong credential policies eliminating default passwords, and consider migrating data to supported hardware. Monitor authentication logs for suspicious account_mgr.cgi access patterns and failed login attempts. Given the public exploit availability, exploitation attempts may occur, making compensating controls critical when patches are unavailable. For business-critical deployments on end-of-life hardware, plan immediate hardware replacement with currently supported storage solutions.
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
The vulnerability resides in the cgi_adduser_to_session function within /cgi-bin/account_mgr.cgi, a CGI-based account management interface common to D-Link's network-attached storage product line. The flaw is classified as CWE-121 (Stack-based Buffer Overflow), occurring when the read_list parameter is processed without proper bounds checking. When oversized input is supplied to this argument, user-controlled data overwrites adjacent stack memory, enabling arbitrary code execution. This affects the web management interface authentication subsystem across multiple product generations including DNS-120, DNR-202L, DNS-315L, DNS-320 series, 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 models. The CGI architecture's direct memory manipulation without modern protections makes classic stack overflow exploitation viable.
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 Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was determined 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. The affected element is the function cgi_adduser_to_session of the file /cgi-bin/account_mgr.cgi. This manipulation of the argument read_list causes stack-based buffer overflow. It is possible to initiate the attack remotely. The exploit has been publicly disclosed and may be utilized.
Executive ViewAI
D-Link NAS devices (DNS and DNR series) contain a stack-based buffer overflow in the account_mgr.cgi component that allows authenticated users to execute arbitrary code and achieve complete system compromise. This vulnerability affects 20+ NAS models with firmware versions through February 5, 2026, and poses immediate risk to organizations using these devices for centralized storage and backup, as internal users or compromised accounts can escalate to full device control.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict account_mgr.cgi access via network-level controls and WAF rules; (2) enforce multi-factor authentication for all NAS administrative accounts to limit authenticated attack surface; (3) implement network segmentation isolating NAS devices from general user networks; (4) enable detailed access logging and monitoring for all NAS management interface activity; (5) consider temporary disconnection of non-critical NAS systems from network until patch availability is confirmed.
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 device management interfaces allows authenticated remote attackers to execute
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-17663
GHSA-rgch-x4h6-m876
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB