QID 731365

Date Published: 2024-04-11

QID 731365: D-Link NAS Storage Devices Remote Code Execution (RCE) Vulnerability

This vulnerability impacts various D-Link NAS (Network Attached Storage) devices such as the DNS-340L, DNS-320L, DNS-327L, and DNS-325. The vulnerability lies within the nas_sharing.cgi uri, which is vulnerable due to two main issues: a backdoor facilitated by hardcoded credentials, and a command injection vulnerability via the system parameter.

Affected Devices:
All Versions of DNS-320L
All Versions of DNS-325
All Versions of DNS-327L
All Versions of DNS-340L

QID Detection Logic (Unauthenticated):
This QID checks for vulnerable D-Link NAS devices by sending a crafted payload as an HTTP GET request to the 'cgi-bin/nas_sharing.cgi' endpoint and checks for code execution.

Successful exploitation of the vulnerability may allow a remote unauthenticated attacker to execute arbitrary code, leading to critical data loss and possible system compromise.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as Critical - 10 severity.
  • Solution
    D-Link has mentioned that the product are EOL and EOS. Customers are advised to disconnect and replace the devices. For more information, please refer to the D-Link Security Advisory

    CVEs related to QID 731365

    Software Advisories
    Advisory ID Software Component Link

    © CVE.report 2026

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report