A critical command injection vulnerability and a backdoor account have been unearthed in D-Link Network Attached Storage (NAS) devices, impacting a significant number of devices, including DNS-340L, DNS-320L, DNS-327L, and DNS-325, among others. This vulnerability, known as CVE-2024-3273, resides in the nas_sharing.cgi file of these devices and specifically in the system parameter, affecting over 92,000 D-Link NAS devices accessible over the internet. To address these vulnerabilities, D-Link has promptly released patches, and users are strongly advised to apply these fixes without delay to mitigate the potential risks associated with exploitation by threat actors.
Upon exploitation, the command injection flaw could enable threat actors to execute arbitrary commands on the affected devices and potentially gain access to sensitive information. Moreover, malicious actors could manipulate system configurations or launch denial of service attacks by specifying a command via the command parameter. The presence of a hardcoded account in the nas_sharing.cgi script further exacerbates the situation, providing a backdoor opportunity for unauthorized access through exposed username and password credentials, posing serious security implications for affected D-Link NAS devices.
Threat actors can craft a malicious HTTP request targeting the /cgi-bin/nas_sharing.cgi endpoint to exploit this vulnerability, allowing unauthorized access and potential exploitation of these devices. The impacted products include various versions of DNS-320L, DNS-325, DNS-327L, and DNS-340L, and users of these products are strongly advised to upgrade to the latest versions to safeguard against the exploitation of these vulnerabilities. This discovery underscores the critical imperative of promptly applying these patches to prevent the exploitation of these critical vulnerabilities, ensuring the security and integrity of D-Link NAS devices and preventing unauthorized access and potential data breaches.