CVE-2024-10915

8.1 HIGH

📋 TL;DR

This critical vulnerability allows remote attackers to execute arbitrary operating system commands on affected D-Link NAS devices by manipulating the 'group' parameter in the user account management function. Successful exploitation could lead to complete system compromise. The vulnerability affects D-Link DNS-320, DNS-320LW, DNS-325, and DNS-340L network-attached storage devices.

💻 Affected Systems

Products:
  • D-Link DNS-320
  • D-Link DNS-320LW
  • D-Link DNS-325
  • D-Link DNS-340L
Versions: All versions up to October 28, 2024
Operating Systems: Embedded Linux-based firmware
Default Config Vulnerable: ⚠️ Yes
Notes: Affects web management interface accessible via HTTP/HTTPS. Requires access to the account management CGI endpoint.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system takeover with root-level access, data theft, ransomware deployment, and use as pivot point for internal network attacks.

🟠

Likely Case

Unauthorized access to sensitive files, installation of backdoors, and disruption of NAS services.

🟢

If Mitigated

Limited impact if devices are isolated from internet and have strict network segmentation.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploit requires authentication to the web interface. Public disclosure includes technical details that could facilitate weaponization.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: https://www.dlink.com/

Restart Required: No

Instructions:

1. Check D-Link support site for firmware updates. 2. Download latest firmware for your specific model. 3. Upload firmware via web interface. 4. Apply update and verify installation.

🔧 Temporary Workarounds

Network Isolation

all

Remove affected devices from internet-facing networks and restrict access to trusted internal networks only.

Access Control

linux

Implement strict firewall rules to block external access to web management interface (ports 80/443).

iptables -A INPUT -p tcp --dport 80 -j DROP
iptables -A INPUT -p tcp --dport 443 -j DROP

🧯 If You Can't Patch

  • Disable web management interface if not required for operation
  • Implement network segmentation to isolate NAS devices from critical systems

🔍 How to Verify

Check if Vulnerable:

Check firmware version date in web interface. If before October 28, 2024, device is vulnerable.

Check Version:

Check via web interface: System > Firmware or via SSH: cat /etc/version

Verify Fix Applied:

Verify firmware version has been updated beyond October 28, 2024 release date.

📡 Detection & Monitoring

Log Indicators:

  • Unusual CGI requests to /cgi-bin/account_mgr.cgi with shell metacharacters in parameters
  • Suspicious command execution in system logs

Network Indicators:

  • HTTP POST requests to account_mgr.cgi with unusual group parameter values
  • Outbound connections from NAS to unexpected destinations

SIEM Query:

source="nas_logs" AND uri="/cgi-bin/account_mgr.cgi" AND (group="*;*" OR group="*|*" OR group="*`*" OR group="*$(*")

🔗 References

📤 Share & Export