Security Advisory

CVE-2020-25079: D-Link DCS ddns_enc Injection

Last updated:
  • CVE-2020-25079

CVE-2020-25079 is an authenticated command injection in cgi-bin/ddns_enc.cgi on D-Link DCS-2530L and DCS-2670L network cameras. NVD scores it 8.8 and CISA lists it in KEV. D-Link published hotfix firmware for most affected DCS models; install it, change the admin password, and retire models D-Link lists as end of life.

Vulnerability summary

CVSS base score

8.8

High severity

EPSS score (FIRST)

54.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-25079 · Source: NVD

Affected components

ComponentCPEVersion range
D-Link DCS-2530Lcpe:2.3:o:dlink:dcs-2530l_firmware:*:*:*:*:*:*:*:*All Ax hardware revisions, firmware v1.05.05 and older; fixed in v1.07.00 Hotfix via the mydlink app (D-Link SAP10180); end of support 2021-09-17 (D-Link product page)
D-Link DCS-2670L (non-US)cpe:2.3:o:dlink:dcs-2670l_firmware:*:*:*:*:*:*:*:*All Ax hardware revisions, firmware v2.02 and older; fixed in v2.03.00 Hotfix (D-Link SAP10180)
D-Link DCS-4603 (non-US)cpe:2.3:o:dlink:dcs-4603_firmware:*:*:*:*:*:*:*:*All Ax hardware revisions, v1.03.04 and older; fixed in v1.04.02 Hotfix (D-Link SAP10180)
D-Link DCS-4622 (non-US)cpe:2.3:o:dlink:dcs-4622_firmware:*:*:*:*:*:*:*:*All Bx hardware revisions, v2.00.04 and older; fixed in v2.01.10 Hotfix (D-Link SAP10180)
D-Link DCS-4701E (non-US)cpe:2.3:o:dlink:dcs-4701e_firmware:*:*:*:*:*:*:*:*All Bx hardware revisions, v2.00.21 and older; fixed in v2.03.01 Hotfix (D-Link SAP10180)
D-Link DCS-4703E (non-US)cpe:2.3:o:dlink:dcs-4703e_firmware:*:*:*:*:*:*:*:*All Ax hardware revisions, v1.02.03 and older; fixed in v1.03.04 Hotfix (D-Link SAP10180)
D-Link DCS-4705E (non-US)cpe:2.3:o:dlink:dcs-4705e_firmware:*:*:*:*:*:*:*:*All Ax hardware revisions, v1.01.00 and older; fixed in v1.03.02 Hotfix (D-Link SAP10180)
D-Link DCS-4802E (non-US)cpe:2.3:o:dlink:dcs-4802e_firmware:*:*:*:*:*:*:*:*All Bx hardware revisions, v2.00.09 and older; fixed in v2.01.01 Hotfix (D-Link SAP10180)
D-Link DCS-P703 (non-US)cpe:2.3:o:dlink:dcs-p703_firmware:*:*:*:*:*:*:*:*All Ax hardware revisions; end of service life, no fix, retire and replace (D-Link SAP10180)

What does this mean for affected devices?

CVE-2020-25079 is a command injection (CWE-77) in D-Link DCS network cameras. The CVE record says that on DCS-2530L before 1.06.01 Hotfix and DCS-2670L through 2.02, "cgi-bin/ddns_enc.cgi allows authenticated command injection" (NVD, CVE record). NVD's Primary score is 8.8, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, and 9.0 in NVD CVSS v2; CISA's ADP entry gives the same 8.8 vector. NVD's CPE configuration adds the DCS-4603, DCS-4622, DCS-4701E, DCS-4703E, DCS-4705E, DCS-4802E and DCS-P703.

The login requirement is a weak barrier on these cameras: the companion flaw CVE-2020-25078, fixed in the same hotfixes, discloses the administrator password to anyone who can reach the camera.

Which D-Link cameras are affected, and what fixes them?

D-Link's advisory SAP10180, published 23 June 2020 and last updated 30 July 2021, covers both camera flaws, CVE-2020-25078 and CVE-2020-25079. Researchers first posted them on Twitter against the DCS-2530L in June 2020; D-Link then found the non-US DCS-2670L affected, and in August 2020 Qihoo 360 reported that the issue extended to the non-US DCS-P703 and the DCS-46xx/47xx/48xx series. D-Link's table:

Model Affected firmware Fixed firmware
DCS-2530L v1.05.05 and older v1.07.00 Hotfix (via the mydlink app)
DCS-2670L (non-US) v2.02 and older v2.03.00 Hotfix
DCS-4603 v1.03.04 and older v1.04.02 Hotfix
DCS-4622 v2.00.04 and older v2.01.10 Hotfix
DCS-4701E v2.00.21 and older v2.03.01 Hotfix
DCS-4703E v1.02.03 and older v1.03.04 Hotfix
DCS-4705E v1.01.00 and older v1.03.02 Hotfix
DCS-4802E v2.00.09 and older v2.01.01 Hotfix
DCS-P703 (non-US) all none: end of service, retire and replace

