This is a summary of the AI-generated 10-question deep analysis. The full version (longer answers, follow-up Q&A, related CVEs) requires login.
Read the full analysis โ
Q1What is this vulnerability? (Essence + Consequences)
๐จ **Essence**: ProFTPD **SQL Injection** in `mod_sql`. <br>๐ฅ **Consequences**: Remote attackers can execute **arbitrary code** on the server via malicious usernames in USER requests.โฆ
๐ **Root Cause**: Unsafe handling of username expansions (e.g., `%U`) in SQL logging. <br>โ ๏ธ **Flaw**: The module fails to sanitize inputs before injecting them into SQL commands, allowing code injection.โฆ
๐ฆ **Affected**: ProFTPD versions **before 1.3.10rc1**. <br>๐ง **Component**: Specifically the **`mod_sql`** module. <br>๐ **Scope**: Any instance using this module with specific backend configurations.
Q4What can hackers do? (Privileges/Data)
๐ป **Privileges**: Remote Code Execution (RCE). <br>๐ **Access**: Attackers gain the same privileges as the **ProFTPD service user**. <br>๐ **Data**: Potential full read/write access to server files and data.โฆ
๐ **Public Exp?**: **Yes**. <br>๐ **PoC**: Available on GitHub (ZeroPathAI) and Nuclei templates. <br>๐ **Status**: Wild exploitation possible for those with the right config. ๐ฅ **Links**: Provided in references.
Q7How to self-check? (Features/Scanning)
๐ **Self-Check**: <br>1. Scan for ProFTPD versions < 1.3.10rc1. <br>2. Verify if `mod_sql` is loaded. <br>3. Check if SQL backend allows external commands.โฆ
๐ฅ **Urgency**: **CRITICAL**. <br>๐ **Priority**: **P0**. <br>โก **Reason**: RCE with no auth required. Even with high complexity, the impact is total server compromise. ๐ **Action**: Patch immediately!