Bug 892715 (CVE-2012-6095)

Summary: CVE-2012-6095 proftpd: Symlink race condition when applying UserOwner to a newly (ProFTPD) created directory
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: matthias, paul
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=moderate,public=20121108,reported=20130106,source=debian,cvss2=6.2/AV:L/AC:H/Au:N/C:C/I:C/A:C,fedora-all/proftpd=affected,epel-all/proftpd=affected
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-19 05:39:17 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On: 892718, 892719    
Bug Blocks:    

Description Jan Lieskovsky 2013-01-07 11:47:28 EST
A time-of-check time-of-use (TOCTOU) race condition flaw was found in the way ProFTPD, flexible, stable and highly-configurable FTP server, handled MKD/XMKD FTP commands when the UserOwner directive was involved. A local attacker could use this flaw to possibly escalate their privileges via symbolic-link attacks on directories, created by ProFTPD prior UserOwner ownership was applied.

Upstream bug report:
[1] http://bugs.proftpd.org/show_bug.cgi?id=3841

Relevant upstream patch:
[2] http://bugs.proftpd.org/show_bug.cgi?id=3841#c8

References:
[3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697524
Comment 1 Jan Lieskovsky 2013-01-07 11:50:38 EST
This issue affects the versions of the proftpd package, as shipped with Fedora release of 16 and 17. Please schedule an update.

--

This issue affects the versions of the proftpd package, as shipped with Fedora EPEL 5 and 6. Please schedule an update.
Comment 2 Jan Lieskovsky 2013-01-07 11:51:58 EST
Created proftpd tracking bugs for this issue

Affects: fedora-all [bug 892718]
Affects: epel-all [bug 892719]
Comment 3 Jan Lieskovsky 2013-01-08 06:30:37 EST
The CVE identifier of CVE-2012-6095 has been assigned to this issue:
  http://www.openwall.com/lists/oss-security/2013/01/07/3
Comment 4 Fedora Update System 2013-01-29 19:31:11 EST
proftpd-1.3.4b-5.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 5 Fedora Update System 2013-01-29 19:31:39 EST
proftpd-1.3.4b-5.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 6 Fedora Update System 2013-01-29 19:58:54 EST
proftpd-1.3.4b-5.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 7 Fedora Update System 2013-02-05 16:22:37 EST
proftpd-1.3.3g-2.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 8 Fedora Update System 2013-02-05 16:25:28 EST
proftpd-1.3.3g-2.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 9 Paul Howarth 2013-08-19 05:19:19 EDT
This has been addressed in all current Fedora and EPEL releases. Can we close the bug now?
Comment 10 Tomas Hoger 2013-08-19 05:39:17 EDT
Yes, thank you!