Skip to content
Threat Feed
critical threat exploited

Unauthenticated Remote Code Execution in D-Link NAS Devices

Multiple D-Link NAS devices are vulnerable to unauthenticated OS command injection via the account_mgr.cgi script, allowing remote attackers to execute arbitrary commands with root privileges.

CVE search metadata

CVE search record: CVE-2024-10914. Severity: high. CVSS: 8.1. EPSS: 97.39%. KEV: no. Product: DNS-320, DNS-320LW, DNS-325, DNS-340L. Brief: Unauthenticated Remote Code Execution in D-Link NAS Devices. Brief link: https://feed.craftedsignal.io/briefs/2026-08-dlink-nas-rce/

Security researchers have identified a critical unauthenticated OS command injection vulnerability (CVE-2024-10914) affecting multiple D-Link NAS device models, including the DNS-320, DNS-320LW, DNS-325, and DNS-340L. The vulnerability exists within the /cgi-bin/account_mgr.cgi script, where the 'name' parameter is directly concatenated into a system() call without adequate input sanitization. An attacker can inject shell metacharacters (specifically a semicolon) to terminate the intended command and execute arbitrary operating system commands with root privileges.

D-Link has officially designated these products as End-of-Life (EoL) and has explicitly stated that no security patches will be issued. Given the existence of a public, functional exploit and reports of active exploitation in the wild, organizations currently utilizing these legacy storage devices face a significant risk of full system compromise. Defenders should prioritize the immediate isolation of these devices from internet-facing environments.

Impact

Successful exploitation results in full remote code execution on the affected NAS hardware with root-level privileges. This enables attackers to exfiltrate sensitive data, install persistent backdoors, or utilize the devices as pivots within the internal network. Because the devices are end-of-life and lack vendor support, the impact is permanent for any device remaining connected to the network.

Recommendation

  • Immediately disconnect all affected D-Link NAS devices from the internet or place them behind a restrictive firewall that blocks access to /cgi-bin/account_mgr.cgi from untrusted networks.
  • Implement web application firewall (WAF) rules to inspect incoming HTTP requests to /cgi-bin/account_mgr.cgi, specifically looking for shell metacharacters (e.g., ;, |, &, $) within the 'name' parameter.
  • Deploy the provided Sigma rule to web server access logs to detect potential exploitation attempts.
  • Identify and retire legacy NAS devices from the environment as they will not receive security updates for this or future vulnerabilities.

Detection coverage 1

Detect CVE-2024-10914 Exploitation - OS Command Injection in account_mgr.cgi

critical

Detects exploitation attempts against D-Link NAS devices where the name parameter contains shell metacharacters.

sigma tactics: initial_access techniques: T1190 sources: webserver

Detection queries are available on the platform. Get full rules →