Bug 1044099 (CVE-2013-6442)

Summary: CVE-2013-6442 samba: smbcacls will delete ACL lists in certain circumstances
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abokovoy, asn, gdeschner, jkurik, pfrields, sbose, security-response-team
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: 2014-04-10 05:44:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 1072804, 1073356, 1073913, 1075429    
Bug Blocks: 1044102    

Description Vincent Danen 2013-12-17 19:34:41 UTC
Samba upstream reports that:

Samba versions 4.0.0 and above have a flaw in the smbcacls command. If
smbcacls is used with the "-C|--chown name" or "-G|--chgrp name"
command options it will remove the existing ACL on the object being
modified, leaving the file or directory unprotected.

This issue can be worked around by using chown or similar tools to modify owners on files and directories.

Upstream bug: https://bugzilla.samba.org/show_bug.cgi?id=10327

Comment 5 Huzaifa S. Sidhpurwala 2014-03-12 06:12:19 UTC
Public via:

http://www.samba.org/samba/security/CVE-2013-6442

Comment 6 Huzaifa S. Sidhpurwala 2014-03-12 06:14:09 UTC
Created samba tracking bugs for this issue:

Affects: fedora-all [bug 1075429]

Comment 7 Fedora Update System 2014-03-15 15:15:23 UTC
samba-4.1.6-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Huzaifa S. Sidhpurwala 2014-03-24 04:51:34 UTC
Acknowledgements:

Red Hat would like to thank the Samba project for reporting this issue.
Upstream acknowledges Noel Power as the original reporter.

Comment 9 Fedora Update System 2014-03-28 03:18:26 UTC
samba-4.0.16-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 errata-xmlrpc 2014-04-09 17:43:31 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2014:0383 https://rhn.redhat.com/errata/RHSA-2014-0383.html