The CVE records give slightly different bounds (DCS-2530L "before 1.06.01 Hotfix", DCS-2670L "through 2.02"); D-Link's own table is the one to follow. D-Link notes the hotfixes are provided "as is" and asks owners to check the hardware revision on the product label first. Separately, D-Link's DCS-2530L product page says that hardware revision stopped receiving firmware updates after its end-of-support date of 2021-09-17.

How do you fix CVE-2020-25079?

Install the hotfix for your model, then change the admin password. Retire the DCS-P703, and plan to replace a DCS-2530L that is past its 2021 end of support. CISA's KEV entry notes the products "could be end-of-life (EoL) and/or end-of-service (EoS)" and that "users should discontinue product utilization"; its required action is to apply mitigations per vendor instructions or discontinue use if mitigations are unavailable. Keep camera web interfaces off the internet, as our IP camera and NVR firmware guide recommends. For firmware teams, the command injection fix guide shows how a DDNS hostname or account field should be validated before it reaches a shell.

Is CVE-2020-25079 exploited?

Yes. CISA added it to the KEV catalog on 2025-08-05 as "D-Link DCS-2530L and DCS-2670L Command Injection Vulnerability", with a due date of 2025-08-26; known ransomware campaign use is Unknown. It is listed as of 2026-11-24 (catalog version 2026.11.23). FIRST EPSS gives it 0.54007, the 99.03rd percentile, in the 2026-11-23 dataset (FIRST EPSS). Another KEV-listed D-Link camera injection is CVE-2016-11021 on the end-of-life DCS-930L.

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 (Analyzed, read 2026-11-24): [email protected] Primary CVSS 3.1 8.8 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, CVSS v2 Primary 9.0; CISA-ADP Secondary 8.8; CWE-77; CPEs dcs-2530l, 2670l, 4603, 4622, 4701e, 4703e, 4705e, 4802e, p703 firmware; published 2020-09-02. — NVD
  • D-Link SAP10180 (published 2020-06-23, updated 2021-07-30): authenticated command injection in /cgi-bin/ddns_enc.cgi and unauthenticated admin password reveal; affected/fixed table per model; DCS-P703 end of service, retire and replace. — D-Link
  • D-Link DCS-2530L product page: no firmware updates after end of support September 17, 2021. — D-Link
  • CISA KEV catalog 2026.11.23: dateAdded 2025-08-05, due 2025-08-26, command injection in cgi-bin/ddns_enc.cgi, could be EoL/EoS, knownRansomwareCampaignUse Unknown, CWE-77; checked 2026-11-24. — CISA KEV
  • EPSS 0.54007, percentile 0.99027, dataset 2026-11-23, read 2026-11-24. — FIRST EPSS
  • CVE record PUBLISHED 2020-09-02 (assigner MITRE). — CVE.org

Related advisories

Sources

  1. NVD
  2. D-Link SAP10180: DCS-2530L, DCS-2670L, DCS-P703 and DCS-46xx/47xx/48xx, Authenticated Command Injection and Unauthenticated Credential Disclosure
  3. D-Link DCS-2530L product support page (end of support notice)
  4. CVE.org record CVE-2020-25079
  5. CISA KEV
  6. FIRST EPSS

Frequently asked questions

Which firmware fixes the DCS-2530L and DCS-2670L?

DCS-2530L v1.07.00 Hotfix, installed through the mydlink app, and DCS-2670L v2.03.00 Hotfix. D-Link also lists hotfixes for the DCS-4603, DCS-4622, DCS-4701E, DCS-4703E, DCS-4705E and DCS-4802E; the DCS-P703 gets none and should be retired (per D-Link SAP10180).

Does CVE-2020-25079 need a login?

Yes, NVD's vector uses PR:L and the CVE record calls it authenticated. But the companion flaw CVE-2020-25078 on the same cameras discloses the admin password without a login, so the requirement offers little protection on unpatched devices (per NVD and D-Link SAP10180).

Is updating the firmware enough?

Change the admin password after the update too. D-Link lists the DCS-P703 as end of service with no fix, and the DCS-2530L stopped receiving firmware updates after 2021-09-17, so plan to replace those (per D-Link SAP10180 and the DCS-2530L product page).

Is CVE-2020-25079 exploited in the wild?

Yes. CISA added it to the KEV catalog on 2025-08-05, and it is listed as of 2026-11-24 (catalog version 2026.11.23) with ransomware use marked Unknown. FIRST EPSS gives it 0.54007, the 99.03rd percentile, in the 2026-11-23 dataset (per CISA KEV and FIRST EPSS).