MiniFtp Buffer Overflow Vulnerability in Configuration Parser Allows Local Code Execution
Vulnerability
A buffer overflow vulnerability has been identified in MiniFtp, specifically within the 'parseconf_load_setting' function. This vulnerability allows local attackers to execute arbitrary code by providing oversized configuration values. Attackers can create a 'miniftpd.conf' file with values exceeding 128 bytes, which can overflow stack buffers, overwrite the return address, and enable code execution with root privileges.
Impact
Exploitation of this vulnerability leads to a buffer overflow, allowing for arbitrary code execution with root privileges.
Reproduction
The vulnerability can be reproduced by crafting a 'miniftpd.conf' file that includes values longer than 128 bytes. When MiniFtp processes this configuration file, the oversized values will overflow the stack buffers. This can be done manually or by using an exploit that automates the process, such as the one available on Exploit Database.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
