CVE-2014-1693
NoneCVSS
—
EPSS
2.2%
Published
Dec 8, 2014
CISA due date
—
Cloudanix analysis
A bug in a common programming tool's file transfer feature could let attackers sneak in extra commands and interfere with how files are handled on servers.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Tampering
- Component
- Library
- Class
- Command Injection
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The vulnerability permits CRLF injection in the Erlang/OTP FTP module, allowing context-dependent attackers to append arbitrary FTP commands to inputs for user, account, cd, ls, nlist, rename, delete, mkdir, rmdir, recv, recv_bin, recv_chunk_start, send, send_bin, send_chunk_start, append_chunk_start, append, or append_bin operations.
Why it matters to the business
Systems relying on this component for FTP operations face risk of unauthorized command execution, which can disrupt file transfers, expose sensitive data, or enable further compromise of connected services.
How an attack unfolds
An attacker identifies an application using the vulnerable Erlang FTP module, crafts inputs containing CRLF sequences to inject additional commands such as delete or send, and leverages the injection to manipulate server-side file operations or chain into broader access.
How to fix it
Upgrade Erlang/OTP to a version that resolves the CRLF handling issues in the FTP module; apply vendor patches or replace affected FTP usage with sanitized command construction if upgrades are unavailable.
How to confirm the fix worked
Review FTP command handling code for proper CRLF escaping or sanitization; test by attempting injection of test commands via the affected inputs and confirm no extra commands execute; scan for usage of R15B03 or earlier releases.
Typical attack path
- Locate services or applications exposing the Erlang FTP client or server functionality
- Supply malicious input containing CRLF sequences to one of the listed FTP commands
- Inject and execute arbitrary additional FTP commands on the target
- Use resulting access to exfiltrate data, modify files, or pivot within the environment
How to detect it
Examine application and FTP logs for unusual sequences of commands, unexpected file operations, or patterns indicating injected CRLF characters; review historical traffic or process logs for anomalies around FTP command execution.
- CRLF sequences followed by additional FTP verbs in command logs
- Unexpected delete, mkdir, or send operations without corresponding user intent
What your security team should do
- Prioritize patching or upgrading all Erlang/OTP deployments using the FTP module
- Audit custom applications for direct use of the vulnerable FTP functions and replace with safe alternatives
- Monitor for any remaining instances of the affected library versions across the ecosystem
- Implement input validation layers around any FTP interactions as a compensating control
The record
Multiple CRLF injection vulnerabilities in the FTP module in Erlang/OTP R15B03 allow context-dependent attackers to inject arbitrary FTP commands via CRLF sequences in the (1) user, (2) account, (3) cd, (4) ls, (5) nlist, (6) rename, (7) delete, (8) mkdir, (9) rmdir, (10) recv, (11) recv_bin, (12) recv_chunk_start, (13) send, (14) send_bin, (15) send_chunk_start, (16) append_chunk_start, (17) append, or (18) append_bin command.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | erlang | 0 | 1:16.b.3.1-dfsg-3 |
| Debian:11 | erlang | 0 | 1:16.b.3.1-dfsg-3 |
| Debian:12 | erlang | 0 | 1:16.b.3.1-dfsg-3 |
| Debian:13 | erlang | 0 | 1:16.b.3.1-dfsg-3 |
| Mageia:4 | erlang | 0 | R16B02-2.1.mga4 |
| Ubuntu:14.04:LTS | erlang | 0 | 1:16.b.3-dfsg-1ubuntu2.2 |
| Ubuntu:16.04:LTS | erlang | 0 | 1:18.3-dfsg-1ubuntu3.1 |
Related vulnerabilities
- CVE-2025-32433 Erlang/OTP is a set of libraries for the Erlang programming language. Also affects erlang
- CVE-2017-1000385 The Erlang otp TLS server answers with different TLS alerts to different error types in… Also affects erlang
- CVE-2014-3566 The SSL protocol 3.0, as used in OpenSSL through 1.0.1i and other products, uses… Also affects erlang
- CVE-2011-3389 The SSL protocol, as used in certain configurations in Microsoft Windows and Microsoft… Also affects erlang