cve.bz

CVE-2016-2125 Improper Authentication

6.5 mediumEPSS 9.2%Fix available

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

On this page
It was found that Samba before versions 4.5.3, 4.4.8, 4.3.13 always requested forwardable tickets when using Kerberos authentication. A service to which Samba authenticated using Kerberos could subsequently use the ticket to impersonate Samba to other services or domain users.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
9.2% (unchanged from 9.2% a week ago; 9.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-20 Improper Input Validation
CWE-287 Improper Authentication
OWASP Top 10
A05:2025 Injection, 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-2125 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-2125?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-2125?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-2125 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.25 before 4.3.13
samba:sambafrom 4.4.0 before 4.4.8
samba:sambafrom 4.5.0 before 4.5.3
redhat:gluster_storage3.0
redhat:enterprise_linux_desktop6.0
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_server6.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_server_aus7.4
redhat:enterprise_linux_server_aus7.6
redhat:enterprise_linux_server_eus7.3
redhat:enterprise_linux_server_eus7.4
redhat:enterprise_linux_server_eus7.5
redhat:enterprise_linux_server_eus7.6
redhat:enterprise_linux_server_tus7.3
redhat:enterprise_linux_server_tus7.6
redhat:enterprise_linux_workstation6.0
redhat:enterprise_linux_workstation7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7samba2:3.6.6-6+deb7u11DLA-776-1
Debian8samba2:4.2.14+dfsg-0+deb8u2DSA-3740-1
Debian12, 13, 14samba2:4.5.2+dfsg-2DEBIAN-CVE-2016-2125
Ubuntu14.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.14.04.4UBUNTU-CVE-2016-2125 USN-3158-1
Ubuntu16.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.16.04.3UBUNTU-CVE-2016-2125 USN-3158-1
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 moresamba, samba-doc, samba-swat and 11 more0:3.6.23-41.el6RHSA-2017:0662
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 moresamba4, samba4-dc, samba4-libs and 11 more0:4.2.10-9.el6RHSA-2017:0744
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationsamba, samba-dc, samba-libs and 22 more0:4.4.4-13.el7_3RHSA-2017:1265
Red Hatenterprise_linux:7::serverctdb, samba, samba-dc and 24 more0:4.4.4-13.el7_3RHSA-2017:1265
Red Hatstorage:3.2:samba:el6ctdb, samba, samba-dc and 24 more0:4.4.6-4.el6rhsRHSA-2017:0494
Red Hatstorage:3.2:samba:el7ctdb, samba, samba-dc and 24 more0:4.4.6-4.el7rhgsRHSA-2017:0495
SUSELinux Enterprise Desktop 12 SP1, Linux Enterprise Desktop 12 SP2, Linux Enterprise High Availability Extension 12 SP1 and 7 moresamba4.2.4-28.3.1SUSE-SU-2016:3272-1
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise High Availability Extension 12 SP2, Linux Enterprise Server 12 SP2 and 3 moresamba4.4.2-31.1SUSE-SU-2016:3271-1
SUSELinux Enterprise High Availability Extension 12, Linux Enterprise Server 12-LTSS, Linux Enterprise Server for SAP Applications 12samba4.2.4-18.30.1SUSE-SU-2016:3299-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP3-LTSS, Linux Enterprise Server 11 SP3-TERADATA and 5 moresamba, samba-doc3.6.3-84.1SUSE-SU-2016:3298-1
SUSELinux Enterprise Server 11 SP2-LTSSsamba, samba-doc3.6.3-56.1SUSE-SU-2016:3300-1
SUSELinux Enterprise Software Development Kit 11 SP4samba3.6.3-84.1SUSE-SU-2016:3298-1
openSUSETumbleweedsamba4.14.6+git.182.2205d5224e3-1.1openSUSE-SU-2024:11365-1
Alpinev3.2, v3.3samba4.2.14-r1ALPINE-CVE-2016-2125
Alpinev3.4samba4.4.5-r2ALPINE-CVE-2016-2125
Azure Linux3sambano fix listedAZL-44208

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; 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

The following mitigation is suggested by upstream.

The samba-tool command and the AD DC mode honours the undocumented "gensec_gssapi:delegation=no" option in the [global] section of the smb.conf file.

Controlling Kerberos forwarding

===============================

In the Active Directory world it's possible for administrators to

limit the delegation. User and computer objects can both act as

Kerberos users and also as Kerberos services. Both types of objects have an

attribute called 'userAccountControl' which is a bitmask that controls the

behavior of the account. The following three values have impact on possible

delegation:

0x00100000: UF_NOT_DELEGATED:

The UF_NOT_DELEGATED can be used to disable the ability to get forwardable TGT

for the account. It means the KDC will respond with an error if the client asks

for the forwardable ticket. The client typically gives up and removes the

GSS_C_DELEG_FLAG flag and continues without passing delegated credentials.

Administrators can use this to disable possible delegation for the most

privileged accounts (e.g. administrator accounts).

0x00080000: UF_TRUSTED_FOR_DELEGATION

If the UF_TRUSTED_FOR_DELEGATION is set on an account a KDC will include the

OK_AS_DELEGATE flag in a granted service ticket. If the client application

uses just GSS_C_DELEG_POLICY_FLAG (instead of GSS_C_DELEG_FLAG) gssapi/Kerberos

libraries typically only include delegated credentials when the service ticket

includes the OK_AS_DELEGATE flag. Administrators can use this to control which

services will get delegated credentials, for example if the service runs in a

trusted environment and actually requires the presence of delegated

credentials.

0x01000000: UF_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION

The UF_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION is not really relevant for this

CVE and just listed here for completeness. This flag is relevant for the

S4U2Proxy feature, where a service can ask the KDC for a proxied service

ticket which can impersonate users to other services.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6samba-0:3.6.23-41.el6Fixed 2017-03-21RHSA-2017:0662
Red Hat Enterprise Linux 6samba4-0:4.2.10-9.el6Fixed 2017-03-21RHSA-2017:0744
Red Hat Enterprise Linux 7samba-0:4.4.4-13.el7_3Fixed 2017-05-22RHSA-2017:1265
Red Hat Gluster Storage 3.2 for RHEL 6samba-0:4.4.6-4.el6rhsFixed 2017-03-23RHSA-2017:0494
Red Hat Gluster Storage 3.2 for RHEL 7samba-0:4.4.6-4.el7rhgsFixed 2017-03-23RHSA-2017:0495
Red Hat Enterprise Linux 5sambaWill not fix
Red Hat Enterprise Linux 5samba3xWill not fix

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-2125.

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. More on the page of CWE-20 (51).

References

Check your stackJSON