Submit #754513: D-Link DWR-M960 V1.01.07 Stack-based Buffer Overflowinfo

TitleD-Link DWR-M960 V1.01.07 Stack-based Buffer Overflow
DescriptionDuring a security review of the D-Link DWR-M960 (Hardware B1, Firmware V1.01.07), a buffer overflow vulnerability was discovered in the VPN Configuration endpoint /boafrm/formVpnConfigSetup. The vulnerability is located within the sub_4196C4 function. This function handles the setup and restart of VPN services (IPSec/PPTP/L2TP). At the beginning of the function, the code retrieves the submit-url parameter. After performing validation checks (via sub_419398) and executing system commands to restart the WAN/VPN services, the function executes a strcpy operation to copy the content of submit-url into a global variable/buffer named wizard_htm. The code fails to verify if the length of the input string exceeds the size of the destination buffer. A malicious actor can exploit this by supplying an oversized submit-url parameter, leading to a buffer overflow.
Source⚠️ https://github.com/LX-66-LX/cve-new/issues/28
User LX-66-LX (UID 92717)
Submission02/09/2026 07:55 (3 months ago)
Moderation02/22/2026 08:19 (13 days later)
StatusAccepted
VulDB entry347328 [D-Link DWR-M960 1.01.07 VPN Configuration Endpoint formVpnConfigSetup sub_4196C4 submit-url stack-based overflow]
Points20

Do you want to use VulDB in your project?

Use the official API to access entries easily!