Several D-Link NAS models have an arbitrary command injection vulnerability and a hard-coded backdoor account.
The problem was discovered by a researcher known as Netsecfish. He tellsthat the bugs are related to the /cgi-bin/nas_sharing.cgi script and affect the HTTP GET Request Handler component.
So, the vulnerability that received the identifier CVE-2024-3273, consists of a hard-coded backdoor (messagebus username and empty password), as well as command injection via the system parameter (by adding a base64 command via an HTTP GET request). As a result, attackers are able to remotely execute arbitrary commands on the device and can completely compromise it.
The following device models are vulnerable to CVE-2024-3273:
- DNS-320L – version 1.11, 1.03.0904.2013, 1.01.0702.2013;
- DNS-325 – version 1.01;
- DNS-327L – version 1.09, 1.00.0409.2013;
- DNS-340L – version 1.08.
According to Netsecfish, more than 92,000 vulnerable D-Link NAS can be found on the Internet. However, support for the listed models has already been discontinued, and the manufacturer reported mass media, which does not intend to release patches for this problem. The company also published security bulletinnotifying clients of the vulnerability.
“All D-Link network storage devices listed have been considered end of life for many years and are no longer supported, and the people associated with these products have ceased development of them. D-Link recommends that these products be retired and replaced with products that receive firmware updates,” the company said.