Security Advisory

CVE-2024-3272: D-Link NAS Hard-Coded Credential

Last updated:
  • CVE-2024-3272

CVE-2024-3272 is a hard-coded credential in legacy D-Link DNS NAS devices: the nas_sharing.cgi script accepts the user messagebus with an empty password. NVD scores it 9.8 and CISA lists it in KEV. D-Link will not fix it, since every affected model is end of life; retire and replace the NAS.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

98.1%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2024-3272 · Source: NVD

Affected components

ComponentCPEVersion range
D-Link DNS-320Lcpe:2.3:o:dlink:dns-320l_firmware:1.11:*:*:*:*:*:*:*Firmware 1.01.0702.2013, 1.03.0904.2013 and 1.11 (NVD); all hardware revisions end of life, no fix, retire and replace (D-Link SAP10383)
D-Link DNS-325cpe:2.3:o:dlink:dns-325_firmware:1.01:*:*:*:*:*:*:*Firmware 1.01 (NVD); end of service 2017-09-01, no fix, retire and replace (D-Link SAP10383)
D-Link DNS-327Lcpe:2.3:o:dlink:dns-327l_firmware:1.09:*:*:*:*:*:*:*Firmware 1.00.0409.2013 and 1.09 (NVD); end of service 2020-05-31, no fix, retire and replace (D-Link SAP10383)
D-Link DNS-340Lcpe:2.3:o:dlink:dns-340l_firmware:1.08:*:*:*:*:*:*:*Firmware 1.08 (NVD); end of service 2019-07-31, no fix, retire and replace (D-Link SAP10383)
Other D-Link NAS models in SAP10383: DNS-120, DNR-202L, DNS-315L, DNS-320, DNS-320LW, DNS-321, DNR-322L, DNS-323, DNS-326, DNR-326, DNS-343, DNS-345, DNS-726-4, DNS-1100-4, DNS-1200-05, DNS-1550-04—All hardware revisions and firmware (NVD CPEs carry no version); end of life, no fix, retire and replace (D-Link SAP10383)

What does this mean for affected devices?

CVE-2024-3272 is a hard-coded credential (CWE-798) in the web interface of legacy D-Link NAS devices. The CVE record, published by VulDB on 2024-04-04 and marked "UNSUPPORTED WHEN ASSIGNED", says that in D-Link DNS-320L, DNS-325, DNS-327L and DNS-340L "up to 20240403", manipulating the argument user with the input messagebus in /cgi-bin/nas_sharing.cgi "leads to hard-coded credentials", that the attack works remotely and that the exploit is public (NVD, CVE record). NVD's Primary score is 9.8, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; VulDB, the CNA, gives the same 9.8 vector (and 10.0 in CVSS 2.0). NVD lists no weakness of its own; the CWE-798 entry comes from VulDB.

The researcher's write-up shows the request: GET /cgi-bin/nas_sharing.cgi?user=messagebus&passwd=&cmd=15&system=<base64 command>. The messagebus user with an empty password is the backdoor this CVE covers; the system parameter that runs the base64-encoded command is the companion command injection, CVE-2024-3273. Chained, they give unauthenticated remote code execution, which is how CISA's KEV entry describes it: a hard-coded credential "that allows an attacker to conduct authenticated command injection, leading to remote, unauthorized code execution."

Which D-Link NAS models are affected?

The CVE record and KEV name four models: DNS-320L, DNS-325, DNS-327L and DNS-340L. The researcher lists firmware DNS-320L 1.01.0702.2013, 1.03.0904.2013 and 1.11, DNS-325 1.01, DNS-327L 1.00.0409.2013 and 1.09, and DNS-340L 1.08. D-Link's announcement SAP10383, published 4 April 2024 and last updated 3 September 2024, is wider. It covers CVE-2024-3272 and CVE-2024-3273 for "all D-Link NAS storage", all hardware revisions, and lists 20 models: DNS-120, DNR-202L, DNS-315L, DNS-320, DNS-320L, DNS-320LW, DNS-321, DNR-322L, DNS-323, DNS-325, DNS-326, DNS-327L, DNR-326, DNS-340L, DNS-343, DNS-345, DNS-726-4, DNS-1100-4, DNS-1200-05 and DNS-1550-04. NVD's CPE configuration follows D-Link's list and marks firmware for all 20 as vulnerable. The end-of-service dates in D-Link's table run from 2009 (DNS-120) to 2021-11-30 (DNR-322L).

How do you fix CVE-2024-3272?

There is no firmware fix. Every model in SAP10383 has reached end of life or end of service, and D-Link's conclusion for each row is "Retire & Replace Device". D-Link says these products "no longer receive device software updates and security patches" and recommends retiring them; for US users who keep one running it advises the last known firmware from its legacy site and a frequently changed, unique admin password. A password change does not remove the messagebus backdoor, so the practical step is to take the NAS off any network an attacker can reach, migrate the data and replace the device. For device makers, our hard-coded credentials fix guide covers how to find accounts like this before shipping, and the command injection fix guide covers the second half of the chain.

