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 products200
- Red Hat Enterprise Linux Client (v. 7)
- Red Hat Enterprise Linux Client Optional (v. 7)
- Red Hat Enterprise Linux ComputeNode (v. 7)
- Red Hat Enterprise Linux ComputeNode Optional (v. 7)
- Red Hat Enterprise Linux Desktop (v. 6)
- Red Hat Enterprise Linux Desktop Optional (v. 6)
- Red Hat Enterprise Linux HPC Node (v. 6)
- Red Hat Enterprise Linux HPC Node Optional (v. 6)
- Red Hat Enterprise Linux Server (v. 6)
- Red Hat Enterprise Linux Server (v. 7)
- Red Hat Enterprise Linux Server Optional (v. 6)
- Red Hat Enterprise Linux Server Optional (v. 7)
- Red Hat Enterprise Linux Server Resilient Storage (v. 7)
- Red Hat Enterprise Linux Workstation (v. 6)
- Red Hat Enterprise Linux Workstation (v. 7)
- Red Hat Enterprise Linux Workstation Optional (v. 6)
- Red Hat Enterprise Linux Workstation Optional (v. 7)
- ctdb-0:4.4.4-14.el7_3.x86_64 as a component of Red Hat Enterprise Linux Server Resilient Storage (v. 7)
- ctdb-tests-0:4.4.4-14.el7_3.x86_64 as a component of Red Hat Enterprise Linux Server Resilient Storage (v. 7)
- libsmbclient-0:3.6.23-43.el6_9.i686 as a component of Red Hat Enterprise Linux Desktop (v. 6)
- libsmbclient-0:3.6.23-43.el6_9.i686 as a component of Red Hat Enterprise Linux HPC Node Optional (v. 6)
- libsmbclient-0:3.6.23-43.el6_9.i686 as a component of Red Hat Enterprise Linux Server (v. 6)
- libsmbclient-0:3.6.23-43.el6_9.i686 as a component of Red Hat Enterprise Linux Workstation (v. 6)
- libsmbclient-0:3.6.23-43.el6_9.ppc as a component of Red Hat Enterprise Linux Server (v. 6)
- libsmbclient-0:3.6.23-43.el6_9.ppc64 as a component of Red Hat Enterprise Linux Server (v. 6)
- libsmbclient-0:3.6.23-43.el6_9.s390 as a component of Red Hat Enterprise Linux Server (v. 6)
- libsmbclient-0:3.6.23-43.el6_9.s390x as a component of Red Hat Enterprise Linux Server (v. 6)
- libsmbclient-0:3.6.23-43.el6_9.x86_64 as a component of Red Hat Enterprise Linux Desktop (v. 6)
- libsmbclient-0:3.6.23-43.el6_9.x86_64 as a component of Red Hat Enterprise Linux HPC Node Optional (v. 6)
- libsmbclient-0:3.6.23-43.el6_9.x86_64 as a component of Red Hat Enterprise Linux Server (v. 6)
- +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: 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.
🔗 References (6)
- selfhttps://access.redhat.com/errata/RHSA-2017:1270
- externalhttps://access.redhat.com/security/updates/classification/#important
- externalhttps://www.samba.org/samba/security/CVE-2017-7494.html
- externalhttps://access.redhat.com/security/vulnerabilities/3034621
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1450347
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2017/rhsa-2017_1270.json