EasyFTP Server Stack-Based Buffer Overflow Vulnerability Allowing Remote Code Execution

Vulnerability

A stack-based buffer overflow vulnerability has been identified in EasyFTP Server versions through 1.7.0.11. The issue arises in the FTP command parser, specifically when the CWD (Change Working Directory) command is processed. The server does not properly validate the length of the input string, which allows attackers to overwrite memory on the stack. This vulnerability enables remote code execution without authentication, as EasyFTP allows anonymous access by default. The flaw was addressed in version 1.7.0.12, after which the product was renamed 'UplusFtp'.

Impact

Exploitation of this vulnerability allows for arbitrary code execution on the server.

Reproduction

The vulnerability can be reproduced by sending a crafted CWD command that includes a payload designed to exploit the buffer overflow. This can be done using a FTP client or programmatically via a script that connects to the FTP server, logs in as an anonymous user, and sends the malicious CWD command with the overflow payload. The Metasploit Framework includes a module that automates this exploitation process.

Remediation

Users are advised to upgrade to EasyFTP Server version 1.7.0.12 or later.

Added: Aug 21, 2025, 8:33 PM
Updated: Aug 21, 2025, 8:33 PM

Vulnerability Rating

Custom Algorithm
spread
0.8
impact
10.0
exploitability
9.5
remediation
7.7
relevance
0.4
threat
7.8
urgency
2.9
incentive
10.0

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