Bug 2046134 (CVE-2022-0336) - CVE-2022-0336 samba: Samba AD users with permission to write to an account can impersonate arbitrary services
Summary: CVE-2022-0336 samba: Samba AD users with permission to write to an account ca...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2022-0336
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2048568
Blocks: 2046121
TreeView+ depends on / blocked
 
Reported: 2022-01-26 10:09 UTC by Huzaifa S. Sidhpurwala
Modified: 2022-10-03 13:29 UTC (History)
16 users (show)

Fixed In Version: samba 4.13.17, samba 4.14.12, samba 4.15.4
Doc Type: If docs needed, set a value
Doc Text:
A logic flaw in the Samba Active Directory Domain Controller leads to a denial of service and service impersonation. This flaw allows an attacker with the ability to write to an account to perform a denial of service attack or service impersonation by adding an SPN that matches an existing service.
Clone Of:
Environment:
Last Closed: 2022-01-31 15:01:05 UTC
Embargoed:


Attachments (Terms of Use)

Description Huzaifa S. Sidhpurwala 2022-01-26 10:09:54 UTC
As per samba upstream advisory:


The Samba AD DC includes checks when adding service principals names (SPNs) to an account to ensure that SPNs do not alias with those already in the database. Some of these checks are able to be bypassed if an account modification re-adds an SPN that was previously present on that account, such as one added when a computer is joined to a domain.

An attacker who has the ability to write to an account can exploit this to perform a denial-of-service attack by adding an SPN that matches an existing service. Additionally, an attacker who can intercept traffic can impersonate existing services, resulting in a loss of confidentiality and integrity.

Comment 1 Huzaifa S. Sidhpurwala 2022-01-31 14:23:04 UTC
Created samba tracking bugs for this issue:

Affects: fedora-all [bug 2048568]

Comment 2 Product Security DevOps Team 2022-01-31 15:01:03 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-0336


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