Alerts This Week
Warning Icon 1 714
Alerts This Week
Warning Icon 1 714

Red Hat 6/7: RHSA-2016-0612-01 Critical Samba Remote Attack Fix

red hat
Calendar Grey April 13, 2016
Dist Redhat Esm H88
Urgent notice regarding samba and samba4 on Red Hat, highlighting important security patches and bug resolutions for various vulnerabilities.
An update for samba4 and samba is now available for Red Hat Enterprise Linux 6 and Red Hat Enterprise Linux 7, respectively

Solution

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.

Summary

Samba is an open-source implementation of the Server Message Block (SMB) protocol and the related Common Internet File System (CIFS) protocol, which allow PC-compatible machines to share files, printers, and various information.
The following packages have been upgraded to a newer upstream version: Samba (4.2.10). Refer to the Release Notes listed in the References section for a complete list of changes.
Security Fix(es):
* Multiple flaws were found in Samba's DCE/RPC protocol implementation. A remote, authenticated attacker could use these flaws to cause a denial of service against the Samba server (high CPU load or a crash) or, possibly, execute arbitrary code with the permissions of the user running Samba (root). This flaw could also be used to downgrade a secure DCE/RPC connection by a man-in-the-middle attacker taking control of an Active Directory (AD) object and compromising the security of a Samba Active Directory Domain Controller (DC). (CVE-2015-5370)
Note: While Samba packages as shipped in Red Hat Enterprise Linux do not support running Samba as an AD DC, this flaw applies to all roles Samba implements.
* A protocol flaw, publicly referred to as Badlock, was found in the Security Account Manager Remote Protocol (MS-SAMR) and the Local Security Authority (Domain Policy) Remote Protocol (MS-LSAD). Any authenticated DCE/RPC connection that a client initiates against a server could be used by a man-in-the-middle attacker to impersonate the authenticated user against the SAMR or LSA service on the server. As a result, the attacker would be able to get read/write access to the Security Account Manager database, and use this to reveal all passwords or any other potentially sensitive information in that database. (CVE-2016-2118)
* Several flaws were found in Samba's implementation of NTLMSSP authentication. An unauthenticated, man-in-the-middle attacker could use this flaw to clear the encryption and integrity flags of a connection, causing data to be transmitted in plain text. The attacker could also force the client or server into sending data in plain text even if encryption was explicitly requested for that connection. (CVE-2016-2110)
* It was discovered that Samba configured as a Domain Controller would establish a secure communication channel with a machine using a spoofed computer name. A remote attacker able to observe network traffic could use this flaw to obtain session-related information about the spoofed machine. (CVE-2016-2111)
* It was found that Samba's LDAP implementation did not enforce integrity protection for LDAP connections. A man-in-the-middle attacker could use this flaw to downgrade LDAP connections to use no integrity protection, allowing them to hijack such connections. (CVE-2016-2112)
* It was found that Samba did not validate SSL/TLS certificates in certain connections. A man-in-the-middle attacker could use this flaw to spoof a Samba server using a specially crafted SSL/TLS certificate. (CVE-2016-2113)
* It was discovered that Samba did not enforce Server Message Block (SMB) signing for clients using the SMB1 protocol. A man-in-the-middle attacker could use this flaw to modify traffic between a client and a server. (CVE-2016-2114)
* It was found that Samba did not enable integrity protection for IPC traffic by default. A man-in-the-middle attacker could use this flaw to view and modify the data sent between a Samba server and a client. (CVE-2016-2115)
Red Hat would like to thank the Samba project for reporting these issues. Upstream acknowledges Jouni Knuutinen (Synopsis) as the original reporter of CVE-2015-5370; and Stefan Metzmacher (SerNet) as the original reporter of CVE-2016-2118, CVE-2016-2110, CVE-2016-2112, CVE-2016-2113, CVE-2016-2114, and CVE-2016-2115.

References

https://access.redhat.com/security/cve/CVE-2015-5370 https://access.redhat.com/security/cve/CVE-2016-2110 https://access.redhat.com/security/cve/CVE-2016-2111 https://access.redhat.com/security/cve/CVE-2016-2112 https://access.redhat.com/security/cve/CVE-2016-2113 https://access.redhat.com/security/cve/CVE-2016-2114 https://access.redhat.com/security/cve/CVE-2016-2115 https://access.redhat.com/security/cve/CVE-2016-2118 https://access.redhat.com/security/updates/classification#critical https://access.redhat.com/security/vulnerabilities/badlock https://access.redhat.com/articles/2253041 https://samba.plus https://access.redhat.com/articles/2243351

Package List

