D-Link DIR-645
cpe:2.3:h:d-link:dir-645:*:*:*:*:*:*:*, +2 more
- <= 1.03
A stack-based buffer overflow vulnerability has been identified in the D-Link DIR-645 router, specifically in firmware versions 1.01, 1.02, and 1.03. The issue resides in the `hedwigcgi_main` function of the `/cgi-bin/hedwig.cgi` file. This vulnerability allows for remote code execution by overwriting the return address on the stack and hijacking the program's execution flow.
Exploitation of this vulnerability leads to remote code execution on the affected device.
The vulnerability can be reproduced by sending a crafted HTTP request that includes an excessively long user session identifier. This can be done using a tool like `curl` or through a custom script that automates the process. The key is to overwrite the stack buffer in such a way that the return address is manipulated to point to a location containing malicious payloads.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.