The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-4154

CVE-2023-4154: Samba DirSync Information Disclosure Flaw

CVE-2023-4154 is an information disclosure flaw in Samba's DirSync control that exposes Active Directory passwords and secrets to privileged users and RODCs. This article covers technical details, affected versions, and mitigations.

Published: February 4, 2026

CVE-2023-4154 Overview

A design flaw was discovered in Samba's DirSync control implementation that exposes passwords and secrets in Active Directory to privileged users and Read-Only Domain Controllers (RODCs). This vulnerability 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.

Critical Impact

Attackers with RODC access or GET_CHANGES rights can extract all domain secrets including the krbtgt key, enabling complete domain compromise through Golden Ticket attacks.

Affected Products

  • Samba (all versions with DirSync control implementation)
  • Systems running Samba as Active Directory Domain Controller
  • Environments utilizing Read-Only Domain Controllers (RODCs)

Discovery Timeline

  • November 7, 2023 - CVE-2023-4154 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-4154

Vulnerability Analysis

This vulnerability represents a design flaw in Samba's implementation of the DirSync control mechanism, which is used for directory synchronization in Active Directory environments. The core issue lies in how Samba handles attribute filtering during replication requests, specifically failing to properly restrict access to sensitive attributes when processing DirSync operations.

In properly configured Active Directory environments, RODCs should only be able to replicate a subset of passwords and secrets based on the Password Replication Policy (PRP). However, due to this design flaw, the DirSync control implementation does not properly enforce these restrictions, allowing RODCs to access all attributes regardless of policy settings.

The vulnerability is compounded by improper error handling that causes the system to "fail open" during error conditions such as memory exhaustion. When the system encounters an out-of-memory situation during attribute filtering, rather than denying access to protected attributes, it grants access by default.

Root Cause

The root cause of this vulnerability is a fundamental design flaw in the DirSync control implementation within Samba. The implementation fails to properly enforce the attribute filtering mechanism that should distinguish between what a full Domain Controller and a Read-Only Domain Controller can access. Additionally, the error handling logic defaults to permissive behavior rather than restrictive when encountering resource constraints or exceptional conditions.

Attack Vector

An attacker can exploit this vulnerability through network access to a Samba Active Directory Domain Controller. The attack requires the attacker to either:

  1. Compromise an RODC or its machine account credentials
  2. Obtain an account with GET_CHANGES extended rights (typically delegated for directory synchronization purposes)

Once these preconditions are met, the attacker can issue DirSync replication requests to extract sensitive attributes including:

  • User password hashes (NTLM and Kerberos keys)
  • The krbtgt account secrets used for Kerberos ticket signing
  • Service account passwords
  • Trust relationships secrets

The extraction of the krbtgt key is particularly severe as it enables the creation of Golden Tickets, granting persistent, nearly undetectable access to all resources in the domain. The fail-open error condition can potentially be triggered by an attacker inducing memory pressure on the target system, lowering the privilege requirements for exploitation.

Detection Methods for CVE-2023-4154

Indicators of Compromise

  • Unusual DirSync replication requests originating from RODC accounts
  • Replication traffic from systems not designated as Domain Controllers
  • Requests for sensitive attributes (such as unicodePwd, supplementalCredentials, currentValue) from non-DC systems
  • Memory exhaustion events on Domain Controllers coinciding with replication activities

Detection Strategies

  • Monitor directory replication traffic for anomalous patterns, particularly requests from RODC accounts for attributes outside their Password Replication Policy
  • Implement logging of DirSync control operations and alert on requests for sensitive attribute classes
  • Configure audit policies to track DS-Replication-Get-Changes and DS-Replication-Get-Changes-All extended right usage
  • Deploy network monitoring to detect unusual LDAP traffic patterns targeting Domain Controllers

Monitoring Recommendations

  • Enable detailed Active Directory replication auditing on all Domain Controllers
  • Implement real-time alerting for replication requests containing sensitive attributes from unexpected sources
  • Monitor resource utilization on Domain Controllers to detect potential memory exhaustion attacks
  • Review RODC Password Replication Policy configurations and verify actual replication behavior matches expected policy

How to Mitigate CVE-2023-4154

Immediate Actions Required

  • Apply the latest Samba security patches from the official Samba releases
  • Review and audit all accounts with GET_CHANGES and GET_CHANGES_ALL extended rights
  • Audit RODC deployments and consider temporary decommissioning until patches are applied
  • Rotate the krbtgt password twice to invalidate any potentially compromised Kerberos tickets
  • Monitor for signs of Golden Ticket or Silver Ticket attacks

Patch Information

Samba has released security patches to address this vulnerability. Administrators should consult the Samba CVE-2023-4154 Security Page for specific version information and download links. The Samba Bug Report #15424 contains additional technical details about the fix.

Additional vendor advisories are available from:

  • Red Hat CVE-2023-4154 Advisory
  • NetApp Security Advisory NTAP-20231124-0002

Workarounds

  • Restrict network access to Domain Controllers using firewall rules to limit replication traffic to known, trusted systems
  • Remove GET_CHANGES extended rights from all accounts except those absolutely required for directory synchronization
  • Implement strict Password Replication Policies on RODCs and regularly audit compliance
  • Consider deploying additional monitoring for Active Directory replication activities until patches can be applied
  • Segment RODC networks from sensitive resources to limit impact of potential compromise
bash
# Audit accounts with replication rights
# Run on Domain Controller to identify principals with GET_CHANGES rights
samba-tool delegation show "Domain Controllers"

# Review RODC Password Replication Policy
samba-tool rodc preload --help

# Rotate krbtgt password (perform twice with 10+ hour gap)
samba-tool user setpassword krbtgt --newpassword="<new-secure-password>"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechSamba

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.31%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-787
  • Technical References
  • Red Hat CVE-2023-4154 Advisory

  • Red Hat Bug Report #2241883

  • NetApp Security Advisory NTAP-20231124-0002
  • Vendor Resources
  • Samba Bug Report #15424

  • Samba CVE-2023-4154 Security Page
  • Related CVEs
  • CVE-2024-12085: Samba Rsync Information Disclosure Flaw

  • CVE-2024-12086: Samba Rsync Information Disclosure Flaw

  • CVE-2023-0614: Samba Information Disclosure Vulnerability

  • CVE-2022-32742: Samba SMB1 Information Disclosure Flaw
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English