Buffer overflow in Samba
CVE-2023-4154
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.012 (65.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 66th percentile — 65.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.012 · newest: 0.012 · change: 0.000
Affected products
- Samba
- Fedora
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Storage 3
- Samba — versions 4.19.1, 4.18.8, 4.17.12
Weakness classification (CWE)
References
- access.redhat.com/security/cve/CVE-2023-4154 (Third Party Advisory, vdb-entry)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Issue Tracking)
- bugzilla.samba.org/show_bug.cgi (Patch, Issue Tracking)
- security.netapp.com/advisory/ntap-20231124-0002/
- www.samba.org/samba/security/CVE-2023-4154.html (Vendor Advisory)
Frequently asked questions
- What is CVE-2023-4154?
- CVE-2023-4154 is a high-severity vulnerability in Samba, classified under Out-of-bounds Write. CVSS score: 7.5/10. Published 2023-11-07.
- How severe is CVE-2023-4154?
- High severity. CVSS v3 base score is 7.5 out of 10.