CVE-2021-42627
Critical · 9.8CVSS
9.8
EPSS
63.1%
Published
Aug 23, 2022
CISA due date
—
Cloudanix analysis
Attackers may be able to view or change internet router settings without logging in, which could disrupt service or redirect users’ traffic.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Trivial
- Impact
- Data Tampering
- Component
- Firmware
- Class
- Authentication Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Medium
What it actually does
The flaw is an unauthenticated access control failure in the D-Link DIR-615 WAN configuration page, `wan.htm`, in firmware version 20.06. A remote network attacker who can reach the router's web management interface can directly request the WAN settings page without logging in. This can expose sensitive network configuration such as WAN addressing, gateway, DNS, PPPoE or ISP-related settings, and may allow modification of WAN configuration fields. Because the issue requires no credentials, no user interaction, and can be exploited over the network, it can result in loss of confidentiality, integrity, and availability of the affected router and its downstream network connectivity.
Why it matters to the business
Successful exploitation can allow an attacker to view or change internet-facing router settings, potentially causing outages, traffic redirection, DNS hijacking, interception opportunities, or loss of connectivity for users behind the device. The vulnerability has a high CVSS score and high EPSS likelihood with weaponized exploitation reported, so exposed devices should be treated as high-risk even though the issue is not currently listed in CISA KEV. DIR-615 devices are common small-office and consumer routers, which increases the likelihood that vulnerable devices remain deployed beyond normal enterprise asset inventories.
How an attack unfolds
An attacker first identifies a reachable D-Link DIR-615 web management interface, typically by scanning for exposed HTTP administration services. Instead of authenticating, the attacker directly requests the WAN configuration endpoint, `/wan.htm`. On vulnerable firmware, the router serves the page without enforcing a valid authenticated session. The attacker can then read WAN configuration data and, where the page accepts changes, submit modified settings through the same interface. Practical abuse may include changing DNS servers to attacker-controlled resolvers, altering WAN connection settings to disrupt service, modifying gateway or PPPoE parameters, or using the exposed information to support further compromise of the network. Internet-exposed management interfaces are the highest-risk scenario, but exploitation is also possible from an untrusted local network segment or by malware already present behind the router.
How to fix it
Upgrade the affected D-Link DIR-615 firmware if a vendor-provided fixed firmware is available for the specific hardware revision. No fixed versions were provided in the input, so organizations should verify support status directly with D-Link and replace end-of-life devices that do not have a security update. Immediately disable remote administration from the internet, restrict management access to trusted internal administration networks only, and block external access to router management ports at upstream firewalls. Change administrator credentials after remediation because exposed configuration may have enabled follow-on compromise. Review WAN and DNS settings and restore known-good values. Where patching is not possible, remove the device from production or place it behind a trusted firewall that prevents untrusted access to its management interface.
How to confirm the fix worked
Confirm that the router model and hardware revision are not running vulnerable firmware 20.06 or another affected build. From an unauthenticated network position that should not have management access, attempt to request `http://<router-address>/wan.htm` and verify that access is denied, redirected to authentication, or blocked by network controls. Confirm that remote management is disabled and that the management interface is not reachable from the internet. Validate current WAN, DNS, gateway, PPPoE, and ISP settings against an approved baseline. Use external attack-surface scanning to ensure the router administration service is not publicly exposed.
Typical attack path
- Scan for D-Link DIR-615 router web management interfaces exposed on HTTP or HTTPS.
- Fingerprint the device or infer the model from login page content, headers, page paths, or embedded assets.
- Send an unauthenticated request directly to `/wan.htm`.
- If the page is returned, review exposed WAN configuration details such as IP mode, gateway, DNS, and ISP connection settings.
- Submit modified WAN configuration fields if the interface accepts unauthenticated changes.
- Use the changed configuration to redirect traffic, break connectivity, force use of malicious DNS, or support follow-on attacks.
How to detect it
Review router HTTP access logs where available, upstream firewall logs, reverse proxy logs if the management interface is proxied, IDS/IPS telemetry, NetFlow, and packet captures for direct unauthenticated requests to `/wan.htm`. Pay special attention to requests from internet addresses, unusual internal hosts, or repeated scanning across many routers. Look for HTTP GET requests used to read the page and POST requests used to modify settings. Examine router configuration backups, current running configuration, and administrative event logs for unauthorized WAN, DNS, gateway, PPPoE, or remote-management changes. Investigate unexpected DNS resolvers, loss of WAN connectivity, unexplained public IP or gateway changes, and configuration timestamps that do not align with authorized maintenance. If logs are limited, compare current router settings against known-good baselines and review upstream network telemetry for access to the router management interface on ports 80, 8080, 443, or other configured management ports.
- /wan.htm
- GET /wan.htm
- POST /wan.htm
- http://*/wan.htm
- wan.htm
- Referer: /wan.htm
- D-Link DIR-615
- DIR-615
- DNS server changed
- WAN settings changed
- PPPoE settings changed
- Remote Management enabled
What your security team should do
- Prioritize internet-exposed D-Link DIR-615 devices for immediate containment because exploitation is unauthenticated, low-complexity, and weaponized.
- Disable WAN-side remote administration and restrict router management access to trusted administrative networks only.
- Identify DIR-615 hardware revisions and firmware versions; upgrade where supported or replace unsupported/end-of-life devices.
- Review router WAN and DNS settings for unauthorized changes, especially unexpected DNS resolvers or altered gateway/connection parameters.
- Rotate router administrative credentials and any ISP/PPPoE credentials that may have been exposed.
- Search web server, firewall, proxy, and network telemetry for unauthenticated access attempts to `/wan.htm`.
- Add SIEM detections for direct requests to D-Link router configuration pages from untrusted networks.
- Monitor for user reports or telemetry indicating DNS hijacking, unusual name resolution, or sudden connectivity instability behind affected routers.
The record
The WAN configuration page "wan.htm" on D-Link DIR-615 devices with firmware 20.06 can be accessed directly without authentication which can lead to disclose the information about WAN settings and also leverage attacker to modify the data fields of page.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|