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 ComputeNode EUS (v. 7.2)
- Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.2)
- Red Hat Enterprise Linux HPC Node EUS (v. 6.7)
- Red Hat Enterprise Linux HPC Node Optional EUS (v. 6.7)
- Red Hat Enterprise Linux Server AUS (v. 6.2)
- Red Hat Enterprise Linux Server AUS (v. 6.4)
- Red Hat Enterprise Linux Server AUS (v. 6.5)
- Red Hat Enterprise Linux Server AUS (v. 6.6)
- Red Hat Enterprise Linux Server EUS (v. 6.7)
- Red Hat Enterprise Linux Server EUS (v. 7.2)
- Red Hat Enterprise Linux Server Optional AUS (v. 6.2)
- Red Hat Enterprise Linux Server Optional AUS (v. 6.4)
- Red Hat Enterprise Linux Server Optional AUS (v. 6.5)
- Red Hat Enterprise Linux Server Optional AUS (v. 6.6)
- Red Hat Enterprise Linux Server Optional EUS (v. 6.7)
- Red Hat Enterprise Linux Server Optional EUS (v. 7.2)
- Red Hat Enterprise Linux Server Optional TUS (v. 6.5)
- Red Hat Enterprise Linux Server Optional TUS (v. 6.6)
- Red Hat Enterprise Linux Server Resilient Storage EUS (v. 7.2)
- Red Hat Enterprise Linux Server TUS (v. 6.5)
- Red Hat Enterprise Linux Server TUS (v. 6.6)
- ctdb-0:4.2.10-11.el7_2.x86_64 as a component of Red Hat Enterprise Linux Server Resilient Storage EUS (v. 7.2)
- ctdb-devel-0:4.2.10-11.el7_2.i686 as a component of Red Hat Enterprise Linux Server Resilient Storage EUS (v. 7.2)
- ctdb-devel-0:4.2.10-11.el7_2.x86_64 as a component of Red Hat Enterprise Linux Server Resilient Storage EUS (v. 7.2)
- ctdb-tests-0:4.2.10-11.el7_2.x86_64 as a component of Red Hat Enterprise Linux Server Resilient Storage EUS (v. 7.2)
- libsmbclient-0:3.6.23-32.el6_2.i686 as a component of Red Hat Enterprise Linux Server AUS (v. 6.2)
- libsmbclient-0:3.6.23-32.el6_2.x86_64 as a component of Red Hat Enterprise Linux Server AUS (v. 6.2)
- libsmbclient-0:3.6.23-32.el6_4.i686 as a component of Red Hat Enterprise Linux Server AUS (v. 6.4)
- libsmbclient-0:3.6.23-32.el6_4.x86_64 as a component of Red Hat Enterprise Linux Server AUS (v. 6.4)
- libsmbclient-0:3.6.23-32.el6_5.i686 as a component of Red Hat Enterprise Linux Server AUS (v. 6.5)
- +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:1390
- 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_1390.json