Red Hat Security Advisory: samba security and bug fix update
🔗 CVE IDs covered (3)
📋 Description
CVE-2020-1472 — samba: Netlogon elevation of privilege vulnerability (Zerologon) CVE-2020-14318 — samba: Missing handle permissions check in SMB1/2/3 ChangeNotify CVE-2020-14323 — samba: Unprivileged user can crash winbind
🎯 Affected products200
- Red Hat Enterprise Linux Client (v. 7)
- Red Hat Enterprise Linux Client Optional (v. 7)
- Red Hat Enterprise Linux ComputeNode Optional (v. 7)
- Red Hat Enterprise Linux Server (v. 7)
- Red Hat Enterprise Linux Server Optional (v. 7)
- Red Hat Enterprise Linux Server Resilient Storage (v. 7)
- Red Hat Enterprise Linux Workstation (v. 7)
- Red Hat Enterprise Linux Workstation Optional (v. 7)
- ctdb-0:4.10.16-9.el7_9.ppc64le as a component of Red Hat Enterprise Linux Server Resilient Storage (v. 7)
- ctdb-0:4.10.16-9.el7_9.s390x as a component of Red Hat Enterprise Linux Server Resilient Storage (v. 7)
- ctdb-0:4.10.16-9.el7_9.x86_64 as a component of Red Hat Enterprise Linux Server Resilient Storage (v. 7)
- ctdb-tests-0:4.10.16-9.el7_9.ppc64le as a component of Red Hat Enterprise Linux Server Resilient Storage (v. 7)
- ctdb-tests-0:4.10.16-9.el7_9.s390x as a component of Red Hat Enterprise Linux Server Resilient Storage (v. 7)
- ctdb-tests-0:4.10.16-9.el7_9.x86_64 as a component of Red Hat Enterprise Linux Server Resilient Storage (v. 7)
- libsmbclient-0:4.10.16-9.el7_9.i686 as a component of Red Hat Enterprise Linux Client (v. 7)
- libsmbclient-0:4.10.16-9.el7_9.i686 as a component of Red Hat Enterprise Linux Server (v. 7)
- libsmbclient-0:4.10.16-9.el7_9.i686 as a component of Red Hat Enterprise Linux Workstation (v. 7)
- libsmbclient-0:4.10.16-9.el7_9.ppc as a component of Red Hat Enterprise Linux Server (v. 7)
- libsmbclient-0:4.10.16-9.el7_9.ppc64 as a component of Red Hat Enterprise Linux Server (v. 7)
- libsmbclient-0:4.10.16-9.el7_9.ppc64le as a component of Red Hat Enterprise Linux Server (v. 7)
- libsmbclient-0:4.10.16-9.el7_9.s390 as a component of Red Hat Enterprise Linux Server (v. 7)
- libsmbclient-0:4.10.16-9.el7_9.s390x as a component of Red Hat Enterprise Linux Server (v. 7)
- libsmbclient-0:4.10.16-9.el7_9.x86_64 as a component of Red Hat Enterprise Linux Client (v. 7)
- libsmbclient-0:4.10.16-9.el7_9.x86_64 as a component of Red Hat Enterprise Linux Server (v. 7)
- libsmbclient-0:4.10.16-9.el7_9.x86_64 as a component of Red Hat Enterprise Linux Workstation (v. 7)
- libsmbclient-devel-0:4.10.16-9.el7_9.i686 as a component of Red Hat Enterprise Linux Client Optional (v. 7)
- libsmbclient-devel-0:4.10.16-9.el7_9.i686 as a component of Red Hat Enterprise Linux ComputeNode Optional (v. 7)
- libsmbclient-devel-0:4.10.16-9.el7_9.i686 as a component of Red Hat Enterprise Linux Server Optional (v. 7)
- libsmbclient-devel-0:4.10.16-9.el7_9.i686 as a component of Red Hat Enterprise Linux Workstation Optional (v. 7)
- libsmbclient-devel-0:4.10.16-9.el7_9.ppc as a component of Red Hat Enterprise Linux Server Optional (v. 7)
- +170 more not shown
✅ Remediation
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing this update, the smb service will be restarted automatically. Workaround: This flaw can be mitigated by using "server schannel = yes" in the smb.conf configuration file. Workaround: As Samba internally opens an underlying file system handle on a directory when a client requests an open, even for FILE_READ_ATTRIBUTES then if the underlying file system permissions don't allow "r" (read) access for the connected user, then the handle open request will be denied. "r" access is the normal permission needed to list or otherwise reveal the contents of a directory, so if a connected user has "r" access then they will be able to list the directory contents normally, and the information received by a ChangeNofity request is already available to the user. The security issue occurs if the Administrator or directory owner had set more restrictive Windows ACL permissions on the directory to disallow read access to the user, and this permissions change was not reflected in the underlying file system permissions. This will only occur if Samba is configured with VFS modules to decouple the underlying file system permissions from the Windows ACLs, by setting up a share with the settings: [vulnerable_share] vfs_objects = vfs_acl_xattr acl_xattr:ignore system acls = yes
🔗 References (10)
- selfhttps://access.redhat.com/errata/RHSA-2020:5439
- externalhttps://access.redhat.com/security/updates/classification/#moderate
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1853272
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1868917
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1878205
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1879822
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1891685
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1892313
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1892631
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_5439.json