Overview
CVE-2025-3379 is a critical vulnerability discovered in PCMan FTP Server 2.0.7. The flaw lies within the EPSV Command Handler, where a manipulation can lead to a buffer overflow. This vulnerability can be exploited remotely, putting a wide range of systems at risk. Given the severity of the potential impact, including system compromise and data leakage, it is crucial for system administrators and security teams to apply necessary patches immediately.
Vulnerability Summary
CVE ID: CVE-2025-3379
Severity: Critical (7.3 CVSS Score)
Attack Vector: Network
Privileges Required: None
User Interaction: None
Impact: System compromise, data leakage
Affected Products
Product | Affected Versions
PCMan FTP Server | 2.0.7
How the Exploit Works
The critical vulnerability in PCMan FTP Server 2.0.7 is tied to the EPSV Command Handler. The flaw occurs due to inadequate handling of user-supplied input, leading to a buffer overflow condition. An attacker can exploit this by sending specially crafted commands to the server, causing it to overflow its buffer. This overflow can lead to the execution of arbitrary code, or even full system compromise.
Conceptual Example Code
Here’s a hypothetical example of how the vulnerability might be exploited using FTP commands:
USER anonymous
PASS
EPSV AAAAAAAAAAAAAAAAAAAAAAAAA...[long string of "A"s]...
In this conceptual example, the EPSV command is followed by a long string of “A”s, which is designed to overflow the buffer. This could allow an attacker to overwrite memory locations and execute arbitrary code.