Goal Reached Thanks to every supporter โ€” we hit 100%!

Goal: 1000 CNY ยท Raised: 1359 CNY

100%

CVE-2026-42167 โ€” AI Deep Analysis Summary

CVSS 8.1 ยท High

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.โ€ฆ

Q2Root Cause? (CWE/Flaw)

๐Ÿ” **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.โ€ฆ

Q3Who is affected? (Versions/Components)

๐Ÿ“ฆ **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.โ€ฆ

Q5Is exploitation threshold high? (Auth/Config)

โš–๏ธ **Threshold**: **High** Complexity (AC:H). <br>๐Ÿ”‘ **Requirements**: <br>1. Must use `mod_sql`. <br>2. SQL backend must allow commands (e.g., `COPY TO PROGRAM`). <br>3. No authentication required (PR:N).โ€ฆ

Q6Is there a public Exp? (PoC/Wild Exploitation)

๐Ÿ”“ **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.โ€ฆ

Q8Is it fixed officially? (Patch/Mitigation)

๐Ÿ›ก๏ธ **Fixed?**: **Yes**. <br>๐Ÿ“ฆ **Patch**: Upgrade to **ProFTPD 1.3.10rc1** or later. <br>๐Ÿ“ **Source**: Official release notes confirm the fix. โœ… **Action**: Immediate upgrade recommended.

Q9What if no patch? (Workaround)

๐Ÿšง **No Patch?**: <br>1. **Disable** `mod_sql` if not strictly needed. <br>2. Restrict SQL backend commands (disable `COPY TO PROGRAM`). <br>3. Implement strict input validation in application layer.โ€ฆ

Q10Is it urgent? (Priority Suggestion)

๐Ÿ”ฅ **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!