CVE-2016-2124: Medium severity samba vulnerability

Published Nov 3, 2021
·
Updated

A flaw was found in the way samba implemented SMB1 authentication. An attacker could use this flaw to retrieve the plaintext password sent over the wire even if Kerberos authentication was required.

Other sources

As per upstream advisory:

An attacker can downgrade a negotiated SMB1 client connection and its capabitilities. Kerberos authentication is only possible with the SMB2/3 protocol or SMB1 using the NT1 dialect and the extended security (spnego) capability. Without mandatory SMB signing the protocol can be downgraded to an older insecure dialect like CORE, COREPLUS/CORE+, LANMAN1 or LANMAN2. Even if SMB signing is required it's still possible to downgrade to the NT1 dialect if extended security (spnego) is not negotiated.

The attacker is able to get the plaintext password sent over the wire even if Kerberos authentication was required.

Red Hat

Affected Software

53 affected componentsFixes available
redhat/samba<0:4.10.16-17.el7_9
0:4.10.16-17.el7_9
redhat/samba<0:4.14.5-7.el8_5
0:4.14.5-7.el8_5
redhat/samba<0:4.11.2-18.el8_2
0:4.11.2-18.el8_2
redhat/samba<0:4.13.3-8.el8_4
0:4.13.3-8.el8_4
redhat/samba<0:4.11.6-114.el7
0:4.11.6-114.el7
redhat/samba<0:4.14.5-204.el8
0:4.14.5-204.el8
redhat/samba<4.15.2
4.15.2
redhat/samba<4.14.10
4.14.10
redhat/samba<4.13.14
4.13.14
debian/samba
2:4.13.13+dfsg-1~deb11u62:4.17.12+dfsg-0+deb12u12:4.21.1+dfsg-2
Samba Samba>=3.0.0<4.13.14
Samba Samba>=4.14.0<4.14.10
Samba Samba>=4.15.0<4.15.2
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Fedoraproject Fedora=33
Fedoraproject Fedora=34
Fedoraproject Fedora=35
redhat Codeready Linux Builder
redhat Gluster Storage=3.0
redhat Gluster Storage=3.5
redhat Openstack=13
redhat Openstack=16.1
redhat Openstack=16.2
redhat Virtualization Host=4.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Eus=8.2
redhat Enterprise Linux Eus=8.4
redhat Enterprise Linux For Ibm Z Systems=7.0
redhat Enterprise Linux For Ibm Z Systems=8.0
redhat Enterprise Linux For Ibm Z Systems Eus=8.2
redhat Enterprise Linux For Ibm Z Systems Eus=8.4
redhat Enterprise Linux For Power Big Endian=7.0
redhat Enterprise Linux For Power Little Endian=7.0
redhat Enterprise Linux For Power Little Endian=8.0
redhat Enterprise Linux For Power Little Endian Eus=8.2
redhat Enterprise Linux For Power Little Endian Eus=8.4
redhat Enterprise Linux For Scientific Computing=7.0
redhat Enterprise Linux Resilient Storage=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=8.2
redhat Enterprise Linux Server Aus=8.4
redhat Enterprise Linux Server Tus=8.4
redhat Enterprise Linux Server Update Services For Sap Solutions=8.2
redhat Enterprise Linux Server Update Services For Sap Solutions=8.4
redhat Enterprise Linux Tus=8.2
redhat Enterprise Linux Workstation=7.0
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=20.04
Canonical Ubuntu Linux=21.04
Canonical Ubuntu Linux=21.10

Remediation

Information

Ensure the following [global] smb.conf parameters are set to their default values as shown below: ~~~ client lanman auth = no client NTLMv2 auth = yes client plaintext auth = no client min protocol = SMB2_02 ~~~ Or use the '-k' command line option only without the -U option, which will make use of an existing krb5 ccache.

Event History

Nov 9, 2021
CVE Published
12:00 AM
Feb 18, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Jan 11, 2024
Data Sourced
via Launchpad·10:26 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:21 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2016-2124?

CVE-2016-2124 is classified as a medium severity vulnerability.

2

How do I fix CVE-2016-2124?

To fix CVE-2016-2124, upgrade Samba to the latest version that is not affected, specifically versions 4.10.16-17.el7_9, 4.14.5-7.el8_5, or later.

3

What systems are affected by CVE-2016-2124?

CVE-2016-2124 affects multiple versions of the Samba software across Red Hat Enterprise Linux, Debian, and Ubuntu environments.

4

What types of attacks can exploit CVE-2016-2124?

An attacker can exploit CVE-2016-2124 by downgrading an SMB1 client connection to retrieve plaintext passwords.

5

Is there a workaround for CVE-2016-2124?

Disabling SMB1 on affected systems can serve as a temporary workaround for CVE-2016-2124 until a complete upgrade is applied.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203