Remote code execution via oversized RMDIR argument
Published May 27, 2025 · Updated May 27, 2025
Buffer overflow in the RMDIR handler in FreeFloat FTP Server 1.0.0 allows remote attackers to execute code via a crafted FTP command. The handler accepts an oversized directory name and overwrites the saved instruction pointer after 245 bytes, redirecting execution to attacker-controlled payload data. An FTP login is required; the public exploit uses anonymous credentials and executes code with the server process account.
Summary
What happened
Buffer overflow in the RMDIR handler in FreeFloat FTP Server 1.0.0 allows remote attackers to execute code via a crafted FTP command. The handler accepts an oversized directory name and overwrites the saved instruction pointer after 245 bytes, redirecting execution to attacker-controlled payload data. An FTP login is required; the public exploit uses anonymous credentials and executes code with the server process account.
The record
- CVE
- CVE-2025-5217
- Published
- May 27, 2025
- Updated
- May 27, 2025
- Vendor
- Freefloat AB
- Product
- Freefloat FTP Server
- Classifications
- CWE-119, CWE-120, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 27, 2025CVE publishedPublication date reported by the CVE source.
- May 27, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.0.0
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- FreeFloat FTP Server 1.0 RMDIR Remote Buffer Overflow Exploitweaponized · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo