Advisories

D-Link DSL/DIR/DNS Command Injection via DNS Configuration Endpoint

Go Back
severity
critical
date
Affecting
  • DSL-500/500G/502G/526B/2640B/2640T/2740R/2780B

  • DIR-600/608/610/611/615/905L

  • DNS-320/325/345

CWE
  • CWE-306 Missing Authentication for Critical Function
CVSS
9.3
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Credit
The Shadowserver Foundation
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).