Cloudanix VulnDB

CVE-2020-25720

High · 7.5

CVSS

7.5

EPSS

0.5%

Published

Nov 17, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A delegated administrator in a Windows domain environment could secretly gain extra control over newly created items, potentially allowing them to take over more of the system than intended.

Exploitation
Remote Authenticated
Attacker needs
Low Privilege
Complexity
High
Impact
Privilege Gain
Component
Application
Class
Privilege Escalation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Delegated Active Directory administrators can modify all attributes (including security-sensitive ones) on objects they create because the objects lack an ACL at creation time and the administrator is granted creator-owner rights.

Why it matters to the business

Organizations face elevated risk of unauthorized privilege escalation within their directory services, which can lead to broader domain compromise and operational disruption if a delegated administrator account is misused or compromised.

How an attack unfolds

An attacker with delegated object-creation rights in Active Directory creates a new object, retains full control via creator-owner privileges, and then modifies security-sensitive attributes to escalate privileges or establish persistence.

How to fix it

Apply the latest Samba updates that enforce proper ACL assignment at object creation time and review delegated administrator permissions to limit unnecessary attribute write rights.

How to confirm the fix worked

Verify Samba version is at or above the patched release, audit Active Directory object creation events for unexpected attribute modifications by delegated accounts, and confirm ACLs are present immediately after object creation.

Typical attack path

  1. Obtain or compromise credentials for a delegated administrator account with object-creation permissions
  2. Create a new Active Directory object in a controlled container
  3. Modify security-sensitive attributes on the newly created object using retained creator-owner rights
  4. Leverage the altered attributes to escalate privileges or expand access within the domain

How to detect it

Review Active Directory event logs for object creation events followed immediately by modifications to sensitive attributes by accounts with delegated rights; look for patterns where creator-owner rights are exercised beyond expected scope.

What your security team should do

  • Prioritize patching all Samba domain controllers and member servers to the latest fixed versions
  • Review and tighten delegated administrator permissions to minimize unnecessary creator-owner rights
  • Enable enhanced auditing of object creation and attribute modification events in Active Directory
  • Monitor for anomalous attribute changes on newly created objects

The record

A vulnerability was found 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 later being 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.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 samba 0 No fix
Debian:12 samba 0 2:4.17.8+dfsg-1
Debian:13 samba 0 2:4.17.8+dfsg-1
SUSE:Linux Enterprise High Availability Extension 15 SP5 samba 0 4.17.9+git.367.dae41ffdd1f-150500.3.5.1
SUSE:Linux Enterprise Module for Basesystem 15 SP5 samba 0 4.17.9+git.367.dae41ffdd1f-150500.3.5.1
Ubuntu:20.04:LTS samba 0 No fix
Ubuntu:22.04:LTS samba 0 No fix
Ubuntu:24.04:LTS samba 0 No fix
Ubuntu:24.10 samba 0 No fix
Ubuntu:Pro:14.04:LTS samba 0 No fix
Ubuntu:Pro:16.04:LTS samba 0 No fix
Ubuntu:Pro:18.04:LTS samba 0 No fix
Ubuntu:Pro:20.04:LTS samba 0 No fix
openSUSE:Leap 15.5 samba 0 4.17.9+git.367.dae41ffdd1f-150500.3.5.1

Related vulnerabilities