CVE-2025-5664
BaseFortify
Publication date: 2025-06-05
Last updated on: 2025-06-24
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| freefloat | freefloat_ftp_server | 1.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-119 | The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. |
| CWE-120 | The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2025-5664 is a critical buffer overflow vulnerability in FreeFloat FTP Server version 1.0, specifically in the handling of the 'RESTART' FTP command. The server improperly processes input to this command without verifying the input size against the buffer size, leading to a buffer overflow. An attacker can send a specially crafted 'RESTART' command with an overly long payload that overwrites the instruction pointer (EIP) and injects shellcode. This allows remote code execution on the affected system without authentication, enabling the attacker to gain control over the server process. [1, 2, 3]
How can this vulnerability impact me? :
This vulnerability allows an unauthenticated remote attacker to execute arbitrary code on the affected FreeFloat FTP Server 1.0 system. Successful exploitation can lead to a complete compromise of the server, including gaining remote shell access with the privileges of the FTP server process. This impacts the confidentiality, integrity, and availability of the system, potentially allowing attackers to steal data, modify or delete files, disrupt services, or use the compromised server as a foothold for further attacks. [1, 2, 3]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by attempting to send a crafted 'RESTART' FTP command with an oversized payload to the FreeFloat FTP Server 1.0 and observing if the server crashes or behaves unexpectedly, indicating a buffer overflow. A practical detection method involves using a network tool or script to connect to the FTP server on port 21 and send a 'RESTART' command with a payload of at least 243 characters followed by specific bytes to test for overflow. For example, using netcat or a custom script to send: 'RESTART ' followed by 243 'A' characters and monitoring the server response or crash. Additionally, monitoring network traffic for unusual or malformed 'RESTART' commands or unexpected server crashes can help detect exploitation attempts. [1, 3]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include replacing or discontinuing the use of FreeFloat FTP Server version 1.0, as no known technical mitigations or patches currently exist. Restricting network access to the FTP server, especially blocking port 21 from untrusted networks, can reduce exposure. Monitoring for exploit attempts and applying network-level protections such as intrusion detection/prevention systems to detect and block malicious 'RESTART' commands is advisable. Ultimately, migrating to a secure and supported FTP server software is recommended to avoid the risk posed by this critical buffer overflow vulnerability. [2]