7.5

CVE-2023-4154: Samba: ad dc password exposure to privileged users and rodcs

Modified
AliasesALPINE-CVE-2023-4154UBUNTU-CVE-2023-4154DEBIAN-CVE-2023-4154
Published 07-11-2023Last modified 02-08-2024

Vulnerability summary

CVE-2023-4154 is a high (CVSS 7.5) Out-of-bounds Write vulnerability in samba. EPSS estimates a 1.40% chance of exploitation in the next 30 days, higher than 72.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
1.40%
0%100%
Low · +0.25 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 6

Timeline

  1. 07-11-2023
    PublishedVulnerability first disclosed.
  2. 02-08-2024
    Last modifiedVulnerability information updated.

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

5 scores · 5 sources · 1 version

EPSS trend

Probability

1.40%

Chance of exploitation in the next 30 days

Percentile

73%

Versus all other CVEs

30-day change

Increase +0.25 pp

From 1.15% on 05-10-2026

05-10-202604-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • samba≥ 4.0.0, < 4.18.8-r0
Debian1 product
  • samba< 2:4.17.12+dfsg-0+deb12u1 | < 2:4.19.1+dfsg-1
Samba1 product
  • samba≥ 4.0.0, < 4.17.12 | ≥ 4.18.0, < 4.18.8 | ≥ 4.19.0, < 4.19.1
Ubuntu1 product
  • sambaAll versions (No fix recorded) | < 2:4.15.13+dfsg-0ubuntu0.20.04.6 | < 2:4.15.13+dfsg-0ubuntu1.5 | < 2:4.18.6+dfsg-1ubuntu2.1

4 vendors · 4 products

References

11 links
Show all 11 references