CVE-2023-4154

Severity CVSS v4.0:
Pending analysis
Type:
CWE-787 Out-of-bounds Write
Publication date:
07/11/2023
Last modified:
29/12/2023

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* 4.0.0 (including) 4.17.12 (excluding)
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* 4.18.0 (including) 4.18.8 (excluding)
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* 4.19.0 (including) 4.19.1 (excluding)