Bug 2094789 (CVE-2022-2031) - CVE-2022-2031 samba: kpasswd authentication with canonicalization enabled against Samba AD DC with Heimdal returns a krbtgt
Summary: CVE-2022-2031 samba: kpasswd authentication with canonicalization enabled aga...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2022-2031
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2095310 2095313
TreeView+ depends on / blocked
 
Reported: 2022-06-08 09:52 UTC by Mauro Matteo Cascella
Modified: 2022-08-30 14:25 UTC (History)
15 users (show)

Fixed In Version: samba 4.16.4, samba 4.15.9, samba 4.14.14
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Samba. The security vulnerability occurs when KDC and the kpasswd service share a single account and set of keys, allowing them to decrypt each other's tickets. A user who has been requested to change their password, can exploit this flaw to obtain and use tickets to other services.
Clone Of:
Environment:
Last Closed: 2022-08-30 14:25:53 UTC
Embargoed:


Attachments (Terms of Use)

Description Mauro Matteo Cascella 2022-06-08 09:52:09 UTC
As per samba upstream advisory:

All versions of Samba prior to 4.16.x built with Heimdal Kerberos are vulnerable to an Elevation of Privilege attack. If the password of a user expires and need to be changed, a user could get a krbtgt using kpasswd with canonicalization turned on. The KDC should only provide a ticket for kadmin/changepw but returns a krbtgt. So a user could skip the password change and just use the krbtgt to get service tickets and use services in the forest.

Comment 1 Product Security DevOps Team 2022-08-30 14:25:50 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-2031


Note You need to log in before you can comment on or make changes to this bug.