OS Command Injection in D-Link DNS-320/DNS-320LW/DNS-325/DNS-340L cgi_user_add
CVE-2024-10915 is a critical OS command injection vulnerability affecting D-Link DNS-320, DNS-320LW, DNS-325, and DNS-340L devices up to 20241028. The flaw is in the cgi_user_add function exposed through /cgi-bin/account_mgr.cgi?cmd=cgi_user_add. Improper handling of the group argument allows attacker-controlled input to be incorporated into an operating system command, resulting in command injection. The issue is remotely reachable, and public reporting indicates exploit details have been disclosed. The affected products are legacy/EoL NAS devices and the vulnerability has also been reported as leveraged by Mirai-derived botnet activity such as ShadowV2.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a Python exploit for CVE-2024-10915, a command injection vulnerability affecting several D-Link NAS models (DNS-320, DNS-320LW, DNS-325, DNS-340L). The exploit leverages the /cgi-bin/account_mgr.cgi?cmd=cgi_user_add endpoint, injecting arbitrary system commands via the 'group' parameter. The exploit script (dlink_nas_rce_cve_2024_10915.py) is a standalone Python 3 tool that allows the user to specify the target URL, the command to execute, an optional HTTP proxy, and an output file for the response. The script is operational and provides direct remote code execution on unauthenticated targets. The README.md provides detailed usage instructions, affected products, and example commands. The main attack vector is network-based, targeting exposed HTTP endpoints on vulnerable D-Link NAS devices. No authentication is required for exploitation.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A remote code execution vulnerability in D-Link devices, exploited by Mirai variant ShadowV2 for botnet expansion and DDoS attacks.
A vulnerability in D-Link devices exploited by the ShadowV2 Mirai variant for IoT botnet propagation.
A known vulnerability (not further described in the content) exploited by the ShadowV2 Mirai-based botnet to compromise IoT devices for DDoS operations.
A vulnerability in D-Link devices exploited by the ShadowV2 botnet for infection and DDoS attacks.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.