{"id":"CVE-2023-4154","aliases":["CVE-2023-4154"],"related":[],"kind":"vulnerability","state":"published","title":"Samba: ad dc password exposure to privileged users and rodcs","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Se encontró una falla de diseño en la implementación del control DirSync de Samba, que expone contraseñas y secretos en Active Directory a usuarios privilegiados y Controladores de Dominio de Solo Lectura (RODC). Esta falla permite a los RODC y a los usuarios que poseen el derecho GET_CHANGES acceder a todos los atributos, incluidos secretos y contraseñas confidenciales. Incluso en una configuración predeterminada, las cuentas RODC DC, que solo deberían replicar algunas contraseñas, pueden obtener acceso a todos los secretos del dominio, incluido el vital krbtgt, eliminando efectivamente la distinción RODC/DC. Además, la vulnerabilidad no tiene en cuenta las condiciones de error (fallo de apertura), como situaciones de falta de memoria, lo que potencialmente otorga acceso a atributos secretos, incluso bajo la influencia de un atacante con pocos privilegios.","source":"nvd"}],"published":"2023-11-07T19:14:28.305Z","modified":"2026-06-17T06:37:11.603Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"version":"4.19.1","status":"unaffected"},{"version":"4.18.8","status":"unaffected"},{"version":"4.17.12","status":"unaffected"}],"product":"samba","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"samba","cpe":"cpe:/o:redhat:enterprise_linux:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"samba4","cpe":"cpe:/o:redhat:enterprise_linux:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"samba","cpe":"cpe:/o:redhat:enterprise_linux:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"samba","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"samba","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Storage 3","package":"samba","cpe":"cpe:/a:redhat:storage:3","source":"cvelist"},{"ranges":[],"vendor":"Fedora","product":"Fedora","package":"samba","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.0.0","fixed":"4.17.12"},{"status":"affected","introduced":"4.18.0","fixed":"4.18.8"},{"status":"affected","introduced":"4.19.0","fixed":"4.19.1"}],"vendor":"samba","product":"samba","cpe":"cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2023-4154","tags":["third-party-advisory","vdb-entry","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2241883","tags":["issue-tracking","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.samba.org/show_bug.cgi?id=15424","tags":["issue-tracking","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20231124-0002/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.samba.org/samba/security/CVE-2023-4154.html","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-4154","url":"https://www.cve.org/CVERecord?id=CVE-2023-4154","licence":"CVE Terms of Use","modified":"2024-08-02T07:17:12.144Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-4154","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4154","licence":"Public domain","modified":"2026-06-17T06:37:11.603Z"}],"updatedAt":"2026-11-25T22:58:30.195Z","epss":{"score":0.01397,"percentile":0.73255,"date":"2026-12-02T12:00:21.000Z"}}