CVE-2026-4213
8.8D-Link · DNS and DNR series NAS devices
A stack-based buffer overflow exists in multiple D-Link NAS devices due to improper input validation in the cgi_myfavorite_verify function, allowing remote attackers to trigger a crash or code execution.
Executive summary
A critical stack-based buffer overflow vulnerability in various D-Link network storage devices allows remote attackers to compromise system integrity and availability.
Vulnerability
The vulnerability is located within the /cgi-bin/gui_mgr.cgi endpoint, specifically in the cgi_myfavorite_verify function. An authenticated attacker can send a maliciously crafted HTTP POST request containing an overly long f_lst parameter, which triggers a stack-based buffer overflow and permits arbitrary code execution.
Business impact
Successful exploitation of this vulnerability allows an attacker to execute arbitrary code or cause a persistent denial of service on affected storage devices. Given the CVSS score of 8.8, this represents a high risk to business operations, as these devices often house sensitive data backups. Compromise of these units could lead to unauthorized access to stored corporate information or total loss of data availability.
Remediation
Immediate Action: Monitor official D-Link support channels for firmware updates that address this buffer overflow. If no patch is currently available, restrict access to the management interface of the affected devices to trusted internal IP addresses only.
Proactive Monitoring: Review web server access logs for anomalous POST requests directed at /cgi-bin/gui_mgr.cgi, particularly those containing unusually long strings within the f_lst parameter.
Compensating Controls: Deploy a Web Application Firewall (WAF) rule to inspect and block HTTP requests to the /cgi-bin/gui_mgr.cgi endpoint that contain excessive data lengths in the f_lst field.
Exploitation status
Public Exploit Available: Yes, a published proof-of-concept exists and is documented in the technical write-up referenced in the CVE record.
Analyst recommendation
Due to the availability of proof-of-concept code and the critical impact of remote code execution, this vulnerability poses a significant risk to the integrity of backup infrastructure. Administrators should prioritize isolating these devices from external networks immediately and apply the vendor-provided firmware update as soon as it becomes available.
More D-Link CVEs
Sources
Originally found and disclosed by pjqwudi (VulDB User), per the CVE Program record.
- VDB-351124 | D-Link DNS-1550-04 gui_mgr.cgi cgi_myfavorite_verify stack-based overflow Vulnerability database entry
- VDB-351124 | CTI Indicators (IOB, IOC, IOA)
- Submit #770443 | D-Link DNS-120/202L/315L/320/320L/320LW/321/322L/323/325/326/327L/326/340L/343/345/726-4/1100-4/1200-05 Third-party advisory
- Submit #770444 | D-Link DNS-120/202L/315L/320/320L/320LW/321/322L/323/325/326/327L/326/340L/343/345/726-4/1100-4/1200-05 Third-party advisory
- Related
- Exploit / PoC
- dlink.com