Vulnerability record · CVE-2023-4154 · published 7 November 2023
CVE-2023-4154: Samba out-of-bounds write vulnerability
Samba · Samba
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.
Description
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://access.redhat.com/security/cve/CVE-2023-4154 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2241883 | Issue Tracking |
| https://bugzilla.samba.org/show_bug.cgi?id=15424 | Issue TrackingPatch |
| https://security.netapp.com/advisory/ntap-20231124-0002/ | |
| https://www.samba.org/samba/security/CVE-2023-4154.html | Vendor Advisory |
| https://access.redhat.com/security/cve/CVE-2023-4154 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2241883 | Issue Tracking |
| https://bugzilla.samba.org/show_bug.cgi?id=15424 | Issue TrackingPatch |
| https://security.netapp.com/advisory/ntap-20231124-0002/ | |
| https://www.samba.org/samba/security/CVE-2023-4154.html | Vendor Advisory |
Track CVE-2023-4154 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2023-4154), CISA KEV, FIRST EPSS (scores of 2026-11-23). This page is refreshed as NVD updates the record.