D-Link DIR-825 Stack-Based Buffer Overflow Vulnerability via HTTP POST Requests

Vulnerability

A critical stack-based buffer overflow vulnerability has been identified in the D-Link DIR-825 router, specifically in version 2.03. This vulnerability arises in the 'do_file' function of the HTTP POST request handler, where improper input handling allows for buffer overflow conditions. The issue can be exploited remotely, and a public proof-of-concept exploit is available.

Impact

Exploitation of this vulnerability leads to a stack-based buffer overflow, which can commonly result in arbitrary code execution or causing the device to crash.

Reproduction

The vulnerability can be reproduced by sending a specially crafted HTTP POST request to the router. The 'do_file' function will process the request, and the lack of proper bounds checking will allow the buffer overflow to occur.

Added: Jun 20, 2025, 1:50 AM
Updated: Jun 20, 2025, 1:50 AM

Vulnerability Rating

Custom Algorithm
spread
4.5
impact
7.5
exploitability
6.2
remediation
0.0
relevance
0.2
threat
6.4
urgency
2.9
incentive
0.8

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