D-Link DWR-M960 Stack-Based Buffer Overflow Vulnerability in Port Forwarding Configuration Endpoint

Vulnerability

A stack-based buffer overflow vulnerability has been identified in the D-Link DWR-M960 router, specifically in the Port Forwarding configuration endpoint '/boafrm/formPortFw' on firmware version 1.01.07. The issue arises in the function 'sub_423E00', where the 'submit-url' parameter is copied into a global buffer named 'wizard_htm' using 'strcpy', without proper bounds checking. This vulnerability can be exploited remotely, leading to application crashes and potentially allowing arbitrary code execution.

Impact

Exploitation of this vulnerability causes the web server to crash, and the device becomes unreachable. Additionally, there is potential for arbitrary code execution with root privileges.

Reproduction

The vulnerability can be reproduced by sending a POST request to '/boafrm/formPortFw' with the 'save_apply' parameter and an oversized 'submit-url' parameter. This can be done using a tool like Burp Suite to intercept and modify the request.

Added: Feb 20, 2026, 9:27 PM
Updated: Feb 20, 2026, 9:27 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
8.2
remediation
0.0
relevance
3.0
threat
6.4
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.