CVE-2023-4154

samba: A design flaw was found in Samba's DirSync control implementation, which exposes passwords and secrets in Active Dire...

CVE-2023-4154 is fixed in 25 products on 1 platform, first by ctdb 2:4.15.13+dfsg-0ubuntu0.20.04.6, released October 9, 2023. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
6.5
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0140
72nd percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
ctdb · Ubuntu 20.04 LTS (focal) 2:4.15.13+dfsg-0ubuntu0.20.04.6 ctdb 2:4.15.13+dfsg-0ubuntu0.20.04.6 Oct 9, 2023
ctdb · Ubuntu 22.04.1 LTS (jammy) 2:4.15.13+dfsg-0ubuntu1.5 ctdb 2:4.15.13+dfsg-0ubuntu1.5 Oct 9, 2023
ctdb · Ubuntu 24.04.5 LTS (noble) 2:4.18.6+dfsg-1ubuntu2.1 ctdb 2:4.18.6+dfsg-1ubuntu2.1 Oct 9, 2023
ctdb · Ubuntu 24.10 (oracular) 2:4.19.5+dfsg-4ubuntu9 ctdb 2:4.19.5+dfsg-4ubuntu9 Oct 10, 2023
ctdb · Ubuntu 25.04 (plucky) 2:4.20.4+dfsg-1ubuntu1 ctdb 2:4.20.4+dfsg-1ubuntu1 Oct 10, 2023
ldb-tools · Ubuntu 24.04.5 LTS (noble) 2:2.7.2+samba4.18.6+dfsg-1ubuntu2.1 ldb-tools 2:2.7.2+samba4.18.6+dfsg-1ubuntu2.1 Oct 9, 2023
ldb-tools · Ubuntu 24.10 (oracular) 2:2.8.0+samba4.19.5+dfsg-4ubuntu9 ldb-tools 2:2.8.0+samba4.19.5+dfsg-4ubuntu9 Oct 10, 2023
ldb-tools · Ubuntu 25.04 (plucky) 2:2.9.1+samba4.20.4+dfsg-1ubuntu1 ldb-tools 2:2.9.1+samba4.20.4+dfsg-1ubuntu1 Oct 10, 2023
libldb2 · Ubuntu 24.04.5 LTS (noble) 2:2.7.2+samba4.18.6+dfsg-1ubuntu2.1 libldb2 2:2.7.2+samba4.18.6+dfsg-1ubuntu2.1 Oct 9, 2023
libldb2 · Ubuntu 24.10 (oracular) 2:2.8.0+samba4.19.5+dfsg-4ubuntu9 libldb2 2:2.8.0+samba4.19.5+dfsg-4ubuntu9 Oct 10, 2023
libldb2 · Ubuntu 25.04 (plucky) 2:2.9.1+samba4.20.4+dfsg-1ubuntu1 libldb2 2:2.9.1+samba4.20.4+dfsg-1ubuntu1 Oct 10, 2023
libnss-winbind · Ubuntu 20.04 LTS (focal) 2:4.15.13+dfsg-0ubuntu0.20.04.6 libnss-winbind 2:4.15.13+dfsg-0ubuntu0.20.04.6 Oct 9, 2023
libnss-winbind · Ubuntu 22.04.1 LTS (jammy) 2:4.15.13+dfsg-0ubuntu1.5 libnss-winbind 2:4.15.13+dfsg-0ubuntu1.5 Oct 9, 2023
libnss-winbind · Ubuntu 24.04.5 LTS (noble) 2:4.18.6+dfsg-1ubuntu2.1 libnss-winbind 2:4.18.6+dfsg-1ubuntu2.1 Oct 9, 2023
libnss-winbind · Ubuntu 24.10 (oracular) 2:4.19.5+dfsg-4ubuntu9 libnss-winbind 2:4.19.5+dfsg-4ubuntu9 Oct 10, 2023
libnss-winbind · Ubuntu 25.04 (plucky) 2:4.20.4+dfsg-1ubuntu1 libnss-winbind 2:4.20.4+dfsg-1ubuntu1 Oct 10, 2023
libpam-winbind · Ubuntu 20.04 LTS (focal) 2:4.15.13+dfsg-0ubuntu0.20.04.6 libpam-winbind 2:4.15.13+dfsg-0ubuntu0.20.04.6 Oct 9, 2023
libpam-winbind · Ubuntu 22.04.1 LTS (jammy) 2:4.15.13+dfsg-0ubuntu1.5 libpam-winbind 2:4.15.13+dfsg-0ubuntu1.5 Oct 9, 2023
libpam-winbind · Ubuntu 24.04.5 LTS (noble) 2:4.18.6+dfsg-1ubuntu2.1 libpam-winbind 2:4.18.6+dfsg-1ubuntu2.1 Oct 9, 2023
libpam-winbind · Ubuntu 24.10 (oracular) 2:4.19.5+dfsg-4ubuntu9 libpam-winbind 2:4.19.5+dfsg-4ubuntu9 Oct 10, 2023
libpam-winbind · Ubuntu 25.04 (plucky) 2:4.20.4+dfsg-1ubuntu1 libpam-winbind 2:4.20.4+dfsg-1ubuntu1 Oct 10, 2023
libsmbclient · Ubuntu 20.04 LTS (focal) 2:4.15.13+dfsg-0ubuntu0.20.04.6 libsmbclient 2:4.15.13+dfsg-0ubuntu0.20.04.6 Oct 9, 2023
libsmbclient · Ubuntu 22.04.1 LTS (jammy) 2:4.15.13+dfsg-0ubuntu1.5 libsmbclient 2:4.15.13+dfsg-0ubuntu1.5 Oct 9, 2023
libsmbclient · Ubuntu 24.04.5 LTS (noble) 2:4.18.6+dfsg-1ubuntu2.1 libsmbclient 2:4.18.6+dfsg-1ubuntu2.1 Oct 9, 2023
libsmbclient0 · Ubuntu 24.10 (oracular) 2:4.19.5+dfsg-4ubuntu9 libsmbclient0 2:4.19.5+dfsg-4ubuntu9 Oct 10, 2023
libsmbclient0 · Ubuntu 25.04 (plucky) 2:4.20.4+dfsg-1ubuntu1 libsmbclient0 2:4.20.4+dfsg-1ubuntu1 Oct 10, 2023
libwbclient0 · Ubuntu 20.04 LTS (focal) 2:4.15.13+dfsg-0ubuntu0.20.04.6 libwbclient0 2:4.15.13+dfsg-0ubuntu0.20.04.6 Oct 9, 2023
libwbclient0 · Ubuntu 22.04.1 LTS (jammy) 2:4.15.13+dfsg-0ubuntu1.5 libwbclient0 2:4.15.13+dfsg-0ubuntu1.5 Oct 9, 2023
libwbclient0 · Ubuntu 24.04.5 LTS (noble) 2:4.18.6+dfsg-1ubuntu2.1 libwbclient0 2:4.18.6+dfsg-1ubuntu2.1 Oct 9, 2023
libwbclient0 · Ubuntu 24.10 (oracular) 2:4.19.5+dfsg-4ubuntu9 libwbclient0 2:4.19.5+dfsg-4ubuntu9 Oct 10, 2023
libwbclient0 · Ubuntu 25.04 (plucky) 2:4.20.4+dfsg-1ubuntu1 libwbclient0 2:4.20.4+dfsg-1ubuntu1 Oct 10, 2023
python3-ldb · Ubuntu 24.04.5 LTS (noble) 2:2.7.2+samba4.18.6+dfsg-1ubuntu2.1 python3-ldb 2:2.7.2+samba4.18.6+dfsg-1ubuntu2.1 Oct 9, 2023
python3-ldb · Ubuntu 24.10 (oracular) 2:2.8.0+samba4.19.5+dfsg-4ubuntu9 python3-ldb 2:2.8.0+samba4.19.5+dfsg-4ubuntu9 Oct 10, 2023
python3-ldb · Ubuntu 25.04 (plucky) 2:2.9.1+samba4.20.4+dfsg-1ubuntu1 python3-ldb 2:2.9.1+samba4.20.4+dfsg-1ubuntu1 Oct 10, 2023
python3-samba · Ubuntu 20.04 LTS (focal) 2:4.15.13+dfsg-0ubuntu0.20.04.6 python3-samba 2:4.15.13+dfsg-0ubuntu0.20.04.6 Oct 9, 2023
python3-samba · Ubuntu 22.04.1 LTS (jammy) 2:4.15.13+dfsg-0ubuntu1.5 python3-samba 2:4.15.13+dfsg-0ubuntu1.5 Oct 9, 2023
python3-samba · Ubuntu 24.04.5 LTS (noble) 2:4.18.6+dfsg-1ubuntu2.1 python3-samba 2:4.18.6+dfsg-1ubuntu2.1 Oct 9, 2023
python3-samba · Ubuntu 24.10 (oracular) 2:4.19.5+dfsg-4ubuntu9 python3-samba 2:4.19.5+dfsg-4ubuntu9 Oct 10, 2023
python3-samba · Ubuntu 25.04 (plucky) 2:4.20.4+dfsg-1ubuntu1 python3-samba 2:4.20.4+dfsg-1ubuntu1 Oct 10, 2023
registry-tools · Ubuntu 20.04 LTS (focal) 2:4.15.13+dfsg-0ubuntu0.20.04.6 registry-tools 2:4.15.13+dfsg-0ubuntu0.20.04.6 Oct 9, 2023
registry-tools · Ubuntu 22.04.1 LTS (jammy) 2:4.15.13+dfsg-0ubuntu1.5 registry-tools 2:4.15.13+dfsg-0ubuntu1.5 Oct 9, 2023
registry-tools · Ubuntu 24.04.5 LTS (noble) 2:4.18.6+dfsg-1ubuntu2.1 registry-tools 2:4.18.6+dfsg-1ubuntu2.1 Oct 9, 2023
registry-tools · Ubuntu 24.10 (oracular) 2:4.19.5+dfsg-4ubuntu9 registry-tools 2:4.19.5+dfsg-4ubuntu9 Oct 10, 2023
registry-tools · Ubuntu 25.04 (plucky) 2:4.20.4+dfsg-1ubuntu1 registry-tools 2:4.20.4+dfsg-1ubuntu1 Oct 10, 2023
samba · Debian 12.15 (bookworm) 2:4.17.12+dfsg-0+deb12u1 DEBIAN-CVE-2023-4154 Nov 7, 2023
samba · Debian 13.5 (trixie) 2:4.19.1+dfsg-1 DEBIAN-CVE-2023-4154 Nov 7, 2023
samba · Debian 14 2:4.19.1+dfsg-1 DEBIAN-CVE-2023-4154 Nov 7, 2023
samba · Ubuntu 20.04 LTS (focal) 2:4.15.13+dfsg-0ubuntu0.20.04.6 samba 2:4.15.13+dfsg-0ubuntu0.20.04.6 Oct 9, 2023
samba · Ubuntu 22.04.1 LTS (jammy) 2:4.15.13+dfsg-0ubuntu1.5 samba 2:4.15.13+dfsg-0ubuntu1.5 Oct 9, 2023
samba · Ubuntu 24.04.5 LTS (noble) 2:4.18.6+dfsg-1ubuntu2.1 samba 2:4.18.6+dfsg-1ubuntu2.1 Oct 9, 2023
samba · Ubuntu 24.10 (oracular) 2:4.19.5+dfsg-4ubuntu9 samba 2:4.19.5+dfsg-4ubuntu9 Oct 10, 2023
samba · Ubuntu 25.04 (plucky) 2:4.20.4+dfsg-1ubuntu1 samba 2:4.20.4+dfsg-1ubuntu1 Oct 10, 2023
samba-ad-dc · Ubuntu 24.04.5 LTS (noble) 2:4.18.6+dfsg-1ubuntu2.1 samba-ad-dc 2:4.18.6+dfsg-1ubuntu2.1 Oct 9, 2023
samba-ad-dc · Ubuntu 24.10 (oracular) 2:4.19.5+dfsg-4ubuntu9 samba-ad-dc 2:4.19.5+dfsg-4ubuntu9 Oct 10, 2023
samba-ad-dc · Ubuntu 25.04 (plucky) 2:4.20.4+dfsg-1ubuntu1 samba-ad-dc 2:4.20.4+dfsg-1ubuntu1 Oct 10, 2023
samba-ad-provision · Ubuntu 24.04.5 LTS (noble) 2:4.18.6+dfsg-1ubuntu2.1 samba-ad-provision 2:4.18.6+dfsg-1ubuntu2.1 Oct 9, 2023
samba-ad-provision · Ubuntu 24.10 (oracular) 2:4.19.5+dfsg-4ubuntu9 samba-ad-provision 2:4.19.5+dfsg-4ubuntu9 Oct 10, 2023
samba-ad-provision · Ubuntu 25.04 (plucky) 2:4.20.4+dfsg-1ubuntu1 samba-ad-provision 2:4.20.4+dfsg-1ubuntu1 Oct 10, 2023
samba-common · Ubuntu 20.04 LTS (focal) 2:4.15.13+dfsg-0ubuntu0.20.04.6 samba-common 2:4.15.13+dfsg-0ubuntu0.20.04.6 Oct 9, 2023
samba-common · Ubuntu 22.04.1 LTS (jammy) 2:4.15.13+dfsg-0ubuntu1.5 samba-common 2:4.15.13+dfsg-0ubuntu1.5 Oct 9, 2023
samba-common · Ubuntu 24.04.5 LTS (noble) 2:4.18.6+dfsg-1ubuntu2.1 samba-common 2:4.18.6+dfsg-1ubuntu2.1 Oct 9, 2023
samba-common · Ubuntu 24.10 (oracular) 2:4.19.5+dfsg-4ubuntu9 samba-common 2:4.19.5+dfsg-4ubuntu9 Oct 10, 2023
samba-common · Ubuntu 25.04 (plucky) 2:4.20.4+dfsg-1ubuntu1 samba-common 2:4.20.4+dfsg-1ubuntu1 Oct 10, 2023
samba-common-bin · Ubuntu 20.04 LTS (focal) 2:4.15.13+dfsg-0ubuntu0.20.04.6 samba-common-bin 2:4.15.13+dfsg-0ubuntu0.20.04.6 Oct 9, 2023
samba-common-bin · Ubuntu 22.04.1 LTS (jammy) 2:4.15.13+dfsg-0ubuntu1.5 samba-common-bin 2:4.15.13+dfsg-0ubuntu1.5 Oct 9, 2023
samba-common-bin · Ubuntu 24.04.5 LTS (noble) 2:4.18.6+dfsg-1ubuntu2.1 samba-common-bin 2:4.18.6+dfsg-1ubuntu2.1 Oct 9, 2023
samba-common-bin · Ubuntu 24.10 (oracular) 2:4.19.5+dfsg-4ubuntu9 samba-common-bin 2:4.19.5+dfsg-4ubuntu9 Oct 10, 2023
samba-common-bin · Ubuntu 25.04 (plucky) 2:4.20.4+dfsg-1ubuntu1 samba-common-bin 2:4.20.4+dfsg-1ubuntu1 Oct 10, 2023
samba-dsdb-modules · Ubuntu 20.04 LTS (focal) 2:4.15.13+dfsg-0ubuntu0.20.04.6 samba-dsdb-modules 2:4.15.13+dfsg-0ubuntu0.20.04.6 Oct 9, 2023
samba-dsdb-modules · Ubuntu 22.04.1 LTS (jammy) 2:4.15.13+dfsg-0ubuntu1.5 samba-dsdb-modules 2:4.15.13+dfsg-0ubuntu1.5 Oct 9, 2023
samba-dsdb-modules · Ubuntu 24.04.5 LTS (noble) 2:4.18.6+dfsg-1ubuntu2.1 samba-dsdb-modules 2:4.18.6+dfsg-1ubuntu2.1 Oct 9, 2023
samba-dsdb-modules · Ubuntu 24.10 (oracular) 2:4.19.5+dfsg-4ubuntu9 samba-dsdb-modules 2:4.19.5+dfsg-4ubuntu9 Oct 10, 2023
samba-dsdb-modules · Ubuntu 25.04 (plucky) 2:4.20.4+dfsg-1ubuntu1 samba-dsdb-modules 2:4.20.4+dfsg-1ubuntu1 Oct 10, 2023
samba-libs · Ubuntu 20.04 LTS (focal) 2:4.15.13+dfsg-0ubuntu0.20.04.6 samba-libs 2:4.15.13+dfsg-0ubuntu0.20.04.6 Oct 9, 2023
samba-libs · Ubuntu 22.04.1 LTS (jammy) 2:4.15.13+dfsg-0ubuntu1.5 samba-libs 2:4.15.13+dfsg-0ubuntu1.5 Oct 9, 2023
samba-libs · Ubuntu 24.04.5 LTS (noble) 2:4.18.6+dfsg-1ubuntu2.1 samba-libs 2:4.18.6+dfsg-1ubuntu2.1 Oct 9, 2023
samba-libs · Ubuntu 24.10 (oracular) 2:4.19.5+dfsg-4ubuntu9 samba-libs 2:4.19.5+dfsg-4ubuntu9 Oct 10, 2023
samba-libs · Ubuntu 25.04 (plucky) 2:4.20.4+dfsg-1ubuntu1 samba-libs 2:4.20.4+dfsg-1ubuntu1 Oct 10, 2023
samba-testsuite · Ubuntu 20.04 LTS (focal) 2:4.15.13+dfsg-0ubuntu0.20.04.6 samba-testsuite 2:4.15.13+dfsg-0ubuntu0.20.04.6 Oct 9, 2023
samba-testsuite · Ubuntu 22.04.1 LTS (jammy) 2:4.15.13+dfsg-0ubuntu1.5 samba-testsuite 2:4.15.13+dfsg-0ubuntu1.5 Oct 9, 2023
samba-testsuite · Ubuntu 24.04.5 LTS (noble) 2:4.18.6+dfsg-1ubuntu2.1 samba-testsuite 2:4.18.6+dfsg-1ubuntu2.1 Oct 9, 2023
samba-testsuite · Ubuntu 24.10 (oracular) 2:4.19.5+dfsg-4ubuntu9 samba-testsuite 2:4.19.5+dfsg-4ubuntu9 Oct 10, 2023
samba-testsuite · Ubuntu 25.04 (plucky) 2:4.20.4+dfsg-1ubuntu1 samba-testsuite 2:4.20.4+dfsg-1ubuntu1 Oct 10, 2023
samba-vfs-ceph · Ubuntu 25.04 (plucky) 2:4.20.4+dfsg-1ubuntu1 samba-vfs-ceph 2:4.20.4+dfsg-1ubuntu1 Oct 10, 2023
samba-vfs-glusterfs · Ubuntu 25.04 (plucky) 2:4.20.4+dfsg-1ubuntu1 samba-vfs-glusterfs 2:4.20.4+dfsg-1ubuntu1 Oct 10, 2023
samba-vfs-modules · Ubuntu 20.04 LTS (focal) 2:4.15.13+dfsg-0ubuntu0.20.04.6 samba-vfs-modules 2:4.15.13+dfsg-0ubuntu0.20.04.6 Oct 9, 2023
samba-vfs-modules · Ubuntu 22.04.1 LTS (jammy) 2:4.15.13+dfsg-0ubuntu1.5 samba-vfs-modules 2:4.15.13+dfsg-0ubuntu1.5 Oct 9, 2023
samba-vfs-modules · Ubuntu 24.04.5 LTS (noble) 2:4.18.6+dfsg-1ubuntu2.1 samba-vfs-modules 2:4.18.6+dfsg-1ubuntu2.1 Oct 9, 2023
samba-vfs-modules · Ubuntu 24.10 (oracular) 2:4.19.5+dfsg-4ubuntu9 samba-vfs-modules 2:4.19.5+dfsg-4ubuntu9 Oct 10, 2023
samba-vfs-modules · Ubuntu 25.04 (plucky) 2:4.20.4+dfsg-1ubuntu1 samba-vfs-modules 2:4.20.4+dfsg-1ubuntu1 Oct 10, 2023
samba-vfs-modules-extra · Ubuntu 24.10 (oracular) 2:4.19.5+dfsg-4ubuntu9 samba-vfs-modules-extra 2:4.19.5+dfsg-4ubuntu9 Oct 10, 2023
samba-vfs-modules-extra · Ubuntu 25.04 (plucky) 2:4.20.4+dfsg-1ubuntu1 samba-vfs-modules-extra 2:4.20.4+dfsg-1ubuntu1 Oct 10, 2023
smbclient · Ubuntu 20.04 LTS (focal) 2:4.15.13+dfsg-0ubuntu0.20.04.6 smbclient 2:4.15.13+dfsg-0ubuntu0.20.04.6 Oct 9, 2023
smbclient · Ubuntu 22.04.1 LTS (jammy) 2:4.15.13+dfsg-0ubuntu1.5 smbclient 2:4.15.13+dfsg-0ubuntu1.5 Oct 9, 2023
smbclient · Ubuntu 24.04.5 LTS (noble) 2:4.18.6+dfsg-1ubuntu2.1 smbclient 2:4.18.6+dfsg-1ubuntu2.1 Oct 9, 2023
smbclient · Ubuntu 24.10 (oracular) 2:4.19.5+dfsg-4ubuntu9 smbclient 2:4.19.5+dfsg-4ubuntu9 Oct 10, 2023
smbclient · Ubuntu 25.04 (plucky) 2:4.20.4+dfsg-1ubuntu1 smbclient 2:4.20.4+dfsg-1ubuntu1 Oct 10, 2023
winbind · Ubuntu 20.04 LTS (focal) 2:4.15.13+dfsg-0ubuntu0.20.04.6 winbind 2:4.15.13+dfsg-0ubuntu0.20.04.6 Oct 9, 2023
winbind · Ubuntu 22.04.1 LTS (jammy) 2:4.15.13+dfsg-0ubuntu1.5 winbind 2:4.15.13+dfsg-0ubuntu1.5 Oct 9, 2023
winbind · Ubuntu 24.04.5 LTS (noble) 2:4.18.6+dfsg-1ubuntu2.1 winbind 2:4.18.6+dfsg-1ubuntu2.1 Oct 9, 2023
winbind · Ubuntu 24.10 (oracular) 2:4.19.5+dfsg-4ubuntu9 winbind 2:4.19.5+dfsg-4ubuntu9 Oct 10, 2023
winbind · Ubuntu 25.04 (plucky) 2:4.20.4+dfsg-1ubuntu1 winbind 2:4.20.4+dfsg-1ubuntu1 Oct 10, 2023

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.