| CVE |
Vendors |
Products |
Updated |
CVSS v3.1 |
| ProFTPD 1.3.6rc1 through 1.3.9f and 1.3.10rc1 through 1.3.10rc6 contains a login timeout bypass vulnerability in modules/mod_auth.c that allows unauthenticated attackers to evade TimeoutLogin by sending repeated HOST commands. Attackers can periodically switch between name-based virtual hosts to reset the login timer, holding server processes open indefinitely and preventing mod_ban login-timeout events. |
| ProFTPD through 1.3.9f and 1.3.10rc1 through 1.3.10rc6 contains an authorization bypass vulnerability that allows remote clients to evade <Limit OPTS_MLST> restrictions by directly issuing the internal OPTS_MLST command. Because cmd_loop() dispatches underscore-bearing internal commands and skips the dir_check() in core_opts(), authenticated users can change MLST facts to obtain withheld file owner, group, and permission data. |
| ProFTPD through 1.3.9f and 1.3.10rc1 through 1.3.10rc6 contains an access control bypass vulnerability in setup_env() of modules/mod_auth.c. It allows authenticated users to escape DefaultRoot confinement because stale session.chroot_path state persists after a refused anonymous login. Attackers with valid ordinary account credentials can trigger a refused anonymous login, then retry USER/PASS on the same control connection. This lets them read or write files in directories denied by <Limit ALL> DenyAll policies, subject to the account's operating system permissions. |
| ProFTPD through 1.3.9f and 1.3.10rc1 through 1.3.10rc6 contains an authentication bypass in mod_auth_pam that ignores authoritative AuthOrder settings for overlong usernames on BSD platforms. Remote users with names exceeding MAXLOGNAME and valid fallback credentials, such as AuthUserFile, can skip mandatory PAM controls and obtain FTP sessions. |
| A vulnerability was found in ProFTPD up to 1.3.10rc5. Affected by this issue is the function auth_user of the file modules/mod_auth.c. The manipulation results in improper authentication. The attack may be launched remotely. The exploit has been made public and could be used. Upgrading to version 1.3.10rc6 can resolve this issue. The patch is identified as 04f1ac85bef8ee0cae4cdbe915c7278b451f11c8. Upgrading the affected component is recommended. |
| ProFTPD mod_sftp contains a heap-based buffer overflow reachable by an authenticated SFTP user. The fxp_packet_read() function accepts the attacker-supplied 32-bit big-endian SFTP packet length without a minimum sanity check. A value of 0 causes an unsigned subtraction elsewhere in the read path to underflow to approximately 4 GB. That oversized request reaches the core memory allocator, where the rounded size is computed in size_t but passed to new_block() as a 32-bit int; the low 32 bits of 0x100000000 are 0, so new_block() returns a small (~512-byte) block while the caller is told it received ~4 GB. The subsequent fill loop then streams attacker-controlled bytes past the end of the 544-byte allocation, producing an attacker-controlled heap buffer overflow. An authenticated user can crash the per-connection ProFTPD session child on demand with a single malformed SFTP packet (packet_len=0 followed by a body greater than approximately 544 bytes), producing reliable authenticated remote denial of service. Depending on heap layout and adjacent allocations, heap metadata corruption and further consequences beyond denial of service may be possible, though only denial of service is demonstrated by the supplied proof of concept. |
| ProFTPD through 1.3.9b and 1.3.10rc2 contains an access control bypass vulnerability that allows authenticated FTP users to circumvent Directory ACL restrictions by prefixing paths with /proc/self/root in the RNFR command handler. Attackers can exploit the unresolved symlink components in dir_canonical_path() to cause dir_check() to perform lexical path comparisons that match no configured Directory block, enabling rename operations on files in DenyAll-protected directories and subsequent retrieval of those files. Mitigation: Sessions configured with DefaultRoot (chroot) are not affected, as chroot changes the directory to which /proc/self/root resolves. |
| ProFTPD 1.3.1 interprets long commands from an FTP client as multiple commands, which allows remote attackers to conduct cross-site request forgery (CSRF) attacks and execute arbitrary FTP commands via a long ftp:// URI that leverages an existing session from the FTP client implementation in a web browser. |
| Stack-based buffer overflow in the sreplace function in ProFTPD 1.3.0 and earlier allows remote attackers, probably authenticated, to cause a denial of service and execute arbitrary code, as demonstrated by vd_proftpd.pm, a "ProFTPD remote exploit." |
| Buffer overflow in the tls_x509_name_oneline function in the mod_tls module, as used in ProFTPD 1.3.0a and earlier, and possibly other products, allows remote attackers to execute arbitrary code via a large data length argument, a different vulnerability than CVE-2006-5815. |
| SQL injection vulnerability in ProFTPD Server 1.3.1 through 1.3.2rc2 allows remote attackers to execute arbitrary SQL commands via a "%" (percent) character in the username, which introduces a "'" (single quote) character during variable substitution by mod_sql. |
| The Auth API in ProFTPD before 20070417, when multiple simultaneous authentication modules are configured, does not require that the module that checks authentication is the same as the module that retrieves authentication data, which might allow remote attackers to bypass authentication, as demonstrated by use of SQLAuthTypes Plaintext in mod_sql, with data retrieved from /etc/passwd. |
| ProFTPD 1.3.0a and earlier does not properly set the buffer size limit when CommandBufferSize is specified in the configuration file, which leads to an off-by-two buffer underflow. NOTE: in November 2006, the role of CommandBufferSize was originally associated with CVE-2006-5815, but this was an error stemming from a vague initial disclosure. NOTE: ProFTPD developers dispute this issue, saying that the relevant memory location is overwritten by assignment before further use within the affected function, so this is not a vulnerability |
| Stack-based buffer overflow in the pr_ctrls_recv_request function in ctrls.c in the mod_ctrls module in ProFTPD before 1.3.1rc1 allows local users to execute arbitrary code via a large reqarglen length value. |
| Buffer overflows in wuarchive ftpd (wu-ftpd) and ProFTPD lead to remote root access, a.k.a. palmetto. |
| mod_sqlpw module in ProFTPD does not reset a cached password when a user uses the "user" command to change accounts, which allows authenticated attackers to gain privileges of other users. |
| ProFTPd 1.2 compiled with the mod_sqlpw module records user passwords in the wtmp log file, which allows local users to obtain the passwords and gain privileges by reading wtmp, e.g. via the last command. |
| ProFTPD 1.2.7 through 1.2.9rc2 does not properly translate newline characters when transferring files in ASCII mode, which allows remote attackers to execute arbitrary code via a buffer overflow using certain files. |
| SQL injection vulnerability in the PostgreSQL authentication module (mod_sql_postgres) for ProFTPD before 1.2.9rc1 allows remote attackers to execute arbitrary SQL and gain privileges by bypassing authentication or stealing passwords via the USER name. |
| Format string vulnerability in ProFTPD 1.2.0rc2 may allow attackers to execute arbitrary commands by shutting down the FTP server while using a malformed working directory (cwd). |