D-Link DSL/DIR/DNS Authentication Bypass via DNS Configuration Endpoint (D-Link DSL-2640B)

CVE-2026-0625
CRITICAL 9.3

At a glance

Source
NVD
EPSS
EPSS 0.97 % · percentile 62 ()
State
PUBLISHED
Published
Updated
Assigner
VulnCheck
NVD status
Deferred

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).

Weaknesses (CWE)

  • CWE-306 — Missing Authentication for Critical Functionality

References

Scores

VersionScoreVectorScored by
CVSS 4.0CRITICAL 9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck
CVSS 4.0CRITICAL 9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XNVD · disclosure@vulncheck.com (Secondary)

European references

Affected products

ProductVersions
D-Link · DSL-2640Baffected 0
D-Link · DSL-2740Raffected 0
D-Link · DSL-2780Baffected 0
D-Link · DSL-526Baffected 0
D-Link · DSL-2640Taffected 0
D-Link · DSL-500affected 0
D-Link · DSL-500Gaffected 0
D-Link · DSL-502Gaffected 0
D-Link · DIR-905Laffected 0
D-Link · DIR-600affected 0
D-Link · DIR-608affected 0
D-Link · DIR-610affected 0
D-Link · DIR-611affected 0
D-Link · DIR-615affected 0
D-Link · DNS-320affected 0
D-Link · DNS-325affected 0
D-Link · DNS-345affected 0

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD