CVE-2024-3273 in DNS-320Linfo

Summary

by MITRE • 04/04/2024

** UNSUPPORTED WHEN ASSIGNED ** A vulnerability, which was classified as critical, was found in D-Link DNS-320L, DNS-325, DNS-327L and DNS-340L up to 20240403. Affected is an unknown function of the file /cgi-bin/nas_sharing.cgi of the component HTTP GET Request Handler. The manipulation of the argument system leads to command injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-259284. NOTE: This vulnerability only affects products that are no longer supported by the maintainer. NOTE: Vendor was contacted early and confirmed immediately that the product is end-of-life. It should be retired and replaced.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 09/09/2024

This critical vulnerability exists in D-Link network-attached storage devices including the DNS-320L, DNS-325, DNS-327L, and DNS-340L models with firmware versions up to 20240403. The flaw resides within the HTTP GET request handler component specifically in the nas_sharing.cgi script which processes user input through the system parameter. This represents a command injection vulnerability that allows remote attackers to execute arbitrary commands on the affected devices. The vulnerability is particularly concerning because it affects devices that are no longer supported by the vendor, indicating that no official security updates or patches will be provided for these products.

The technical implementation of this vulnerability follows a classic command injection pattern where user-supplied input is directly incorporated into system commands without proper sanitization or validation. When an attacker crafts a malicious HTTP GET request containing specially formatted input in the system parameter of the nas_sharing.cgi endpoint, the device processes this input and executes it as a shell command. This allows for complete compromise of the affected device, potentially enabling attackers to gain unauthorized access to stored data, modify system configurations, or use the device as a pivot point for attacks on other networked systems. The vulnerability is classified as remote exploit capable, meaning attackers do not require physical access to the device to carry out the attack.

The operational impact of this vulnerability extends beyond simple device compromise, as these network-attached storage devices typically store sensitive organizational data and may be integrated into larger network infrastructures. Attackers could potentially access backup data, user credentials, or other confidential information stored on these devices. The fact that this vulnerability has been publicly disclosed and is actively being used in the wild significantly increases the risk to organizations still utilizing these unsupported devices. According to industry standards such as CWE-77, this vulnerability maps directly to command injection flaws that are among the most dangerous types of web application vulnerabilities due to their potential for complete system compromise. The ATT&CK framework would categorize this under T1059.001 Command and Scripting Interpreter for Linux/Unix systems, and potentially T1566.001 Phishing: Spearphishing Attachment.

Given that these devices are end-of-life and no longer receive security updates, the recommended mitigation strategy involves immediate physical removal of these devices from production networks and replacement with supported alternatives. Organizations should conduct network scans to identify any remaining instances of these devices and implement network segmentation to prevent lateral movement if devices cannot be immediately removed. The vulnerability demonstrates the critical importance of maintaining current security postures and avoiding reliance on unsupported hardware, as these devices become increasingly attractive targets for attackers seeking to exploit known vulnerabilities. Network administrators should also consider implementing intrusion detection systems to monitor for exploitation attempts targeting these specific device models and firmware versions.

Responsible

VulDB

Reservation

04/03/2024

Disclosure

04/04/2024

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.99997

KEV

yes

Activities

very low

Campaigns

2 (confirmed)

Sources

Do you need the next level of professionalism?

Upgrade your account now!