CVE-2022-26923
vulnerability analysis and mitigation

Overview

CVE-2022-26923 is an Active Directory Domain Services Elevation of Privilege vulnerability discovered by Oliver Lyak and disclosed on May 10, 2022. The vulnerability affects Active Directory (AD) and Active Directory Certificate Services (AD CS), allowing low-privileged users to escalate privileges through certificate-based authentication. In default installations of AD CS, attackers can exploit this vulnerability by requesting an authentication certificate and using it to impersonate another computer account, potentially leading to a full domain takeover (Semperis Blog).

Technical details

The vulnerability stems from two primary conditions: the ability to change a computer account's dNSHostName to match another computer account, and the presence of certificate templates configured with the SubjectAltRequireDns flag. In default AD installations, any Authenticated User can add machine accounts (limited to 10 by default) and modify their dNSHostName attribute. The vulnerability occurs because certificate-based authentication would not account for a dollar sign ($) at the end of a machine name, allowing certificates to be spoofed in various ways (Semperis Blog).

Impact

The exploitation of this vulnerability can lead to privilege escalation within an AD domain, potentially resulting in full domain takeover. Attackers can target any active computer within AD, including domain controllers, and use the compromised access to perform various malicious actions such as configuring resource-based constrained delegation (RBCD) or accessing services like WinRM, RDP, and IIS (Semperis Blog).

Mitigation and workarounds

Microsoft released patches for this vulnerability in the May 2022 security updates. The patch introduces changes that prevent accounts with Validated write to DNS host name permission from changing the dNSHostName attribute to match another account on patched DCs. Additional mitigations include restricting the ability of low-privileged users to create machine accounts, changing certificate templates from using DNS name to User Principal Name (UPN), and configuring certificate templates to require manager approval for enrollment (KB5014754).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management