Bug 1610349 (CVE-2018-10916)

Summary: CVE-2018-10916 lftp: particular remote file names may lead to current working directory erased
Product: [Other] Security Response Reporter: Riccardo Schirone <rschiron>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: mruprich
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: lftp 4.8.4 Doc Type: ---
Doc Text:
It has been discovered that lftp does not properly sanitize remote file names, leading to a loss of integrity on the local system when reverse mirroring is used. A remote attacker may trick a user to use reverse mirroring on an attacker-controlled FTP server, resulting in the removal of all files in the current working directory of the victim's system.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-31 22:33:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1611640, 1611641, 1611643    
Bug Blocks: 1581887    

Description Riccardo Schirone 2018-07-31 13:15:14 UTC
Improperly sanitized remote file names in lftp, up to version 4.8.3, may lead to a loss of integrity on the local system when reverse mirroring is used. A remote attacker may trick a user to use reverse mirroring on an attacker controlled FTP server, resulting in the removal of all files in the current working directory of the victim' system.

Reference:
https://github.com/lavv17/lftp/issues/452

Upstream patch:
https://github.com/lavv17/lftp/commit/a27e07d90a4608ceaf928b1babb27d4d803e1992

Comment 5 errata-xmlrpc 2020-03-31 19:15:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:1045 https://access.redhat.com/errata/RHSA-2020:1045

Comment 6 Product Security DevOps Team 2020-03-31 22:33:06 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2018-10916