Bug 1610349 (CVE-2018-10916) - CVE-2018-10916 lftp: particular remote file names may lead to current working directory erased
Summary: CVE-2018-10916 lftp: particular remote file names may lead to current working...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-10916
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1611640 1611641 1611643
Blocks: 1581887
TreeView+ depends on / blocked
 
Reported: 2018-07-31 13:15 UTC by Riccardo Schirone
Modified: 2020-03-31 22:33 UTC (History)
1 user (show)

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.
Clone Of:
Environment:
Last Closed: 2020-03-31 22:33:06 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:1045 0 None None None 2020-03-31 19:15:33 UTC

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


Note You need to log in before you can comment on or make changes to this bug.