Security Advisory CVE-2026-42167: Kerentanan pada ProFTPD
Summary
A command injection vulnerability has been discovered in the mod_sql module of ProFTPD prior to version 1.3.10rc1. This vulnerability is caused by the use of unvalidated user input within the SQL-based logging mechanism.
Affected Products
- ProFTPD (
mod_sql) versions prior to 1.3.10rc1
Technical Details
The vulnerability occurs in configurations that log USER requests using expansions such as %U combined with an SQL backend that permits certain command executions (such as COPY TO PROGRAM). This condition allows attackers to inject malicious payloads via the username parameter, which are then processed as part of the SQL query.
Impact
Arbitrary command execution on the target system without valid authorization.
Mitigation
- Update ProFTPD to version 1.3.10rc1 or newer.
- Avoid using expansions such as
%Uin SQL logging involving direct user input. - Implement strict input validation and sanitization before use in SQL queries.
- Restrict SQL backend capabilities to disallow system command execution.
- Apply the least privilege principle to database accounts.
- Monitor for suspicious activities.
References
- Security Advisory CVE-2026-42167
Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.