CVE-2025-13305
8.8D-Link · DWR-M920, DWR-M921, DWR-M960, DIR-822K, DIR-825M
A buffer overflow vulnerability in the Traceroute diagnostic function of multiple D-Link routers allows remote attackers to execute arbitrary code.
Executive summary
A critical buffer overflow vulnerability in multiple D-Link router models allows remote attackers to compromise system integrity.
Vulnerability
The vulnerability exists within the processing of the host argument in the /boafrm/formTracerouteDiagnosticRun endpoint. By manipulating this argument, a remote attacker with low privileges can trigger a buffer overflow, leading to memory corruption.
Business impact
The exploitation of this flaw can lead to a total compromise of the affected routing hardware, allowing for unauthorized code execution. Given the CVSS score of 8.8, this represents a high risk that could facilitate network-wide eavesdropping, traffic redirection, or the use of these devices as entry points for lateral movement within the corporate network.
Remediation
Immediate Action: Monitor the vendor support portal for official firmware updates and apply them to all affected devices as soon as they become available.
Proactive Monitoring: Review system logs for unusual diagnostic activity or repeated failed attempts to access routing configuration endpoints.
Compensating Controls: Restrict access to the router management interface to trusted internal IP addresses and employ a WAF or firewall rule to block unauthorized access to the /boafrm/ directory.
Exploitation status
Public Exploit Available: Yes, a public proof of concept is available via the referenced GitHub issue (https://github.com/LX-LX88/cve/issues/12).
Analyst recommendation
Due to the availability of a public proof of concept and the high severity of potential memory corruption, organizations should treat this vulnerability with high priority. We recommend isolating these devices from external network exposure until a vendor-supplied patch is successfully deployed.
More D-Link CVEs
Sources
Originally found and disclosed by LX-LX (VulDB User), per the CVE Program record.
- VDB-332645 | D-Link DWR-M920/DWR-M921/DWR-M960/DIR-822K/DIR-825M formTracerouteDiagnosticRun buffer overflow Vulnerability database entry
- VDB-332645 | CTI Indicators (IOB, IOC, IOA)
- Submit #691809 | D-Link DWR-M960 V1.01.07 Buffer Overflow Third-party advisory
- Submit #691816 | D-Link DWR-M920 V1.1.5 Buffer Overflow (Duplicate) Third-party advisory
- Submit #693784 | D-Link DIR-822k TK_1.00_20250513164613 Buffer Overflow (Duplicate) Third-party advisory
- Submit #693806 | D-Link DWR-M921 V1.1.50 Buffer Overflow (Duplicate) Third-party advisory
- Submit #695424 | D-Link DIR-825m v1.1.12 Buffer Overflow (Duplicate) Third-party advisory
- Exploit / PoC