Is CVE-2024-3272 exploited?

Yes. CISA added it to the KEV catalog on 2024-04-11 as "D-Link Multiple NAS Devices Use of Hard-Coded Credentials Vulnerability", with a due date of 2024-05-02 and the required action to retire and replace the affected products, since all hardware revisions are end of life. Known ransomware campaign use is marked Unknown. It is listed as of 2026-11-19 (catalog version 2026.11.18). FIRST EPSS gives it 0.98109, the 99.91st percentile, in the 2026-11-18 dataset (CISA KEV, FIRST EPSS). Other D-Link entries in KEV include the DIR-859 UPnP flaw CVE-2019-17621 and the DIR-823X command injection CVE-2025-29635.

How to fix this class of issueThis advisory's weakness class is Hard-coded credentials. Our practical guide covers how to detect, fix, verify and disclose it: How to fix hard-coded credentials in embedded firmware.

Evidence

  • NVD: [email protected] Primary CVSS 3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; VulDB Secondary 9.8 same vector, CVSS 2.0 10.0; CWE-798 from VulDB only; CPEs for 20 D-Link NAS firmware products incl. DNS-320L 1.01.0702.2013/1.03.0904.2013/1.11, DNS-325 1.01, DNS-327L 1.00.0409.2013/1.09, DNS-340L 1.08; published 2024-04-04; status Analyzed, read 2026-11-19. — NVD
  • D-Link SAP10383 (published 2024-04-04, updated 2024-09-03): CVE-2024-3273 and CVE-2024-3272 for all D-Link NAS storage, all hardware revisions; 20 models listed, all EOL/EOS, conclusion Retire & Replace Device; no further software updates or security patches. — D-Link
  • netsecfish write-up: nas_sharing.cgi backdoor user=messagebus with empty passwd plus command injection via base64 system parameter; DNS-320L 1.11/1.03.0904.2013/1.01.0702.2013, DNS-325 1.01, DNS-327L 1.09/1.00.0409.2013, DNS-340L 1.08. — Researcher advisory (GitHub)
  • CVE record (CNA VulDB): PUBLISHED 2024-04-04, CVSS 3.1 9.8, CWE-798; affected DNS-320L, DNS-325, DNS-327L, DNS-340L up to 20240403; unsupported when assigned. — CVE.org
  • CISA KEV catalog 2026.11.18: listed, dateAdded 2024-04-11, due 2024-05-02, knownRansomwareCampaignUse Unknown, CWE-798; required action retire and replace EOL products; checked 2026-11-19. — CISA KEV
  • EPSS 0.98109, percentile 0.99912, dataset 2026-11-18, read 2026-11-19. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. D-Link SAP10383: DNS-320L / DNS-325 / DNS-327 / DNS-340L and all D-Link NAS storage, End of Service Life, CVE-2024-3273 & CVE-2024-3272
  3. netsecfish: Command Injection and Backdoor Account in D-Link NAS Devices
  4. CVE.org record CVE-2024-3272 (CNA: VulDB)
  5. CISA KEV
  6. FIRST EPSS

Frequently asked questions

Which D-Link NAS models are affected by CVE-2024-3272?

The CVE record names DNS-320L, DNS-325, DNS-327L and DNS-340L. D-Link's announcement covers all hardware revisions of 20 NAS models, adding DNS-120, DNR-202L, DNS-315L, DNS-320, DNS-320LW, DNS-321, DNR-322L, DNS-323, DNS-326, DNR-326, DNS-343, DNS-345, DNS-726-4, DNS-1100-4, DNS-1200-05 and DNS-1550-04 (per the CVE record and D-Link SAP10383).

Is there a firmware update for CVE-2024-3272?

No. All listed models have reached end of life or end of service, they no longer receive security patches, and D-Link's recommendation for every model is to retire and replace the device (per D-Link SAP10383).

How does CVE-2024-3272 relate to CVE-2024-3273?

CVE-2024-3272 is the hard-coded messagebus account with an empty password in nas_sharing.cgi; CVE-2024-3273 is the command injection through the same script's system parameter. Together they let a remote attacker run commands without knowing any password (per the researcher's write-up, CISA KEV and D-Link SAP10383).

Is CVE-2024-3272 exploited in the wild?

Yes. CISA added it to the KEV catalog on 2024-04-11, and it is listed as of 2026-11-19 (catalog version 2026.11.18) with ransomware use marked Unknown. FIRST EPSS gives it 0.98109, the 99.91st percentile, in the 2026-11-18 dataset (per CISA KEV and FIRST EPSS).