CVE-2016-2126
published 2017-05-11CVE-2016-2126: Samba version 4.0.0 up to 4.5.2 is vulnerable to privilege elevation due to incorrect handling of the PAC (Privilege Attribute Certificate) checksum. A remote…
PriorityP336medium6.5CVSS 3.1
AVNACLPRLUINSUCNINAH
EPSS
6.59%
93.1th percentile
Samba version 4.0.0 up to 4.5.2 is vulnerable to privilege elevation due to incorrect handling of the PAC (Privilege Attribute Certificate) checksum. A remote, authenticated, attacker can cause the winbindd process to crash using a legitimate Kerberos ticket. A local service with access to the winbindd privileged pipe can cause winbindd to cache elevated access permissions.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | samba | < samba 2:4.5.2+dfsg-2 (bookworm) | samba 2:4.5.2+dfsg-2 (bookworm) |
| samba | samba | >= 0 < 2:4.5.2+dfsg-2 | 2:4.5.2+dfsg-2 |
| samba | samba | >= 0 < 2:4.5.2+dfsg-2 | 2:4.5.2+dfsg-2 |
| samba | samba | >= 0 < 2:4.5.2+dfsg-2 | 2:4.5.2+dfsg-2 |
| samba | samba | >= 0 < 2:4.5.2+dfsg-2 | 2:4.5.2+dfsg-2 |
| samba | samba | >= 0 < 2:4.3.11+dfsg-0ubuntu0.14.04.4 | 2:4.3.11+dfsg-0ubuntu0.14.04.4 |
| samba | samba | >= 0 < 2:4.3.11+dfsg-0ubuntu0.16.04.3 | 2:4.3.11+dfsg-0ubuntu0.16.04.3 |
| samba | samba | >= 4.0.0 < 4.3.13 | 4.3.13 |
| samba | samba | >= 4.4.0 < 4.4.8 | 4.4.8 |
| samba | samba | >= 4.5.0 < 4.5.3 | 4.5.3 |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvdv2.04.0MEDIUMAV:N/AC:L/Au:S/C:N/I:N/A:P
osv8.8HIGH
vendor_ubuntu8.8HIGH
vendor_debian6.5MEDIUM
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Samba vulnerabilities
vendor_ubuntu·2016-12-19·CVSS 8.8
CVE-2016-2123 [HIGH] Samba vulnerabilities
Title: Samba vulnerabilities
Summary: Several security issues were fixed in Samba.
Frederic Besler and others discovered that the ndr_pull_dnsp_nam
function in Samba contained an integer overflow. An authenticated
attacker could use this to gain administrative privileges. This issue
only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, and Ubuntu 16.10.
(CVE-2016-2123)
Simo Sorce discovered that that Samba clients always requested
a forwardable ticket when using Kerberos authentication. An
attacker could use this to impersonate an authenticated user or
service. (CVE-2016-2125)
Volker Lendecke discovered that Kerberos PAC validation implementation
in Samba contained multiple vulnerabilities. An authenticated attacker
could use this to cause a denial of service or gain administrative
privile
Red Hat
samba: Flaws in Kerberos PAC validation can trigger privilege elevation
vendor_redhat·2016-12-19·CVSS 6.5
CVE-2016-2126 [MEDIUM] samba: Flaws in Kerberos PAC validation can trigger privilege elevation
samba: Flaws in Kerberos PAC validation can trigger privilege elevation
Samba version 4.0.0 up to 4.5.2 is vulnerable to privilege elevation due to incorrect handling of the PAC (Privilege Attribute Certificate) checksum. A remote, authenticated, attacker can cause the winbindd process to crash using a legitimate Kerberos ticket. A local service with access to the winbindd privileged pipe can cause winbindd to cache elevated access permissions.
A flaw was found in the way Samba handled PAC (Privilege Attribute Certificate) checksums. A remote, authenticated attacker could use this flaw to crash the winbindd process.
Package: samba (Red Hat Enterprise Linux 5) - Will not fix
Package: samba3x (Red Hat Enterprise Linux 5) - Will not fix
Debian
CVE-2016-2126: samba - Samba version 4.0.0 up to 4.5.2 is vulnerable to privilege elevation due to inco...
vendor_debian·2016·CVSS 6.5
CVE-2016-2126 [MEDIUM] CVE-2016-2126: samba - Samba version 4.0.0 up to 4.5.2 is vulnerable to privilege elevation due to inco...
Samba version 4.0.0 up to 4.5.2 is vulnerable to privilege elevation due to incorrect handling of the PAC (Privilege Attribute Certificate) checksum. A remote, authenticated, attacker can cause the winbindd process to crash using a legitimate Kerberos ticket. A local service with access to the winbindd privileged pipe can cause winbindd to cache elevated access permissions.
Scope: local
bookworm: resolved (fixed in 2:4.5.2+dfsg-2)
bullseye: resolved (fixed in 2:4.5.2+dfsg-2)
forky: resolved (fixed in 2:4.5.2+dfsg-2)
sid: resolved (fixed in 2:4.5.2+dfsg-2)
trixie: resolved (fixed in 2:4.5.2+dfsg-2)
GHSA
GHSA-j88p-975v-5qqh: Samba version 4
ghsa_unreviewed·2022-05-14
CVE-2016-2126 [MEDIUM] GHSA-j88p-975v-5qqh: Samba version 4
Samba version 4.0.0 up to 4.5.2 is vulnerable to privilege elevation due to incorrect handling of the PAC (Privilege Attribute Certificate) checksum. A remote, authenticated, attacker can cause the winbindd process to crash using a legitimate Kerberos ticket. A local service with access to the winbindd privileged pipe can cause winbindd to cache elevated access permissions.
OSV
CVE-2016-2126: Samba version 4
osv·2017-05-11·CVSS 6.5
CVE-2016-2126 [MEDIUM] CVE-2016-2126: Samba version 4
Samba version 4.0.0 up to 4.5.2 is vulnerable to privilege elevation due to incorrect handling of the PAC (Privilege Attribute Certificate) checksum. A remote, authenticated, attacker can cause the winbindd process to crash using a legitimate Kerberos ticket. A local service with access to the winbindd privileged pipe can cause winbindd to cache elevated access permissions.
OSV
samba vulnerabilities
osv·2016-12-19·CVSS 8.8
CVE-2016-2123 [HIGH] samba vulnerabilities
samba vulnerabilities
Frederic Besler and others discovered that the ndr_pull_dnsp_nam
function in Samba contained an integer overflow. An authenticated
attacker could use this to gain administrative privileges. This issue
only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, and Ubuntu 16.10.
(CVE-2016-2123)
Simo Sorce discovered that that Samba clients always requested
a forwardable ticket when using Kerberos authentication. An
attacker could use this to impersonate an authenticated user or
service. (CVE-2016-2125)
Volker Lendecke discovered that Kerberos PAC validation implementation
in Samba contained multiple vulnerabilities. An authenticated attacker
could use this to cause a denial of service or gain administrative
privileges. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04
L
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-2125 CVE-2016-2126 samba: various flaws [fedora-all]
bugzilla·2016-12-19·CVSS 6.5
CVE-2016-2125 [MEDIUM] CVE-2016-2125 CVE-2016-2126 samba: various flaws [fedora-all]
CVE-2016-2125 CVE-2016-2126 samba: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora. While on
Bugzilla
CVE-2016-2126 samba: Flaws in Kerberos PAC validation can trigger privilege elevation
bugzilla·2016-12-09·CVSS 6.5
CVE-2016-2126 [MEDIUM] CVE-2016-2126 samba: Flaws in Kerberos PAC validation can trigger privilege elevation
CVE-2016-2126 samba: Flaws in Kerberos PAC validation can trigger privilege elevation
As per upstream:
A remote, authenticated, attacker can cause the winbindd process to crash using a legitimate Kerberos ticket due to incorrect handling of the PAC checksum. A local service with access to the winbindd privileged pipe can cause winbindd to cache elevated access permissions.
For the remote attack, the memory overwrite kills the main winbindd process and an authenticated attacker can construct this situation by watching for password changes in Samba.
One specific trigger occurs when winbindd changes its machine account password and the client has still a valid Kerberos ticket (that was encrypted with the old password).
Discussion:
Created samba tracking bugs for this issue:
Affects: fe
http://rhn.redhat.com/errata/RHSA-2017-0494.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0495.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0662.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0744.htmlhttp://www.securityfocus.com/bid/94994http://www.securitytracker.com/id/1037495https://access.redhat.com/errata/RHSA-2017:1265https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA43730https://www.samba.org/samba/security/CVE-2016-2126.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0494.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0495.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0662.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0744.htmlhttp://www.securityfocus.com/bid/94994http://www.securitytracker.com/id/1037495https://access.redhat.com/errata/RHSA-2017:1265https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA43730https://www.samba.org/samba/security/CVE-2016-2126.html
2017-05-11
Published