Security restrictions bypass in lftp - CVE-2018-10916

 

Security restrictions bypass in lftp - CVE-2018-10916

Published: August 2, 2018 / Updated: August 3, 2018


Vulnerability identifier: #VU14187
CSH Severity: Medium
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-10916
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass security restrictions on the target system.

The vulnerability exists due to improper sanitization of remote file names. A remote unauthenticated attacker can trick the victim into using reverse mirroring on an attacker controlled FTP server bypass security restrictions and remove all files in the current working directory of the victim's system.


Affected software

lftp
Amazon Linux AMI
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Scientific Computing
Slackware Linux
Ubuntu
Opensuse
IBM Tivoli Storage Manager
lftp (Alpine package)
lftp (Ubuntu package)
lftp (Red Hat package)

How to mitigate CVE-2018-10916

Update to version 4.8.4.

lftp - update to 4.8.4
lftp (Alpine package) - update to 4.8.4-r0
lftp (Ubuntu package) - addressed in versions 4.4.13-1ubuntu0.1, 4.6.3a-1ubuntu0.1, 4.8.1-1ubuntu0.1
lftp (Red Hat package) - update to 4.4.8-12.el7

External References

Related Security Bulletins