CVSS 3.1
6.5 mediumCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NMedium (6.5). EPSS 9.2% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExplain 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.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| samba:samba | from 3.0.25 before 4.3.13 |
| samba:samba | from 4.4.0 before 4.4.8 |
| samba:samba | from 4.5.0 before 4.5.3 |
| redhat:gluster_storage | 3.0 |
| redhat:enterprise_linux_desktop | 6.0 |
| redhat:enterprise_linux_desktop | 7.0 |
| redhat:enterprise_linux_server | 6.0 |
| redhat:enterprise_linux_server | 7.0 |
| redhat:enterprise_linux_server_aus | 7.4 |
| redhat:enterprise_linux_server_aus | 7.6 |
| redhat:enterprise_linux_server_eus | 7.3 |
| redhat:enterprise_linux_server_eus | 7.4 |
| redhat:enterprise_linux_server_eus | 7.5 |
| redhat:enterprise_linux_server_eus | 7.6 |
| redhat:enterprise_linux_server_tus | 7.3 |
| redhat:enterprise_linux_server_tus | 7.6 |
| redhat:enterprise_linux_workstation | 6.0 |
| redhat:enterprise_linux_workstation | 7.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 7 | samba | 2:3.6.6-6+deb7u11 | DLA-776-1 |
| Debian | 8 | samba | 2:4.2.14+dfsg-0+deb8u2 | DSA-3740-1 |
| Debian | 12, 13, 14 | samba | 2:4.5.2+dfsg-2 | DEBIAN-CVE-2016-2125 |
| Ubuntu | 14.04:LTS | samba | 2:4.3.11+dfsg-0ubuntu0.14.04.4 | UBUNTU-CVE-2016-2125 USN-3158-1 |
| Ubuntu | 16.04:LTS | samba | 2:4.3.11+dfsg-0ubuntu0.16.04.3 | UBUNTU-CVE-2016-2125 USN-3158-1 |
| Red Hat | enterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 more | samba, samba-doc, samba-swat and 11 more | 0:3.6.23-41.el6 | RHSA-2017:0662 |
| Red Hat | enterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 more | samba4, samba4-dc, samba4-libs and 11 more | 0:4.2.10-9.el6 | RHSA-2017:0744 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstation | samba, samba-dc, samba-libs and 22 more | 0:4.4.4-13.el7_3 | RHSA-2017:1265 |
| Red Hat | enterprise_linux:7::server | ctdb, samba, samba-dc and 24 more | 0:4.4.4-13.el7_3 | RHSA-2017:1265 |
| Red Hat | storage:3.2:samba:el6 | ctdb, samba, samba-dc and 24 more | 0:4.4.6-4.el6rhs | RHSA-2017:0494 |
| Red Hat | storage:3.2:samba:el7 | ctdb, samba, samba-dc and 24 more | 0:4.4.6-4.el7rhgs | RHSA-2017:0495 |
| SUSE | Linux Enterprise Desktop 12 SP1, Linux Enterprise Desktop 12 SP2, Linux Enterprise High Availability Extension 12 SP1 and 7 more | samba | 4.2.4-28.3.1 | SUSE-SU-2016:3272-1 |
| SUSE | Linux Enterprise Desktop 12 SP2, Linux Enterprise High Availability Extension 12 SP2, Linux Enterprise Server 12 SP2 and 3 more | samba | 4.4.2-31.1 | SUSE-SU-2016:3271-1 |
| SUSE | Linux Enterprise High Availability Extension 12, Linux Enterprise Server 12-LTSS, Linux Enterprise Server for SAP Applications 12 | samba | 4.2.4-18.30.1 | SUSE-SU-2016:3299-1 |
| SUSE | Linux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP3-LTSS, Linux Enterprise Server 11 SP3-TERADATA and 5 more | samba, samba-doc | 3.6.3-84.1 | SUSE-SU-2016:3298-1 |
| SUSE | Linux Enterprise Server 11 SP2-LTSS | samba, samba-doc | 3.6.3-56.1 | SUSE-SU-2016:3300-1 |
| SUSE | Linux Enterprise Software Development Kit 11 SP4 | samba | 3.6.3-84.1 | SUSE-SU-2016:3298-1 |
| openSUSE | Tumbleweed | samba | 4.14.6+git.182.2205d5224e3-1.1 | openSUSE-SU-2024:11365-1 |
| Alpine | v3.2, v3.3 | samba | 4.2.14-r1 | ALPINE-CVE-2016-2125 |
| Alpine | v3.4 | samba | 4.4.5-r2 | ALPINE-CVE-2016-2125 |
| Azure Linux | 3 | samba | no fix listed | AZL-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 rates this Moderate.
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.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | samba-0:3.6.23-41.el6 | Fixed 2017-03-21 | RHSA-2017:0662 |
| Red Hat Enterprise Linux 6 | samba4-0:4.2.10-9.el6 | Fixed 2017-03-21 | RHSA-2017:0744 |
| Red Hat Enterprise Linux 7 | samba-0:4.4.4-13.el7_3 | Fixed 2017-05-22 | RHSA-2017:1265 |
| Red Hat Gluster Storage 3.2 for RHEL 6 | samba-0:4.4.6-4.el6rhs | Fixed 2017-03-23 | RHSA-2017:0494 |
| Red Hat Gluster Storage 3.2 for RHEL 7 | samba-0:4.4.6-4.el7rhgs | Fixed 2017-03-23 | RHSA-2017:0495 |
| Red Hat Enterprise Linux 5 | samba | Will not fix | |
| Red Hat Enterprise Linux 5 | samba3x | Will 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.
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).