CVE-2020-25720
High · 7.5CVSS
7.5
EPSS
0.5%
Published
Nov 17, 2024
CISA due date
—
Cloudanix analysis
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
- Obtain or compromise credentials for a delegated administrator account with object-creation permissions
- Create a new Active Directory object in a controlled container
- Modify security-sensitive attributes on the newly created object using retained creator-owner rights
- 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
- CVE-2020-1472 An elevation of privilege vulnerability exists when an attacker establishes a vulnerable… Also affects samba
- CVE-2017-15275 Samba before 4.7.3 might allow remote attackers to obtain sensitive information by… Also affects samba
- CVE-2017-14746 Use-after-free vulnerability in Samba 4.x before 4.7.3 allows remote attackers to execute… Also affects samba
- CVE-2017-11103 Heimdal before 7.4 allows remote attackers to impersonate services with Orpheus' Lyre… Also affects samba
- CVE-2017-9461 smbd in Samba before 4.4.10 and 4.5.x before 4.5.6 has a denial of service vulnerability… Also affects samba
- CVE-2017-7494 Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote… Also affects samba
- CVE-2016-2126 Samba version 4.0.0 up to 4.5.2 is vulnerable to privilege elevation due to incorrect… Also affects samba
- CVE-2016-2119 libcli/smb/smbXcli_base.c in Samba 4.x before 4.2.14, 4.3.x before 4.3.11, and 4.4.x… Also affects samba