Red Hat Security Advisory: samba security update
🔗 CVE IDs covered (1)
📋 Description
CVE-2017-7494 — samba: Loading shared modules from any path in the system leading to RCE (SambaCry)
🎯 Affected products58
- Red Hat Gluster 3.2 Samba on RHEL-6
- Red Hat Gluster 3.2 Samba on RHEL-7
- ctdb-0:4.4.6-5.el6rhs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-6
- ctdb-0:4.4.6-5.el7rhgs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-7
- ctdb-tests-0:4.4.6-5.el6rhs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-6
- ctdb-tests-0:4.4.6-5.el7rhgs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-7
- libsmbclient-0:4.4.6-5.el6rhs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-6
- libsmbclient-0:4.4.6-5.el7rhgs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-7
- libsmbclient-devel-0:4.4.6-5.el6rhs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-6
- libsmbclient-devel-0:4.4.6-5.el7rhgs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-7
- libwbclient-0:4.4.6-5.el6rhs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-6
- libwbclient-0:4.4.6-5.el7rhgs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-7
- libwbclient-devel-0:4.4.6-5.el6rhs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-6
- libwbclient-devel-0:4.4.6-5.el7rhgs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-7
- samba-0:4.4.6-5.el6rhs.src as a component of Red Hat Gluster 3.2 Samba on RHEL-6
- samba-0:4.4.6-5.el6rhs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-6
- samba-0:4.4.6-5.el7rhgs.src as a component of Red Hat Gluster 3.2 Samba on RHEL-7
- samba-0:4.4.6-5.el7rhgs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-7
- samba-client-0:4.4.6-5.el6rhs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-6
- samba-client-0:4.4.6-5.el7rhgs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-7
- samba-client-libs-0:4.4.6-5.el6rhs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-6
- samba-client-libs-0:4.4.6-5.el7rhgs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-7
- samba-common-0:4.4.6-5.el6rhs.noarch as a component of Red Hat Gluster 3.2 Samba on RHEL-6
- samba-common-0:4.4.6-5.el7rhgs.noarch as a component of Red Hat Gluster 3.2 Samba on RHEL-7
- samba-common-libs-0:4.4.6-5.el6rhs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-6
- samba-common-libs-0:4.4.6-5.el7rhgs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-7
- samba-common-tools-0:4.4.6-5.el6rhs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-6
- samba-common-tools-0:4.4.6-5.el7rhgs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-7
- samba-dc-0:4.4.6-5.el6rhs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-6
- samba-dc-0:4.4.6-5.el7rhgs.x86_64 as a component of Red Hat Gluster 3.2 Samba on RHEL-7
- +28 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: Any of the following: 1. SELinux is enabled by default and our default policy prevents loading of modules from outside of samba's module directories and therefore blocks the exploit 2. Mount the filesystem which is used by samba for its writable share using "noexec" option. 3. Add the parameter: nt pipe support = no to the [global] section of your smb.conf and restart smbd. This prevents clients from accessing any named pipe endpoints. Note this can disable some expected functionality for Windows clients.