Site icon TheCyberThrone

D-Link NAS Devices affected by a Critical flaw CVE-2024-10914

Advertisements

D-Link NAS devices have been affected by a critical vulnerability, impacts several D-Link NAS models, including DNS-320, DNS-320LW, DNS-325, and DNS-340L,

The vulnerability tracked as CVE-2024-10914, with a CVSSv4 score of 9.2, , a command injection vulnerability in the `account_mgr.cgi` script, allows remote attackers to execute arbitrary commands via specially crafted HTTP GET requests

The vulnerability specifically affects the `name` parameter within the `cgi_user_add` command of the `account_mgr.cgi` script. Due to inadequate input sanitization, malicious commands injected into the `name` parameter can lead to unauthorized command execution.

Advertisements

Affected Devices

An attacker can exploit the vulnerability by sending a specially crafted HTTP GET request to the NAS device’s IP address. This command injects a shell command into the `name` parameter, triggering unintended execution on the target device.

The following example demonstrates an exploit using the `curl` command:

curl “http://[Target-IP]/cgi-bin/account_mgr.cgi?cmd=cgi_user_add&name=%27;<INJECTED_SHELL_COMMAND&gt;;%27”

To remediate this vulnerability, it is recommended that:

For more information, refer to the blog

Exit mobile version