Cloudanix VulnDB

CVE-2014-1693

None

CVSS

—

EPSS

2.2%

Published

Dec 8, 2014

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

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.

Exploit Available
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

  1. Locate services or applications exposing the Erlang FTP client or server functionality
  2. Supply malicious input containing CRLF sequences to one of the listed FTP commands
  3. Inject and execute arbitrary additional FTP commands on the target
  4. 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