
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-2031 is a security vulnerability discovered in Samba affecting all versions prior to 4.16.4. The vulnerability occurs when the Key Distribution Center (KDC) and the kpasswd service share a single account and set of keys, allowing them to decrypt each other's tickets (Samba Security).
The vulnerability stems from a design flaw where the KDC and kpasswd service share a single account and set of keys. When a user's password has expired, they are restricted to acquiring tickets only for kpasswd. However, due to the vulnerability, the kpasswd's principal, when canonicalized, was set to that of the TGS (Ticket-Granting Service), resulting in TGTs being issued from ordinary kpasswd requests. The vulnerability has a CVSS v3.1 score of 5.4 (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N) (Samba Security).
The vulnerability allows users to perform an Elevation of Privilege attack by obtaining service tickets and using services in the forest. Additionally, password changes could be effected by presenting TGTs as if they were kpasswd tickets, potentially giving attackers indefinite control over an account through password changes (Samba Security).
Patches addressing these issues have been released in Samba versions 4.16.4, 4.15.9, and 4.14.14. As a workaround, kpasswd can be disabled by setting 'kpasswd port = 0' in the smb.conf if it's not critical for the AD DC installation. Additionally, the lifetime of kpasswd tickets has been restricted to a maximum of two minutes, and the KDC will no longer accept TGTs with two minutes or less left to live (Samba Security).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."