Bug 2241883 (CVE-2023-4154) - CVE-2023-4154 samba: AD DC password exposure to privileged users and RODCs
Summary: CVE-2023-4154 samba: AD DC password exposure to privileged users and RODCs
Status: NEW
Alias: CVE-2023-4154
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Product Security
QA Contact:
Depends On: 2243230
Blocks: 2228383
TreeView+ depends on / blocked
Reported: 2023-10-03 07:34 UTC by TEJ RATHI
Modified: 2023-12-29 04:39 UTC (History)
5 users (show)

Fixed In Version: samba 4.19.1, samba 4.18.8, samba 4.17.12
Doc Type: If docs needed, set a value
Doc Text:
A design flaw was found in Samba's DirSync control implementation, which exposes passwords and secrets in Active Directory to privileged users and Read-Only Domain Controllers (RODCs). This flaw allows RODCs and users possessing the GET_CHANGES right to access all attributes, including sensitive secrets and passwords. Even in a default setup, RODC DC accounts, which should only replicate some passwords, can gain access to all domain secrets, including the vital krbtgt, effectively eliminating the RODC / DC distinction. Furthermore, the vulnerability fails to account for error conditions (fail open), like out-of-memory situations, potentially granting access to secret attributes, even under low-privileged attacker influence.
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description TEJ RATHI 2023-10-03 07:34:33 UTC
An RODC and a user with the GET_CHANGES right can view all attributes, including secrets and passwords. In Samba's implementation of the DirSync control, Active Directory accounts authorized to do some replication, but not to replicate sensitive attributes, can instead replicate critical domain passwords and secrets.

In a default installation, this means that RODC DC accounts (which should only be permitted to replicate some passwords) can instead obtain all domain secrets, including the core AD secret: the krbtgt password.


Comment 1 TEJ RATHI 2023-10-11 10:42:42 UTC
This CVE is now Public:

Comment 2 TEJ RATHI 2023-10-11 10:46:07 UTC
Created samba tracking bugs for this issue:

Affects: fedora-all [bug 2243230]

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