Bugzilla – Bug 973035
VUL-0: CVE-2016-2114: samba: "server signing = mandatory" not enforced
Last modified: 2016-05-11 15:19:45 UTC
============================================================== == Subject: "server signing = mandatory" not enforced == == CVE ID#: CVE-2016-2114 == == Versions: Samba 4.0.0 to 4.4.0 == == Summary: Due to a bug Samba doesn't enforce required == smb signing, even if explicitly configured. In == addition the default for the active directory == domain controller case was wrong. == ============================================================== =========== Description =========== Due to a regression introduced in Samba 4.0.0, an explicit "server signing = mandatory" in the [global] section of the smb.conf was not enforced for clients using the SMB1 protocol. As a result it does not enforce smb signing and allows man in the middle attacks. This problem applies to all possible server roles: standalone server, member server, classic primary domain controller, classic backup domain controller and active directory domain controller. In addition, when Samba is configured with "server role = active directory domain controller" the effective default for the "server signing" option should be "mandatory". During the early development of Samba 4 we had a new experimental file server located under source4/smb_server. But before the final 4.0.0 release we switched back to the file server under source3/smbd. But the logic for the correct default of "server signing" was not ported correctly ported. Note that the default for server roles other than active directory domain controller, is "off" because of performance reasons. ================== Patch Availability ================== A patch addressing this defect has been posted to https://www.samba.org/samba/security/ Additionally, Samba 4.4.1, 4.3.7 and 4.2.10 have been issued as security releases to correct the defect. Samba vendors and administrators running affected versions are advised to upgrade or apply the patch as soon as possible. ========== Workaround ========== An explicit "server signing = mandatory" in the [global] together with "server min protocol = SMB2", should prevent connections without signing protection. But that means older clients without support for SMB2 (or higher) might become unable to connect. ======= Credits ======= This vulnerability was discovered and researched by Stefan Metzmacher of SerNet (https://samba.plus) and the Samba Team (https://www.samba.org). He provides the fixes in collaboration with the Samba Team.
This is an autogenerated message for OBS integration: This bug (973035) was mentioned in https://build.opensuse.org/request/show/389319 13.2 / samba
This is an autogenerated message for OBS integration: This bug (973035) was mentioned in https://build.opensuse.org/request/show/389520 Factory / samba
as we are not shipping the component, so we could consider this "resolved upstream" note posted: CVE-2016-2114,20160413,NOTE:We have not shipped the affected component so far, so SUSE has not been affected by this problem.
openSUSE-SU-2016:1106-1: An update that fixes 17 vulnerabilities is now available. Category: security (important) Bug References: 844720,849224,853347,917376,936862,958582,958583,958584,958586,968222,971965,973031,973032,973033,973034,973035,973036 CVE References: CVE-2012-6150,CVE-2013-4408,CVE-2013-4496,CVE-2015-0240,CVE-2015-5252,CVE-2015-5296,CVE-2015-5299,CVE-2015-5330,CVE-2015-5370,CVE-2015-7560,CVE-2016-2110,CVE-2016-2111,CVE-2016-2112,CVE-2016-2113,CVE-2016-2114,CVE-2016-2115,CVE-2016-2118 Sources used: openSUSE 13.1 (src): samba-4.2.4-3.54.2
openSUSE-SU-2016:1107-1: An update that fixes 17 vulnerabilities is now available. Category: security (important) Bug References: 844720,849224,853347,917376,936862,958582,958583,958584,958586,968222,971965,973031,973032,973033,973034,973035,973036 CVE References: CVE-2012-6150,CVE-2013-4408,CVE-2013-4496,CVE-2015-0240,CVE-2015-5252,CVE-2015-5296,CVE-2015-5299,CVE-2015-5330,CVE-2015-5370,CVE-2015-7560,CVE-2016-2110,CVE-2016-2111,CVE-2016-2112,CVE-2016-2113,CVE-2016-2114,CVE-2016-2115,CVE-2016-2118 Sources used: openSUSE Evergreen 11.4 (src): samba-3.6.3-141.1, samba-doc-3.6.3-141.1
are we done?
we have not fixed this anywhere as we did not ship the component. but I think its done.