Vulnerability record · CVE-2024-10914 · published 6 November 2024
CVE-2024-10914: D-Link NAS account_mgr.cgi OS command injection via name parameter
Dlink · Dns 320 Firmware
D-Link DNS-320, DNS-320LW, DNS-325 and DNS-340L NAS devices up to firmware 20241028 contain an OS command injection in the cgi_user_add function of /cgi-bin/account_mgr.cgi, reached through the name argument. The flaw is rated critical (CVSS 4.0 9.2) and a public exploit exists, so unpatched devices are at serious risk. D-Link has reportedly stated it will not fix the issue on these older models.
Description
A vulnerability was found in D-Link DNS-320, DNS-320LW, DNS-325 and DNS-340L up to 20241028. It has been declared as critical. Affected by this vulnerability is the function cgi_user_add of the file /cgi-bin/account_mgr.cgi?cmd=cgi_user_add. The manipulation of the argument name leads to os command injection. The attack can be launched remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used.
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:
Automated analysis
critical priorityCVSS 9.2 with no authentication or interaction required, a public exploit, and an extremely high EPSS score make this an urgent risk despite high attack complexity and no vendor fix.
What it is
D-Link DNS-320, DNS-320LW, DNS-325 and DNS-340L NAS devices up to firmware 20241028 contain an OS command injection in the cgi_user_add function of /cgi-bin/account_mgr.cgi, reached through the name argument. The flaw is rated critical (CVSS 4.0 9.2) and a public exploit exists, so unpatched devices are at serious risk. D-Link has reportedly stated it will not fix the issue on these older models.
Impact
A remote attacker can execute arbitrary operating system commands on the NAS, leading to full compromise of the device and any data or credentials it holds. Because the device is a storage appliance, this can expose backups and shared files.
Attack surface
The vulnerability is network-reachable via HTTP requests to /cgi-bin/account_mgr.cgi with cmd=cgi_user_add, and the CVSS vector indicates no privileges (PR:N) and no user interaction (UI:N) are required. Attack complexity is rated high (AC:H), so exploitation depends on conditions such as reaching the management interface and crafting a valid request.
Exploitation
A public exploit has been disclosed and tagged as Exploit in the references, and EPSS is very high (0.96183, 99.876th percentile), indicating likely active exploitation. The CVE is not listed in CISA KEV, so no confirmed in-the-wild campaign is documented in this record.
What to do
- Apply any vendor firmware update if one becomes available; D-Link has reportedly declined to fix these end-of-life models, so treat patching as unlikely.
- Isolate affected NAS devices from the internet and restrict management access to a trusted internal network or VPN.
- Disable or block access to /cgi-bin/account_mgr.cgi where feasible, and disable unused remote management features.
- Replace end-of-life DNS-320/320LW/325/340L units with supported hardware if they cannot be secured.
- Monitor and log HTTP requests to the CGI interface for suspicious name parameter values.
Detection
- Inspect web server or proxy logs for requests to /cgi-bin/account_mgr.cgi with cmd=cgi_user_add and shell metacharacters in the name parameter.
- Alert on unexpected outbound connections or process execution from NAS devices, which may indicate command injection success.
- Monitor for new or unexpected user accounts created on the NAS via the account manager interface.
- Watch for repeated or anomalous POST requests to the CGI endpoint from external or untrusted source addresses.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://netsecfish.notion.site/Command-Injection-Vulnerability-in-name-parameter-for-D-Link-NAS-12d6b683e67c80c49ffcc921 | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.283309 | Permissions Required |
| https://vuldb.com/?id.283309 | Permissions RequiredThird Party Advisory |
| https://vuldb.com/?submit.432847 | Third Party Advisory |
| https://www.dlink.com/ | Product |
| https://www.bleepingcomputer.com/news/security/d-link-wont-fix-critical-flaw-affecting-60-000-older-nas-devices/ |
Track CVE-2024-10914 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2024-10914), CISA KEV, FIRST EPSS (scores of 2026-09-22). This page is refreshed as NVD updates the record.