CVE-2023-4154
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- v3.1•MEDIUM•Score: 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS Trends
Current EPSS score: 1.15%• Percentile: 66%
Techniques & Countermeasures
- CWE-787•Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
Affected Systems
- alpine•samba
≥ 4.0.0, < 4.18.8-r0 | ≥ 4.0.0, < 4.18.8-r0 | ≥ 4.0.0, < 4.18.8-r0 | ≥ 4.0.0, < 4.18.8-r0 | ≥ 4.0.0, < 4.18.8-r0 | ≥ 4.0.0, < 4.18.8-r0 | ≥ 4.0.0, < 4.18.8-r0
- debian•samba
all | < 2:4.17.12+dfsg-0+deb12u1 | < 2:4.19.1+dfsg-1 | < 2:4.19.1+dfsg-1
- samba•samba
≥ 4.0.0, < 4.17.12 | ≥ 4.18.0, < 4.18.8 | ≥ 4.19.0, < 4.19.1
References (7)
- https://access.redhat.com/security/cve/CVE-2023-4154
- https://bugzilla.redhat.com/show_bug.cgi?id=2241883
- https://bugzilla.samba.org/show_bug.cgi?id=15424
- https://security.netapp.com/advisory/ntap-20231124-0002/
- https://www.samba.org/samba/security/CVE-2023-4154.html
- https://security.alpinelinux.org/vuln/CVE-2023-4154
- https://security-tracker.debian.org/tracker/CVE-2023-4154