{"id":"CVE-2023-4154","details":"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.","modified":"2026-04-10T05:01:14.897590Z","published":"2023-11-07T20:15:08.683Z","related":["SUSE-SU-2023:4046-1","SUSE-SU-2023:4059-1","SUSE-SU-2023:4096-1","USN-6425-3","openSUSE-SU-2024:13332-1"],"references":[{"type":"ADVISORY","url":"https://www.samba.org/samba/security/CVE-2023-4154.html"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2023-4154"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20231124-0002/"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2241883"},{"type":"FIX","url":"https://bugzilla.samba.org/show_bug.cgi?id=15424"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/samba-team/samba","events":[{"introduced":"df33344d8eb40221d60c99931690703a11d91bc2"},{"fixed":"7ec207cd4146919e4ee88e5522647c169baf6922"},{"introduced":"a597a8767fabfe85ee0bcf869407e770a0c3e184"},{"fixed":"f1c0d4f1feb8105d22307e29150e0b7d59b5fed9"},{"introduced":"b7921852ad6ac048abbbe577b9faced2d694c685"},{"fixed":"d9e90993b4049bac99227c8f3c8823df45f7f46d"}],"database_specific":{"versions":[{"introduced":"4.0.0"},{"fixed":"4.17.12"},{"introduced":"4.18.0"},{"fixed":"4.18.8"},{"introduced":"4.19.0"},{"fixed":"4.19.1"}]}}],"versions":["ldb-2.7.2","samba-4.18.0","samba-4.18.1","samba-4.18.2","samba-4.18.3","samba-4.18.4","samba-4.18.6","samba-4.18.7","samba-4.19.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-4154.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}