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-2020-25720

CVE-2020-25720: Samba Privilege Escalation Vulnerability

CVE-2020-25720 is a privilege escalation vulnerability in Samba Active Directory where delegated administrators can modify security-sensitive attributes. This article covers technical details, affected versions, and mitigation.

Published: March 4, 2026

CVE-2020-25720 Overview

A privilege escalation vulnerability was discovered in Samba where a delegated administrator with permission to create objects in Active Directory can write to all attributes of the newly created object, including security-sensitive attributes, even after the object's creation. This issue occurs because the administrator owns the object due to the lack of an Access Control List (ACL) at the time of creation and is later recognized as the 'creator owner.' The retained significant rights of the delegated administrator may not be well understood, potentially leading to unintended privilege escalation or security risks.

Critical Impact

Delegated administrators can retain elevated privileges over created Active Directory objects, potentially allowing unauthorized modification of security-sensitive attributes and privilege escalation within Samba-based Active Directory environments.

Affected Products

  • Samba (Active Directory Domain Controller mode)
  • Samba-based Active Directory implementations
  • Systems utilizing Samba AD delegation features

Discovery Timeline

  • 2024-11-17 - CVE-2020-25720 published to NVD
  • 2024-11-18 - Last updated in NVD database

Technical Details for CVE-2020-25720

Vulnerability Analysis

This vulnerability resides in how Samba handles Access Control Lists (ACLs) during Active Directory object creation. When a delegated administrator creates an object in Active Directory, the newly created object lacks a properly defined ACL at the moment of instantiation. As a result, the creating administrator is automatically designated as the object owner and recognized as the "creator owner."

The core issue stems from the fact that the delegated administrator retains significant write permissions to all attributes of the created object, including security-sensitive attributes that should normally be restricted. This behavior persists even after the initial object creation phase is complete, which violates the principle of least privilege that should govern delegated administrative access.

The vulnerability is particularly concerning because delegated administrators are typically granted limited permissions for specific administrative tasks. The unintended retention of broad write access to security-sensitive attributes can be exploited to escalate privileges or modify critical security configurations within the Active Directory environment.

Root Cause

The root cause is classified under CWE-264 (Permissions, Privileges, and Access Controls). The vulnerability exists because Samba fails to properly restrict the permissions granted to delegated administrators after object creation. Specifically, the lack of an ACL at the time of object creation causes the delegated administrator to be assigned as the "creator owner," which grants persistent elevated privileges that extend beyond the intended scope of delegation.

Attack Vector

An attacker with delegated administrator privileges can exploit this vulnerability through the network without user interaction. The attack requires low privileges (delegated admin access) but has high complexity due to the specific conditions required. The exploitation scenario involves:

  1. An attacker obtains or already possesses delegated administrator credentials with object creation rights
  2. The attacker creates a new Active Directory object (user, group, or computer)
  3. Due to the missing ACL during creation, the attacker becomes the "creator owner"
  4. The attacker then modifies security-sensitive attributes of the created object
  5. These modifications can include setting elevated group memberships, modifying security identifiers, or altering access control settings

The vulnerability allows modification of attributes that should be protected by proper ACL enforcement, potentially enabling lateral movement or privilege escalation within the domain.

Detection Methods for CVE-2020-25720

Indicators of Compromise

  • Unusual attribute modifications on recently created Active Directory objects by delegated administrators
  • Changes to security-sensitive attributes (such as userAccountControl, memberOf, or servicePrincipalName) on objects created by non-Domain Admin accounts
  • Audit logs showing delegated administrators modifying attributes beyond their intended scope
  • Unexpected changes to group memberships or security descriptors on newly created objects

Detection Strategies

  • Enable and monitor Active Directory object creation and modification audit logs for delegated administrator accounts
  • Implement security monitoring rules to detect when delegated administrators modify security-sensitive attributes on objects they created
  • Review Active Directory ACLs periodically to identify objects where creator owners have excessive permissions
  • Deploy endpoint detection solutions to monitor Samba Domain Controller activities for privilege escalation patterns

Monitoring Recommendations

  • Configure Samba audit logging to capture all object creation and attribute modification events
  • Implement SIEM rules to correlate delegated administrator activity with security-sensitive attribute changes
  • Monitor for deviations from normal delegated administrator behavior patterns using baseline analysis
  • Enable verbose logging on Samba AD DC servers to track ACL assignments during object lifecycle

How to Mitigate CVE-2020-25720

Immediate Actions Required

  • Review all delegated administrator accounts and their current permissions within Active Directory
  • Audit recently created objects to verify their ACLs are properly configured and no unauthorized modifications have occurred
  • Consider temporarily restricting object creation privileges for delegated administrators until patches are applied
  • Implement additional monitoring on delegated administrator accounts to detect potential exploitation attempts

Patch Information

Organizations should monitor the Red Hat CVE-2020-25720 Advisory and the Red Hat Bug Report #2305954 for updates on available patches and fixes. Apply vendor-supplied security updates as soon as they become available for your Samba installation.

Workarounds

  • Manually review and correct ACLs on all objects created by delegated administrators to remove excessive permissions
  • Implement post-creation scripts that automatically apply restrictive ACLs to newly created objects
  • Reduce the scope of delegation by limiting which object types delegated administrators can create
  • Consider using separate service accounts with tightly scoped permissions rather than broad delegated admin accounts
  • Implement organizational units (OUs) with explicit deny ACEs to limit the impact of creator owner permissions
bash
# Configuration example - Review delegated admin permissions
# Use samba-tool to audit object permissions
samba-tool delegation show <delegation-name>

# Review ACLs on specific objects
samba-tool dsacl get --objectdn="CN=TestUser,CN=Users,DC=domain,DC=local"

# Consider implementing delegation with explicit deny for sensitive attributes
# Consult Samba documentation for proper ACL configuration

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechSamba

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.28%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-264
  • Technical References
  • Red Hat CVE-2020-25720 Advisory

  • Red Hat Bug Report #2305954
  • Related CVEs
  • CVE-2020-25718: Samba Privilege Escalation Vulnerability

  • CVE-2020-25717: Samba Privilege Escalation Vulnerability

  • CVE-2025-0620: Samba Authentication Bypass Vulnerability

  • CVE-2024-12087: Samba Rsync Path Traversal Vulnerability
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