cve.bz

CVE-2016-2124 Improper Authentication

5.9 mediumEPSS 1.8%Fix available

Medium (5.9). EPSS 1.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
1.8% (unchanged from 1.8% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 79th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-287 Improper Authentication
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-2124 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-2124?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-2124?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-2124 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
samba:sambafrom 3.0.0 before 4.13.14
samba:sambafrom 4.14.0 before 4.14.10
samba:sambafrom 4.15.0 before 4.15.2
debian:debian_linux9.0
debian:debian_linux10.0
fedoraproject:fedora33
fedoraproject:fedora34
fedoraproject:fedora35
redhat:gluster_storage3.0
redhat:gluster_storage3.5
redhat:openstack13
redhat:openstack16.1
redhat:openstack16.2
redhat:virtualization_host4.0
redhat:enterprise_linux7.0
redhat:enterprise_linux8.0
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_eus8.2
redhat:enterprise_linux_eus8.4
redhat:enterprise_linux_for_ibm_z_systems7.0
redhat:enterprise_linux_for_ibm_z_systems8.0
redhat:enterprise_linux_for_ibm_z_systems_eus8.2
redhat:enterprise_linux_for_ibm_z_systems_eus8.4
redhat:enterprise_linux_for_power_big_endian7.0
redhat:enterprise_linux_for_power_little_endian7.0
redhat:enterprise_linux_for_power_little_endian8.0
redhat:enterprise_linux_for_power_little_endian_eus8.2
redhat:enterprise_linux_for_power_little_endian_eus8.4
redhat:enterprise_linux_for_scientific_computing7.0
redhat:enterprise_linux_resilient_storage7.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_server_aus8.2
redhat:enterprise_linux_server_aus8.4
redhat:enterprise_linux_server_tus8.4
redhat:enterprise_linux_server_update_services_for_sap_solutions8.2
redhat:enterprise_linux_server_update_services_for_sap_solutions8.4
redhat:enterprise_linux_tus8.2
redhat:enterprise_linux_workstation7.0
canonical:ubuntu_linux18.04
canonical:ubuntu_linux20.04
canonical:ubuntu_linux21.04
canonical:ubuntu_linux21.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10samba2:4.9.5+dfsg-5+deb10u4DLA-3563-1
Debian11samba2:4.13.13+dfsg-1~deb11u2DSA-5003-1
Debian12, 13, 14samba2:4.13.14+dfsg-1DEBIAN-CVE-2016-2124
Ubuntu18.04:LTSsamba2:4.7.6+dfsg~ubuntu-0ubuntu2.26UBUNTU-CVE-2016-2124 USN-5174-1
Ubuntu20.04:LTSsamba2:4.13.14+dfsg-0ubuntu0.20.04.1UBUNTU-CVE-2016-2124 USN-5142-1
Ubuntu22.04:LTSsamba2:4.13.14+dfsg-0ubuntu1UBUNTU-CVE-2016-2124
UbuntuPro:14.04:LTS, Pro:16.04:LTSsambano fix listedUBUNTU-CVE-2016-2124
Red Hatenterprise_linux:7::client, enterprise_linux:7::workstationsamba, samba-dc, samba-libs and 23 more0:4.10.16-17.el7_9RHSA-2021:5192
Red Hatenterprise_linux:7::computenodesamba, samba-dc, samba-pidl and 12 more0:4.10.16-17.el7_9RHSA-2021:5192
Red Hatenterprise_linux:7::serverctdb, samba, samba-dc and 25 more0:4.10.16-17.el7_9RHSA-2021:5192
Red Hatenterprise_linux:8::appstreamctdb-debuginfo, samba-debuginfo, samba-debugsource and 18 more0:4.14.5-7.el8_5RHSA-2021:5082
Red Hatenterprise_linux:8::baseosctdb, samba, samba-libs and 38 more0:4.14.5-7.el8_5RHSA-2021:5082
Red Hatenterprise_linux:8::crbsamba-devel, ctdb-debuginfo, samba-debuginfo and 20 more0:4.14.5-7.el8_5RHSA-2021:5082
Red Hatrhel_eus:8.2::baseosctdb, samba, ctdb-tests and 38 more0:4.11.2-18.el8_2RHSA-2022:0074
Red Hatrhel_eus:8.2::crbctdb-debuginfo, samba-debuginfo, libwbclient-devel and 19 more0:4.11.2-18.el8_2RHSA-2022:0074
Red Hatrhel_eus:8.4::baseosctdb, samba, ctdb-tests and 40 more0:4.13.3-8.el8_4RHSA-2022:0008
Red Hatrhel_eus:8.4::crbsamba-devel, ctdb-debuginfo, samba-debuginfo and 21 more0:4.13.3-8.el8_4RHSA-2022:0008
Red Hatstorage:3.5:samba:el7ctdb, samba, samba-libs and 19 more0:4.11.6-114.el7rhgsRHSA-2021:4844
Red Hatstorage:3.5:samba:el8ctdb, samba, samba-libs and 39 more0:4.14.5-204.el8rhgsRHSA-2021:4843
SUSEEnterprise Storage 6, Linux Enterprise High Availability Extension 15 SP1, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 4 moresamba4.9.5+git.471.5edbe3dcae7-3.57.2SUSE-SU-2021:3674-1
SUSEEnterprise Storage 7ldb2.2.2-4.6.1SUSE-SU-2022:0361-1
SUSEEnterprise Storage 7samba4.13.13+git.545.5897c2d94f3-3.12.1SUSE-SU-2022:0361-1
SUSEHPE Helion OpenStack 8, Linux Enterprise High Availability Extension 12 SP3, Linux Enterprise High Availability Extension 12 SP4 and 9 moresamba4.6.16+git.307.b3899d08cc6-3.64.2SUSE-SU-2021:3746-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 and 1 moresamba4.10.18+git.339.c912385a5e1-3.41.1SUSE-SU-2021:3649-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS and 2 moresamba4.7.11+git.352.41e30c5a0f7-4.57.1SUSE-SU-2021:3747-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Python 2 15 SP2samba4.11.14+git.308.666c63d4eea-4.28.1SUSE-SU-2021:3650-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Python 2 15 SP3samba4.13.13+git.528.140935f8d6a-3.12.1SUSE-SU-2021:3647-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3ldb2.2.2-3.3.1SUSE-SU-2021:3647-1
SUSELinux Enterprise Server 12 SP2-BCLsamba4.4.2-38.45.2SUSE-SU-2021:3673-1
openSUSELeap 15.2samba4.11.14+git.308.666c63d4eea-lp152.3.28.1openSUSE-SU-2021:1471-1
openSUSELeap 15.3ldb2.2.2-3.3.1openSUSE-SU-2021:3647-1
openSUSELeap 15.3samba4.11.14+git.308.666c63d4eea-4.28.1openSUSE-SU-2021:3650-1
openSUSELeap 15.3samba4.13.13+git.528.140935f8d6a-3.12.1openSUSE-SU-2021:3647-1
openSUSELeap 15.3samba4.9.5+git.471.5edbe3dcae7-3.57.2openSUSE-SU-2021:3674-1
openSUSETumbleweedsamba4.15.2+git.193.a4d6307f1fd-1.1openSUSE-SU-2024:11631-1
AlmaLinux8samba-devel, libwbclient-devel, samba-vfs-iouring and 1 more4.14.5-7.el8_5ALSA-2021:5082
Rocky Linux8samba0:4.14.5-7.el8_5RLSA-2021:5082
Alpinev3.13samba4.13.17-r0ALPINE-CVE-2016-2124
Alpinev3.14samba4.14.12-r0ALPINE-CVE-2016-2124
Alpinev3.15, v3.16, v3.17 and 7 moresamba4.15.2-r0ALPINE-CVE-2016-2124
Azure Linux2sambano fix listedAZL-8649
Azure Linux3samba4.18.3-1AZL-36986

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7samba-0:4.10.16-17.el7_9Fixed 2021-12-16RHSA-2021:5192
Red Hat Enterprise Linux 8samba-0:4.14.5-7.el8_5Fixed 2021-12-13RHSA-2021:5082
Red Hat Enterprise Linux 8.2 Extended Update Supportsamba-0:4.11.2-18.el8_2Fixed 2022-01-11RHSA-2022:0074
Red Hat Enterprise Linux 8.4 Extended Update Supportsamba-0:4.13.3-8.el8_4Fixed 2022-01-04RHSA-2022:0008
Red Hat Gluster Storage 3.5 for RHEL 7samba-0:4.11.6-114.el7rhgsFixed 2021-11-29RHSA-2021:4844
Red Hat Gluster Storage 3.5 for RHEL 8samba-0:4.14.5-204.el8rhgsFixed 2021-11-29RHSA-2021:4843
Red Hat Enterprise Linux 6sambaOut of support scope
Red Hat Enterprise Linux 6samba4Out of support scope
Red Hat Enterprise Linux 9sambaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-2124.

Attack patterns (CAPEC)

  • CAPEC-22 Exploiting Trust in Client Likelihood: High · Severity: High
  • CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data Likelihood: Medium · Severity: Very High
  • CAPEC-94 Adversary in the Middle (AiTM) Likelihood: High · Severity: Very High
  • CAPEC-114 Authentication Abuse Severity: Medium
  • CAPEC-115 Authentication Bypass Severity: Medium
  • CAPEC-151 Identity Spoofing Likelihood: Medium · Severity: Medium
  • CAPEC-194 Fake the Source of Data Severity: Medium
  • CAPEC-593 Session Hijacking Likelihood: High · Severity: Very High
  • CAPEC-633 Token Impersonation Severity: Medium
  • CAPEC-650 Upload a Web Shell to a Web Server Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON