Bug 884254 (CVE-2013-0219)

Summary: CVE-2013-0219 sssd: TOCTOU race conditions by copying and removing directory trees
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: fweimer, grajaiya, jgalipea, jhrozek, mitr, pbrezina, security-response-team, tmraz
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-01 04:54: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: 883787, 903078, 903145, 903146, 959838    
Bug Blocks: 855229, 884256, 952520    

Description Jan Lieskovsky 2012-12-05 18:16:35 UTC
A TOCTOU (time-of-check time-of-use) race condition was found in the way SSSD, System Security Services Daemon, performed copying and removal of (user) directory trees.A local attacker, with permissions to write into directory of the victim, being actively / currently copied / removed via the sssd daemon facility, could use this flaw to conduct symbolic link attacks, leading to their ability to alter / remove directories outside of originally intended, to be modified, directory tree.

This issue was found by Florian Weimer of Red Hat Product Security Team.

Comment 1 Jan Lieskovsky 2012-12-05 18:21:12 UTC
This issue affects the versions of the sssd package, as shipped with Red Hat Enterprise Linux 5 and 6.

--

This issue affects the versions of the sssd package, as shipped with Fedora release of 16 and 17.

--

This issue affects the version of the sssd package, as shipped with Fedora EPEL 5.

Comment 2 Huzaifa S. Sidhpurwala 2013-01-23 05:22:18 UTC
This issue has been assigned CVE-2013-0219

Comment 4 Huzaifa S. Sidhpurwala 2013-01-23 10:14:20 UTC
Created sssd tracking bugs for this issue

Affects: fedora-all [bug 903145]
Affects: epel-5 [bug 903146]

Comment 5 Fedora Update System 2013-02-09 11:24:00 UTC
sssd-1.9.4-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Murray McAllister 2013-02-10 06:52:26 UTC
Acknowledgements:

This issue was discovered by Florian Weimer of the Red Hat Product Security Team.

Comment 7 Fedora Update System 2013-02-12 04:57:37 UTC
sssd-1.8.6-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 errata-xmlrpc 2013-02-21 09:42:01 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2013:0508 https://rhn.redhat.com/errata/RHSA-2013-0508.html

Comment 11 errata-xmlrpc 2013-09-30 22:44:48 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2013:1319 https://rhn.redhat.com/errata/RHSA-2013-1319.html

Comment 12 Huzaifa S. Sidhpurwala 2013-10-01 04:54:06 UTC
Statement:

(none)