D-Link DSL/DIR/DNS Authentication Bypass via DNS Configuration Endpoint
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| D-Link | DSL-2640B | unknown |
|
||||||
| D-Link | DSL-2740R | unknown |
|
||||||
| D-Link | DSL-2780B | unknown |
|
||||||
| D-Link | DSL-526B | unknown |
|
||||||
| D-Link | DSL-2640T | unknown |
|
||||||
| D-Link | DSL-500 | unknown |
|
||||||
| D-Link | DSL-500G | unknown |
|
||||||
| D-Link | DSL-502G | unknown |
|
||||||
| D-Link | DIR-905L | unknown |
|
||||||
| D-Link | DIR-600 | unknown |
|
||||||
| D-Link | DIR-608 | unknown |
|
||||||
| D-Link | DIR-610 | unknown |
|
||||||
| D-Link | DIR-611 | unknown |
|
||||||
| D-Link | DIR-615 | unknown |
|
||||||
| D-Link | DNS-320 | unknown |
|
||||||
| D-Link | DNS-325 | unknown |
|
||||||
| D-Link | DNS-345 | unknown |
|
No data.
No data.
| Vendor | Product | Versions |
|---|---|---|
| D-link | Dsl-2640b | — |
| D-link | Dsl-2740r | — |
| D-link | Dsl-2780b | — |
| D-link | Dsl-526b | — |
Vendor Solution
D-Link Systems, Inc. recommends retiring these products and replacing them with products that receive firmware updates.
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.972% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Title | D-Link DSL/DIR/DNS Command Injection via DNS Configuration Endpoint | D-Link DSL/DIR/DNS Authentication Bypass via DNS Configuration Endpoint |
| Metrics |
cvssV4_0
|
cvssV4_0
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Dlink
Dlink dsl-2640b Firmware Dlink dsl-2640t Dlink dsl-2640t Firmware Dlink dsl-2740r Dlink dsl-2740r Firmware |
|
| CPEs | cpe:2.3:h:dlink:dsl-2640t:-:*:*:*:*:*:*:* cpe:2.3:h:dlink:dsl-2740r:-:*:*:*:*:*:*:* cpe:2.3:o:dlink:dsl-2640b_firmware:eu_4.01b:*:*:*:*:*:*:* cpe:2.3:o:dlink:dsl-2640t_firmware:-:*:*:*:*:*:*:* cpe:2.3:o:dlink:dsl-2740r_firmware:uk_1.01:*:*:*:*:*:*:* |
|
| Vendors & Products |
Dlink
Dlink dsl-2640b Firmware Dlink dsl-2640t Dlink dsl-2640t Firmware Dlink dsl-2740r Dlink dsl-2740r Firmware |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-78 |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Multiple D-Link DSL gateway devices contain a command injection vulnerability in the dnscfg.cgi endpoint due to improper sanitization of user-supplied DNS configuration parameters. An unauthenticated remote attacker can inject and execute arbitrary shell commands, resulting in remote code execution. The affected endpoint is also associated with unauthenticated DNS modification (“DNSChanger”) behavior documented by D-Link, which reported active exploitation campaigns targeting firmware variants of the DSL-2740R, DSL-2640B, DSL-2780B, and DSL-526B models from 2016 through 2019. Exploitation evidence was observed by the Shadowserver Foundation on 2025-11-27 (UTC). Affected devices were declared end-of-life/end-of-service in early 2020. | 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). |
| Title | D-Link DSL Command Injection via DNS Configuration Endpoint | D-Link DSL/DIR/DNS Command Injection via DNS Configuration Endpoint |
| Weaknesses | CWE-306 | |
| References |
| |
| Metrics |
cvssV4_0
|
cvssV4_0
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
D-link
D-link dsl-2640b D-link dsl-2740r D-link dsl-2780b D-link dsl-526b |
|
| Vendors & Products |
D-link
D-link dsl-2640b D-link dsl-2740r D-link dsl-2780b D-link dsl-526b |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Multiple D-Link DSL gateway devices contain a command injection vulnerability in the dnscfg.cgi endpoint due to improper sanitization of user-supplied DNS configuration parameters. An unauthenticated remote attacker can inject and execute arbitrary shell commands, resulting in remote code execution. The affected endpoint is also associated with unauthenticated DNS modification (“DNSChanger”) behavior documented by D-Link, which reported active exploitation campaigns targeting firmware variants of the DSL-2740R, DSL-2640B, DSL-2780B, and DSL-526B models from 2016 through 2019. Exploitation evidence was observed by the Shadowserver Foundation on 2025-11-27 (UTC). Affected devices were declared end-of-life/end-of-service in early 2020. | |
| Title | D-Link DSL Command Injection via DNS Configuration Endpoint | |
| Weaknesses | CWE-78 | |
| References |
| |
| Metrics |
cvssV4_0
|