CVE-2023-4154 json
Samba: ad dc password exposure to privileged users and rodcs
published 2023-11-07 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-54034
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
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.
Patch / fix
- samba samba 4.17.12, 4.18.8, 4.19.1
- samba Debian 12 2:4.17.12+dfsg-0+deb12u1
- samba Debian 14, Debian 13 2:4.19.1+dfsg-1
debian advisories DEBIAN-CVE-2023-4154
- samba Ubuntu 20.04 LTS 2:4.15.13+dfsg-0ubuntu0.20.04.6
- samba Ubuntu 22.04 LTS 2:4.15.13+dfsg-0ubuntu1.5
- samba Ubuntu 24.04 LTS 2:4.18.6+dfsg-1ubuntu2.1
ubuntu advisories UBUNTU-CVE-2023-4154
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- samba SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +6 more 4.15.13+git.691.3d3cea0641-150300.3.63.1
- samba SLE Module for Basesystem 15 SP4, SLE Micro 5.4, SLE Micro 5.3 +2 more 4.15.13+git.691.3d3cea0641-150400.3.31.1
- samba SLE Module for Basesystem 15 SP5, SLE Micro 5.5, SLE High Availability Extension 15 SP5 +1 more 4.17.9+git.421.abde31ca5c2-150500.3.11.1
suse advisories SUSE-SU-2023:4096-1SUSE-SU-2023:4059-1SUSE-SU-2023:4046-1
- samba openSUSE Tumbleweed 4.19.1+git.312.c912b3d2ef6-1.1
opensuse advisories openSUSE-SU-2024:13332-1
- samba Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 4.18.8-r0
alpine advisories ALPINE-CVE-2023-4154
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-4154 updated cvss 7.5
samba: AD DC password exposure to privileged users and RODCs
-
Red Hat Enterprise Linux 6 samba, samba4, samba4-dc, samba-swat, samba4-libs, samba4-pidl, +17 more Red Hat Enterprise Linux 7 ctdb, samba, samba-dc, ctdb-tests, samba-libs, samba-pidl, +18 more Red Hat Enterprise Linux 8 ctdb, samba, libnetapi, ctdb-tests, samba-libs, samba-pidl, +24 more Red Hat Enterprise Linux 9 ctdb, samba, libldb, ldb-tools, libnetapi, samba-libs, +27 more Red Hat Storage 3 ctdb, samba, samba-dc, ctdb-tests, samba-libs, samba-pidl, +21 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.40% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected products
- n/a samba
- Red Hat Red Hat Enterprise Linux 6
- Red Hat Red Hat Enterprise Linux 7
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Storage 3
- Fedora Fedora
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
bugzilla.samba.org
/show_bug.cgi?id=15424
issue-tracking, patch
-
samba.org
/samba/security/CVE-2023-4154.html
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2023-4154
vdb-entry, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2241883
issue-tracking
- security.netapp.com /advisory/ntap-20231124-0002/
Sources
- CVE List CVE-2023-4154
- NVD CVE-2023-4154
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.