CVE-2023-4154 Samba: ad dc password exposure to privileged users and rodcs
MediumCVSS 6.5
EPSS 1.4%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/samba(Debian:12) | < 2:4.17.12+dfsg-0+deb12u1 | 2:4.17.12+dfsg-0+deb12u1 |
| debian/samba(Debian:12) | = 2:4.17.10+dfsg-0+deb12u1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.10+dfsg-0+deb12u1~bpo11+1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.11+dfsg-0+deb12u1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.12+dfsg-0+deb12u1~bpo11+1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.8+dfsg-2 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.8+dfsg-2.1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.9+dfsg-0+deb12u1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.9+dfsg-0+deb12u2 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.9+dfsg-0+deb12u3 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.9+dfsg-0+deb12u3~bpo11+1 | No fix listed |
| debian/samba(Debian:13) | < 2:4.19.1+dfsg-1 | 2:4.19.1+dfsg-1 |
| debian/samba(Debian:14) | < 2:4.19.1+dfsg-1 | 2:4.19.1+dfsg-1 |
| redhat enterprise linux | = 6 | No fix listed |
| redhat enterprise linux | = 7 | No fix listed |
| redhat enterprise linux | = 8 | No fix listed |
| redhat enterprise linux | = 9 | No fix listed |
| redhat storage | = 3 | No fix listed |
| Fedora | All versions | No fix listed |
| ubuntu/samba(Ubuntu:22.04) | < 2:4.15.13+dfsg-0ubuntu1.5 | 2:4.15.13+dfsg-0ubuntu1.5 |
| ubuntu/samba(Ubuntu:24.04) | < 2:4.18.6+dfsg-1ubuntu2.1 | 2:4.18.6+dfsg-1ubuntu2.1 |
| samba | >= 4.0.0, < 4.17.12 | 4.17.12 |
| samba | >= 4.18.0, < 4.18.8 | 4.18.8 |
| samba | >= 4.19.0, < 4.19.1 | 4.19.1 |
| alpine/samba(Alpine:v3.18) | >= 4.18.0, < 4.18.8-r0 | 4.18.8-r0 |
Show 6 more
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/samba(Alpine:v3.19) | >= 4.18.0, < 4.18.8-r0 | 4.18.8-r0 |
| alpine/samba(Alpine:v3.20) | >= 4.18.0, < 4.18.8-r0 | 4.18.8-r0 |
| alpine/samba(Alpine:v3.21) | >= 4.18.0, < 4.18.8-r0 | 4.18.8-r0 |
| alpine/samba(Alpine:v3.22) | >= 4.18.0, < 4.18.8-r0 | 4.18.8-r0 |
| alpine/samba(Alpine:v3.23) | >= 4.18.0, < 4.18.8-r0 | 4.18.8-r0 |
| alpine/samba(Alpine:v3.24) | >= 4.18.0, < 4.18.8-r0 | 4.18.8-r0 |
References
- Debian Security Tracker CVE-2023-4154 vendor-advisory
- access.redhat.com third-party-advisory vdb-entry
- RHBZ#2241883 issue-tracking
- bugzilla.samba.org issue-tracking patch
- security.netapp.com
- www.samba.org vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-6425-1 vendor-advisory
- USN-6425-3 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory