CVE-2010-20121

9.8 CRITICAL

📋 TL;DR

EasyFTP Server versions up to 1.7.0.11 contain a critical stack-based buffer overflow vulnerability in the CWD command parser that allows unauthenticated remote attackers to execute arbitrary code. This affects all systems running vulnerable versions, particularly those with internet-facing FTP services, as anonymous access is enabled by default. Attackers can completely compromise affected systems.

💻 Affected Systems

Products:
  • EasyFTP Server
Versions: All versions up to and including 1.7.0.11
Operating Systems: Windows
Default Config Vulnerable: ⚠️ Yes
Notes: Anonymous FTP access enabled by default increases attack surface. Product was renamed to UplusFtp after fix.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system compromise with remote code execution leading to data theft, ransomware deployment, or creation of persistent backdoors.

🟠

Likely Case

Remote attacker gains full control of the FTP server host system, potentially pivoting to other network resources.

🟢

If Mitigated

Limited impact if proper network segmentation and access controls prevent exploitation or contain damage.

🌐 Internet-Facing: HIGH - Unauthenticated remote code execution with public exploits available makes internet-facing instances extremely vulnerable.
🏢 Internal Only: MEDIUM - Still significant risk from internal threats or compromised systems, but attack surface is reduced.

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: CONFIRMED
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Multiple public exploits available including Metasploit module. Exploitation is straightforward with working public code.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.7.0.12 and later (renamed to UplusFtp)

Vendor Advisory: https://paulmakowski.wordpress.com/2010/02/28/increasing-payload-size-w-return-address-overwrite/

Restart Required: Yes

Instructions:

1. Download UplusFtp (renamed product) or EasyFTP Server version 1.7.0.12+ from official source. 2. Stop the FTP service. 3. Backup configuration files. 4. Install the updated version. 5. Restart the FTP service.

🔧 Temporary Workarounds

Disable Anonymous Access

windows

Remove anonymous FTP user account to require authentication

Edit EasyFTP configuration to remove anonymous user or set 'AllowAnonymous=0'

Network Access Control

all

Restrict FTP access to trusted IP addresses only

Configure Windows Firewall or network firewall to allow FTP (port 21) only from specific IP ranges

🧯 If You Can't Patch

  • Immediately disable the FTP service and use alternative secure file transfer methods
  • Implement strict network segmentation with firewall rules to isolate the FTP server from critical systems

🔍 How to Verify

Check if Vulnerable:

Check EasyFTP Server version in application interface or registry: HKEY_LOCAL_MACHINE\SOFTWARE\EasyFTP Server\Version

Check Version:

reg query "HKLM\SOFTWARE\EasyFTP Server" /v Version

Verify Fix Applied:

Confirm version is 1.7.0.12 or higher, or product name has changed to UplusFtp

📡 Detection & Monitoring

Log Indicators:

  • Unusually long CWD commands in FTP logs
  • Multiple failed CWD attempts with long strings
  • Anonymous user executing CWD with suspicious parameters

Network Indicators:

  • FTP traffic with abnormally long CWD commands (> 2000 bytes)
  • Multiple CWD commands from single source in short time

SIEM Query:

source="ftp.log" AND (command="CWD" AND length(message) > 2000) OR (user="anonymous" AND command="CWD")

🔗 References

📤 Share & Export