Red Hat Enterprise Linux Desktop (v. 6):
Source: ipa-3.0.0-47.el6_7.2.src.rpm libldb-1.1.25-2.el6_7.src.rpm libtalloc-2.1.5-1.el6_7.src.rpm libtdb-1.3.8-1.el6_7.src.rpm libtevent-0.9.26-2.el6_7.src.rpm openchange-1.0-7.el6_7.src.rpm samba4-4.2.10-6.el6_7.src.rpm
i386: ipa-client-3.0.0-47.el6_7.2.i686.rpm ipa-debuginfo-3.0.0-47.el6_7.2.i686.rpm ipa-python-3.0.0-47.el6_7.2.i686.rpm libldb-1.1.25-2.el6_7.i686.rpm libldb-debuginfo-1.1.25-2.el6_7.i686.rpm libldb-devel-1.1.25-2.el6_7.i686.rpm libtalloc-2.1.5-1.el6_7.i686.rpm libtalloc-debuginfo-2.1.5-1.el6_7.i686.rpm libtalloc-devel-2.1.5-1.el6_7.i686.rpm libtdb-1.3.8-1.el6_7.i686.rpm libtdb-debuginfo-1.3.8-1.el6_7.i686.rpm libtdb-devel-1.3.8-1.el6_7.i686.rpm libtevent-0.9.26-2.el6_7.i686.rpm libtevent-debuginfo-0.9.26-2.el6_7.i686.rpm libtevent-devel-0.9.26-2.el6_7.i686.rpm openchange-1.0-7.el6_7.i686.rpm openchange-debuginfo-1.0-7.el6_7.i686.rpm pyldb-1.1.25-2.el6_7.i686.rpm pytalloc-2.1.5-1.el6_7.i686.rpm python-tdb-1.3.8-1.el6_7.i686.rpm python-tevent-0.9.26-2.el6_7.i686.rpm samba4-4.2.10-6.el6_7.i686.rpm samba4-client-4.2.10-6.el6_7.i686.rpm samba4-common-4.2.10-6.el6_7.i686.rpm samba4-dc-4.2.10-6.el6_7.i686.rpm samba4-dc-libs-4.2.10-6.el6_7.i686.rpm samba4-debuginfo-4.2.10-6.el6_7.i686.rpm

Read the Full Advisory


Severity
critical
Lowest
Low
Medium
High
Critical

Advisory ID: RHSA-2016:0612-01
Product: Red Hat Enterprise Linux
Issue date: 2016-04-12
Updated on: 2016-04-13

Topic

An update for samba4 and samba is now available for Red Hat EnterpriseLinux 6 and Red Hat Enterprise Linux 7, respectively.Red Hat Product Security has rated this update as having a security impactof Critical. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available for each vulnerability fromthe CVE link(s) in the References section.

Relevant Releases Architectures

Red Hat Enterprise Linux Client (v. 7) - noarch, x86_64

Red Hat Enterprise Linux Client Optional (v. 7) - noarch, x86_64

Red Hat Enterprise Linux ComputeNode (v. 7) - noarch, x86_64

Red Hat Enterprise Linux ComputeNode Optional (v. 7) - noarch, x86_64

Red Hat Enterprise Linux Desktop (v. 6) - i386, x86_64

Red Hat Enterprise Linux Desktop Optional (v. 6) - i386, x86_64

Red Hat Enterprise Linux HPC Node (v. 6) - x86_64

Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64

Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64

Red Hat Enterprise Linux Server (v. 7) - noarch, ppc64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux Server Optional (v. 6) - i386, ppc64, s390x, x86_64

Red Hat Enterprise Linux Server Optional (v. 7) - noarch, ppc64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux Server Resilient Storage (v. 7) - x86_64

Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64

Red Hat Enterprise Linux Workstation (v. 7) - noarch, x86_64

Red Hat Enterprise Linux Workstation Optional (v. 6) - i386, x86_64

Red Hat Enterprise Linux Workstation Optional (v. 7) - noarch, x86_64

Bugs Fixed

1309987 - CVE-2015-5370 samba: crash in dcesrv_auth_bind_ack due to missing error check

1311893 - CVE-2016-2110 samba: Man-in-the-middle attacks possible with NTLMSSP authentication

1311902 - CVE-2016-2111 samba: Spoofing vulnerability when domain controller is configured

1311903 - CVE-2016-2112 samba: Missing downgrade detection

1311910 - CVE-2016-2113 samba: Server certificates not validated at client side

1312082 - CVE-2016-2114 samba: Samba based active directory domain controller does not enforce smb signing

1312084 - CVE-2016-2115 samba: Smb signing not required by default when smb client connection is used for ipc usage

1317990 - CVE-2016-2118 samba: SAMR and LSA man in the middle attacks

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here