Description
Multiple D-Link DSL/DIR/DNS devices contain an authentication bypass and improper access control vulnerability in the dnscfg.cgi endpoint that allows an unauthenticated attacker to access DNS configuration functionality. By directly requesting this endpoint, an attacker can modify the device’s DNS settings without valid credentials, enabling DNS hijacking (“DNSChanger”) attacks that redirect user traffic to attacker-controlled infrastructure. In 2019, D-Link reported that this behavior was leveraged by the "GhostDNS" malware ecosystem targeting consumer and carrier routers. All impacted products were subsequently designated end-of-life/end-of-service, and no longer receive security updates. Exploitation evidence was observed by the Shadowserver Foundation on 2025-11-27 (UTC).
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| D-Link | DSL-2640B | — | — |
| D-Link | DSL-2740R | — | — |
| D-Link | DSL-2780B | — | — |
| D-Link | DSL-526B | — | — |
| D-Link | DSL-2640T | — | — |
| D-Link | DSL-500 | — | — |
| D-Link | DSL-500G | — | — |
| D-Link | DSL-502G | — | — |
| D-Link | DIR-905L | — | — |
| D-Link | DIR-600 | — | — |
| D-Link | DIR-608 | — | — |
| D-Link | DIR-610 | — | — |
| D-Link | DIR-611 | — | — |
| D-Link | DIR-615 | — | — |
| D-Link | DNS-320 | — | — |
| D-Link | DNS-325 | — | — |
| D-Link | DNS-345 | — | — |
Advisories 1
- WID-SEC-2026-0024 D-LINK Router: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Jan 6, 2026
References
- https://supportannouncement.us.dlink.com/security/publication.aspx?name=SAP10488 vendor-advisory mitigation
- https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10068 vendor-advisory
- https://supportannouncement.us.dlink.com/security/publication.aspx?name=SAP10118 vendor-advisory
- https://www.vulncheck.com/advisories/dlink-dsl-command-injection-via-dns-configuration-endpoint third-party-advisory