Bug 1439693 - (CVE-2017-7418) CVE-2017-7418 proftpd: AllowChrootSymlinks control bypass
CVE-2017-7418 proftpd: AllowChrootSymlinks control bypass
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On: 1439695 1439696
  Show dependency treegraph
Reported: 2017-04-06 08:09 EDT by Andrej Nemec
Modified: 2017-12-14 08:38 EST (History)
4 users (show)

See Also:
Fixed In Version: proftpd 1.3.5e, proftpd 1.3.6rc5
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Andrej Nemec 2017-04-06 08:09:57 EDT
ProFTPD before 1.3.5e and 1.3.6 before 1.3.6rc5 controls whether the home directory of a user could contain a symbolic link through the AllowChrootSymlinks configuration option, but checks only the last path component when enforcing AllowChrootSymlinks. Attackers with local access could bypass the AllowChrootSymlinks control by replacing a path component (other than the last one) with a symbolic link. The threat model includes an attacker who is not granted full filesystem access by a hosting provider, but can reconfigure the home directory of an FTP user.

Upstream patch (1.3.5 branch):


Upstream bug:

Comment 1 Andrej Nemec 2017-04-06 08:10:31 EDT
Created proftpd tracking bugs for this issue:

Affects: epel-all [bug 1439696]
Affects: fedora-all [bug 1439695]
Comment 2 customercare 2017-04-19 09:12:54 EDT
The patch is buggy: See Bugreport #1443507
Comment 3 customercare 2017-12-14 08:38:18 EST
FIXED and released on 2017-05-12 15:23:46 EDT 

Please close this BR.

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