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

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


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

  • DNS-320 – Version 1.00
  • DNS-320LW – Version 1.01.0914.2012
  • DNS-325 – Versions 1.01 and 1.02
  • DNS-340L – Version 1.08

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:

  • 1. Apply available patches and updates from the device manufacturer.
  • 2. Users of the affected devices should apply the firmware update as soon as it is available.
  • 3. As an interim measure, network access to the NAS management interface should be restricted to trusted IP addresses.

For more information, refer to the blog

Comments

No comments yet. Why don’t you start the discussion?

    Leave a Reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.