POC - CVE-2024–10914- Command Injection Vulnerability in name parameter for D-Link NAS
Overview
A vulnerability was found in D-Link DNS-320, DNS-320LW, DNS-325 and DNS-340L up to 20241028. It has been declared as critical. Affected by this vulnerability is the function cgi_user_add of the file /cgi-bin/account_mgr.cgi?cmd=cgi_user_add. The manipulation of the argument name leads to os command injection. The attack can be launched remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used.
Affected Devices
- DNS-320 Version 1.00
- DNS-320LW Version 1.01.0914.2012
- DNS-325 Version 1.01, Version 1.02
- DNS-340L Version 1.08
Affected Components
The vulnerability is localized to the account_mgr.cgi script, particularly in the handling of the cgi_user_add command. The name parameter in this script does not adequately sanitize input, allowing for command execution.
Read about it —
Cloning the Repository
First, clone the repository:
git clone https://github.com/verylazytech/CVE-2024-10914
Run the Exploit:
bash ./cve-2024-10914.sh -u <url>

SOCIAL SHARE CARD GENERATOR