CVE-2020-25719: Race Condition
A flaw was found in the way Samba, as an Active Directory Domain Controller, implemented Kerberos name-based authentication. The Samba AD DC, could become confused about the user a ticket represents if it did not strictly require a Kerberos PAC and always use the SIDs found within. The result could include total domain compromise.
Other sources
As per upstream advisory:
Samba as an Active Directory Domain Controller is based on Kerberos, which provides name-based authentication. These names are often then used for authorization.
However Microsoft Windows and Active Direcory is SID-based. SIDs in Windows, similar to UIDs in Linux/Unix (if managed well) are globally unique and survive name changes. At the meeting of these two authorization schemes it is possible to confuse a server into acting as one user when holding a ticket for another.
A Kerberos ticket, once issued, may be valid for some time, often 10 hours but potentially longer. In Active Directory, it may or may not carry a PAC, holding the user's SIDs.
Delegated administrators with the right to create other user or machine accounts can abuse the race between the time of ticket issue and the time of presentation (back to the AD DC) to impersonate a different user.
— Red Hat
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is CVE-2020-25719?
CVE-2020-25719 is a vulnerability in Samba that affects the way it implements Kerberos name-based authentication.
How does CVE-2020-25719 impact Samba?
CVE-2020-25719 could cause the Samba AD DC to become confused about the user a ticket represents if it does not strictly require a Kerberos PAC.
What is the severity of CVE-2020-25719?
The severity of CVE-2020-25719 is critical, with a severity value of 7.2.
Which versions of Samba are affected by CVE-2020-25719?
CVE-2020-25719 affects Samba versions 4.0.0 to 4.13.14, 4.14.0 to 4.14.10, and 4.15.0 to 4.15.2.
How can I fix CVE-2020-25719 in Samba?
To fix CVE-2020-25719 in Samba, update to version 4.13.14, 4.14.10, or 4.15.2.