Security Advisory

CVE-2020-25506: D-Link DNS-320 system_mgr.cgi RCE

Last updated:
  • CVE-2020-25506

CVE-2020-25506 is a command injection in the system_mgr.cgi component of the D-Link DNS-320 NAS, hardware revision Ax, firmware 2.06B01. NVD scores it 9.8 and CISA lists it in KEV. D-Link confirmed the report in 2020 but offers no fix because the DNS-320 reached end of support in 2018; it tells owners to cut the NAS off the internet and replace it.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

100.0%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2020-25506 · Source: NVD

Affected components

ComponentCPEVersion range
D-Link DNS-320 (hardware revision Ax)cpe:2.3:o:dlink:dns-320_firmware:2.06b01:*:*:*:*:*:*:*Firmware 2.06B01, the last DNS-320 Rev. Ax release (NVD, D-Link SAP10183); end of service 2018, no fix offered, retire and replace (D-Link SAP10183, SAP10383)

What does this mean for affected devices?

CVE-2020-25506 is an OS command injection (CWE-78) in the D-Link DNS-320 ShareCenter NAS. The CVE record, assigned by MITRE and published on 2021-02-02, says "D-Link DNS-320 FW v2.06B01 Revision Ax is affected by command injection in the system_mgr.cgi component, which can lead to remote arbitrary code execution" (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, and 7.5 in NVD CVSS v2; CISA's ADP container gives the same 9.8. NVD's CPE marks only DNS-320 firmware 2.06b01 on hardware revision Ax.

The researcher, Weiming Shi (Swing) of Chaitin Security Research Lab, traced the bug to the cgi_ntp_time function of system_mgr.cgi: the value of the NTP server field is spliced into a command string and passed to system() without filtering (researcher write-up). The same NAS line has a second KEV-listed injection in its login script, CVE-2019-16057.

Is there a D-Link fix for CVE-2020-25506?

No. D-Link's bulletin SAP10183, titled "End of Service Life (No Fixes Offered)", says D-Link learned of the report on 7 July 2020 (the researcher dates D-Link's confirmation to 16 July 2020). It lists 2.06b01 as the latest DNS-320 Rev. Ax firmware and gives a single action: "Disable the Internet connection to NAS". D-Link says the DNS-320 Rev. Ax "reached its End-of-Support Date in 2018 in the US", that "firmware development has ceased", and that US consumers "are recommended to immediately retire and replace the device". Its later NAS announcement SAP10383 lists the DNS-320, all hardware revisions, as end of service since 2018-12-01 with the conclusion "Retire & Replace Device".

CISA's KEV entry asks agencies to "Apply updates per vendor instructions", but D-Link's instructions offer no update, so in practice that means disconnecting and replacing the NAS. Keep any remaining unit off the internet; our guide to internet-exposed management interfaces explains the risk, and the command injection fix guide covers the coding error for firmware teams.

Is CVE-2020-25506 exploited?

Yes. CISA added it to KEV on 2021-11-03 as "D-Link DNS-320 Device Command Injection Vulnerability", due 2022-05-03, with known ransomware campaign use Unknown. It is listed as of 2026-11-24 (catalog version 2026.11.23). FIRST EPSS gives it 0.99968, the 99.98th percentile, in the 2026-11-23 dataset (CISA KEV, FIRST EPSS).

How to fix this class of issueThis advisory's weakness class is Command injection. Our practical guide covers how to detect, fix, verify and disclose it: How to fix command injection in embedded firmware.

Evidence

  • NVD: status Analyzed; [email protected] Primary CVSS 3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, CVSS 2.0 7.5; CISA ADP 9.8; CWE-78; CPE dlink:dns-320_firmware:2.06b01 on dns-320 hardware ax; published 2021-02-02; read 2026-11-24. — NVD
  • D-Link SAP10183: DNS-320 Rev. Ax, latest F/W 2.06b01, CVE-2020-25506, End of Service Life (No Fixes Offered); reported 2020-07-07 by Weiming Shi (Chaitin); action: disable the Internet connection to NAS; End-of-Support 2018 in the US; retire and replace. — D-Link
  • D-Link SAP10383: DNS-320 all H/W revisions end of service 12/1/2018, Retire & Replace Device. — D-Link
  • Researcher write-up: command injection in cgi_ntp_time of system_mgr.cgi via the f_ntp_server value passed to system(); reported 2020-07-07, confirmed 2020-07-16. — Researcher advisory (GitHub Gist)
  • CISA KEV catalog 2026.11.23: dateAdded 2021-11-03, due 2022-05-03, knownRansomwareCampaignUse Unknown, CWE-78; required action Apply updates per vendor instructions; checked 2026-11-24. — CISA KEV
  • EPSS 0.99968, percentile 0.99978, dataset 2026-11-23, read 2026-11-24. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. D-Link SAP10183: DNS-320 Rev. Ax, CVE-2020-25506, End of Service Life (No Fixes Offered)
  3. D-Link SAP10383: all D-Link NAS storage, End of Service Life
  4. Weiming Shi (Chaitin): D-Link DNS-320 system_mgr.cgi command injection
  5. CVE.org record CVE-2020-25506
  6. CISA KEV
  7. FIRST EPSS

Frequently asked questions

Which D-Link firmware is affected by CVE-2020-25506?

DNS-320 hardware revision Ax with firmware 2.06B01, which D-Link lists as the latest firmware for that model. No later firmware exists (per the CVE record, NVD and D-Link SAP10183).

Will D-Link fix CVE-2020-25506?

No. D-Link's SAP10183 is titled "No Fixes Offered": the DNS-320 Rev. Ax reached end of support in 2018, firmware development has ceased, and D-Link recommends disabling the NAS's internet connection and retiring the device (per D-Link SAP10183).

What does the CISA KEV required action mean for an end-of-life NAS?

KEV says to apply updates per vendor instructions. D-Link's instructions offer no update, only disconnection from the internet and replacement, so following the vendor means replacing the DNS-320 (per CISA KEV and D-Link SAP10183).

Is CVE-2020-25506 exploited in the wild?

Yes. CISA added it to KEV on 2021-11-03 and it is listed as of 2026-11-24 (catalog 2026.11.23), ransomware use Unknown. FIRST EPSS gives it 0.99968, the 99.98th percentile, in the 2026-11-23 dataset.