LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2021-40655: D-Link DIR-605 Router Information Disclosure Vulnerability

RBRecent Breaches Vulnerability Intelligence·May 16, 2024
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
Jun 6, 2024
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2021-40655 to its Known Exploited Vulnerabilities catalog on May 16, 2024, with a federal patch deadline of Jun 6, 2024 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

D-Link DIR-605 routers contain an information disclosure vulnerability that allows attackers to obtain a username and password by forging a post request to the /getcfg.php page.

CVE-2021-40655 is an information disclosure vulnerability in D-Link DIR-605 routers. Attackers can forge a POST request to the /getcfg.php page and retrieve a username and password. Because these credentials can grant administrative access to the device, successful abuse can expose network configuration, connected clients, and any traffic that passes through the router.

This matters for IT and security teams that still operate legacy consumer or small-office routers. The product line has reached end-of-life and end-of-service status, so no further vendor patches are expected. Unpatched devices left on production networks remain a persistent risk of credential theft and subsequent device takeover.

How it works

The underlying weakness is classified as CWE-863 (Incorrect Authorization). The router’s web management interface fails to enforce proper authorization checks on the /getcfg.php endpoint. An unauthenticated or insufficiently authenticated attacker can craft a POST request that causes the device to return sensitive configuration data, including a username and password.

In practice, an attacker who can reach the management interface—whether from the local LAN or, if remote management is enabled, from the internet—sends a specially formed request to that page. The device responds with the requested credentials. No further exploit code details are required for defenders to understand the risk; the core issue is unauthorized access to configuration data that should be protected. Exact request parameters and response formats must be confirmed against the vendor advisory or public technical analyses of the CVE.

Am I affected? How to find it in your systems

D-Link DIR-605 routers are typically found in home, small-office, or branch environments as consumer-grade wireless gateways. They may still appear in inventories of older deployments, secondary networks, or unmanaged guest Wi-Fi segments.

How to remediate

The CISA-required action for this vulnerability is retirement and replacement. All associated hardware revisions have reached end-of-life or end-of-service; no security updates are forthcoming. Follow the vendor’s instructions to decommission the DIR-605 and migrate to a currently supported router model that receives ongoing firmware maintenance.

If a temporary firmware update or configuration change is mentioned in the original vendor advisory, apply it only after confirming the exact steps; otherwise treat replacement as the sole durable fix.

If you can't patch immediately

While arranging replacement, reduce exposure with compensating controls appropriate to an unauthenticated information-disclosure flaw on a network appliance.

These steps do not eliminate the vulnerability but shrink the attack surface until the hardware can be retired.

If your data may have been exposed

Actively exploited router vulnerabilities frequently lead to credential theft and subsequent network compromise. If logs or other evidence suggest that /getcfg.php was accessed by an unauthorized party, assume the recovered username and password may have been used to reconfigure the device or pivot further. Rotate any credentials that were stored on or reused with the router, examine connected systems for signs of lateral movement, and consider a free exposure scan of organizational email addresses against known breach data sets to determine whether related accounts have already appeared in public dumps.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedD-Link · DIR-605 Router
WeaknessCWE-863
Added to CISA KEVMay 16, 2024
Federal patch deadlineJun 6, 2024
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities