Security Advisory

CVE-2021-40655: D-Link DIR-605 getcfg.php Password Leak

Last updated:
  • CVE-2021-40655

CVE-2021-40655 is an information disclosure flaw in the D-Link DIR-605 router (hardware B2, firmware 2.01MT): a forged POST request to the getcfg.php page returns the router's user name and password. NVD scores it 7.5 and CISA lists it in KEV. D-Link says the DIR-605 is end of life; retire and replace it.

Vulnerability summary

CVSS base score

7.5

High severity

EPSS score (FIRST)

87.0%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2021-40655 · Source: NVD

Affected components

ComponentCPEVersion range
D-Link DIR-605 (Rev. B2)—Firmware 2.01MT named in the CVE description; all hardware revisions end of life, end of support 02/01/2015, retire and replace (D-Link SAP10393)
D-Link DIR-605Lcpe:2.3:o:dlink:dir-605l_firmware:2.01mt:*:*:*:*:*:*:*Firmware 2.01MT (NVD CPE); all hardware revisions end of life, end of support 09/24/2019, retire and replace (D-Link SAP10393)

What does this mean for affected devices?

NVD describes it as follows: "An information disclosure issue exists in D-LINK-DIR-605 B2 Firmware Version : 2.01MT. An attacker can obtain a user name and password by forging a post request to the / getcfg.php page." NVD's Primary score is CVSS v3.1 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N), with CVSS v2 5.0; CISA ADP gives the same 7.5. Both classify it as CWE-863, incorrect authorization. MITRE published the record on 2021-09-24 (NVD, CVE record). The researcher's GitHub repository that NVD references is no longer available.

DIR-605 or DIR-605L?

The CVE description and CISA's KEV entry name the DIR-605, but NVD's CPE configuration names dir-605l_firmware version 2.01mt. D-Link's notice covers both, so owners of either model should act on it.

Is the DIR-605 still supported?

No. D-Link's SAP10393, published on 20 May 2024, four days after the KEV listing, and last updated on 21 September 2026, covers the DIR-600, DIR-605 and DIR-605L: all models and all hardware revisions have reached end of life, and firmware development has ceased. Its table gives end-of-support dates of 02/01/2015 for the DIR-605 and 09/24/2019 for the DIR-605L, in all regions. D-Link North America recommends retiring and replacing them; outside North America, D-Link refers owners to their regional office. For US owners who keep one running, D-Link advises the latest firmware, a unique admin password changed often, and Wi-Fi encryption with a unique password. The legacy DIR-605 page that CISA cites gives the same 2/1/2015 last day of support. A password change does not stop a page that returns the password, so the real fix is replacement; until then, keep the web interface off the internet (BOD 23-02 guide).

Is CVE-2021-40655 exploited?

Yes. CISA added it to the KEV catalog on 2024-05-16 as "D-Link DIR-605 Router Information Disclosure Vulnerability", with a due date of 2024-06-06 and the required action to retire and replace the legacy product, since all hardware revisions are end of life. Known ransomware campaign use is Unknown. It is listed as of 2026-11-24 (catalog version 2026.11.23) (CISA KEV). FIRST EPSS gives it 0.87039, the 99.75th percentile, in the 2026-11-23 dataset (FIRST EPSS). CISA listed the DIR-600 CSRF CVE-2014-100005 the same day; another end-of-life D-Link device in KEV is the NAS backdoor CVE-2024-3272. Our KEV and EPSS prioritization guide explains how to rank them.

How to fix this class of issueNo dedicated SoftWSP guide covers this weakness class; the fix is usually the vendor patch or firmware update referenced above. Our related guide explains how to plan and verify it: NIST SP 800-40 Rev. 4: enterprise patch management planning, explained.

Evidence

  • NVD: information disclosure in D-LINK-DIR-605 B2 firmware 2.01MT, user name and password via forged POST to /getcfg.php; [email protected] Primary CVSS v3.1 7.5 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N and v2 5.0; CISA ADP 7.5; CWE-863; CPE dir-605l_firmware 2.01mt; references github.com/Ilovewomen/D-LINK-DIR-605 (404 on 2026-11-24) and dlink.com security bulletin; published 2021-09-24; status Analyzed; read 2026-11-24. — NVD
  • D-Link SAP10393 (published 20 May 2024, updated 21 September 2026): DIR-600 / DIR-605 / DIR-605L all models and hardware revisions EOL/EOS; end of support DIR-605 02/01/2015, DIR-605L 09/24/2019, all regions; D-Link North America recommends retire and replace; outside North America contact regional office; firmware development ceases; US consumers who continue: most recent firmware, unique password updated frequently, Wi-Fi encryption. — D-Link
  • D-Link legacy products page DIR-605: last day of support 2/1/2015; recommends retiring and replacing legacy products. — D-Link (legacy products)
  • CVE record: state PUBLISHED, CNA MITRE. — CVE.org
  • CISA KEV catalog 2026.11.23: dateAdded 2024-05-16, due 2024-06-06, required action legacy D-Link product, all hardware revisions EOL/EOS, retire and replace per vendor instructions; knownRansomwareCampaignUse Unknown; CWE-863; notes cite the legacy DIR-605 page; checked 2026-11-24. — CISA KEV
  • EPSS 0.87039, percentile 0.99753, dataset 2026-11-23, read 2026-11-24. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. D-Link SAP10393: DIR-600 / DIR-605 / DIR-605L, all hardware revisions, End of Life / End of Service
  3. D-Link legacy products: DIR-605
  4. CVE.org record CVE-2021-40655 (CNA: MITRE)
  5. CISA KEV
  6. FIRST EPSS

Frequently asked questions

Is there a firmware fix for CVE-2021-40655?

No. D-Link lists the DIR-605 and DIR-605L, all hardware revisions, as end of life, with end-of-support dates of 02/01/2015 and 09/24/2019, and recommends retiring and replacing them. CISA's required action is the same (per D-Link SAP10393 and CISA KEV).

Does CVE-2021-40655 need a password?

No. NVD's CVSS v3.1 7.5 vector requires no privileges and no user interaction: a forged POST request to getcfg.php returns the user name and password, so the flaw hands an attacker a valid login (per NVD).

Does CVE-2021-40655 affect the DIR-605 or the DIR-605L?

The CVE description and CISA KEV name the DIR-605 hardware B2 with firmware 2.01MT, while NVD's CPE names the DIR-605L firmware 2.01MT. Both models are end of life in D-Link's notice (per NVD, CISA KEV and D-Link SAP10393).

Is CVE-2021-40655 exploited in the wild?

Yes. CISA added it to KEV on 2024-05-16, and it is listed as of 2026-11-24 (catalog version 2026.11.23) with ransomware use marked Unknown. FIRST EPSS gives it 0.87039, the 99.75th percentile, in the 2026-11-23 dataset (per CISA KEV and FIRST EPSS).