# CVE-2023-4154: Samba: ad dc password exposure to privileged users and rodcs

- Severity: High 7.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.40%, higher than 73% of CVEs (2026-12-02)
- Published: 2023-11-07T19:14:28.305Z
- Modified: 2026-06-17T06:37:11.603Z
- Weaknesses: CWE-787
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- samba: no versions given (not affected: 4.19.1; 4.18.8; 4.17.12)
- samba4: no versions given
- samba samba: from 4.0.0 before 4.17.12; from 4.18.0 before 4.18.8; from 4.19.0 before 4.19.1

## Every score

- redhat: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://access.redhat.com/security/cve/CVE-2023-4154> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2241883> (issue-tracking)
- <https://bugzilla.samba.org/show_bug.cgi?id=15424> (issue-tracking, patch)
- <https://security.netapp.com/advisory/ntap-20231124-0002/>
- <https://www.samba.org/samba/security/CVE-2023-4154.html> (vendor-advisory)

## Sources

- CVE List: [CVE-2023-4154](https://www.cve.org/CVERecord?id=CVE-2023-4154), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2023-4154](https://nvd.nist.gov/vuln/detail/CVE-2023-4154), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-4154 · Whole record: https://cve.day/CVE-2023-4154.json · Rebuilt by cve.day 2026-11-25T22:58:30.195Z
