CVE-2021-42278: Microsoft Active Directory Domain Services Privilege Escalation Vulnerability
Microsoft Active Directory Domain Services contains an unspecified vulnerability that allows for privilege escalation.
CVE-2021-42278 is a privilege escalation vulnerability in Microsoft Active Directory Domain Services. An attacker who can already interact with a domain environment may be able to raise their privileges beyond what their account should allow. Because Active Directory underpins authentication and authorization across most Windows enterprise networks, successful abuse can give an adversary broad control of domain resources. CISA notes that this vulnerability has been used by ransomware operators, which raises the urgency of finding and fixing affected systems.
Public technical detail is limited beyond the classification as an unspecified privilege-escalation issue tied to improper input validation (CWE-20). Defenders should treat the vendor advisory as the authoritative source for exact scope, fixed builds, and any additional indicators.
How it works
The underlying weakness is CWE-20 (Improper Input Validation). In Active Directory Domain Services this class of flaw typically means the service does not adequately check or sanitize certain inputs before acting on them. An attacker who already has a foothold—commonly a low-privileged domain user or a compromised machine account—can supply crafted input that the service processes in a way that elevates the attacker’s rights.
Exact exploitation mechanics are not fully detailed in the public summary; they must be confirmed against the Microsoft advisory. In general, privilege-escalation paths against Domain Services let an adversary move from ordinary user context toward higher-privileged roles (for example domain administrator equivalents), after which they can create accounts, modify group membership, dump credentials, or deploy ransomware. Because the service is central to the domain, the impact is rarely limited to a single host.
Am I affected? How to find it in your systems
Active Directory Domain Services runs on Windows Server domain controllers. Any organization that maintains an on-premises or hybrid AD forest should assume potential exposure until inventory and patch status are verified.
- Inventory all domain controllers (physical, virtual, and RODCs) and record their operating-system builds and installed updates.
- Compare those builds against the fixed versions listed in the Microsoft security update guide for CVE-2021-42278; do not rely on third-party version lists.
- Check configuration baselines for any non-default Domain Services settings that the advisory may call out as increasing risk.
- Review domain-controller security logs and SIEM data for unusual account-creation, group-membership changes, or authentication anomalies that could indicate prior abuse of a privilege-escalation path. Correlate with any known ransomware indicators already present in your environment.
- If you use configuration-management or vulnerability-scanning tools, ensure their AD/Domain Services signatures are current and re-scan after applying updates.
How to remediate
Patch first. Apply the Microsoft updates that address CVE-2021-42278 exactly as directed in the vendor advisory and in CISA’s required action (“Apply updates per vendor instructions”). Test the updates in a representative lab or pilot OU if your change-control process requires it, then roll them out to all domain controllers promptly.
- After patching, verify the expected build or KB numbers are present on every domain controller.
- Reboot domain controllers in a controlled sequence that preserves FSMO role availability and replication health.
- For this class of input-validation privilege-escalation issue, also harden AD hygiene: enforce least-privilege admin tiers, disable or tightly control unconstrained delegation, monitor privileged-group changes, and keep credential-guard and LSA-protection features enabled where supported.
- Confirm that any compensating network or host controls you added earlier are still appropriate once the official fix is in place.
If you can't patch immediately
Until every domain controller is updated, reduce the attack surface and increase detection confidence.
- Segment domain controllers so that only management jump hosts and necessary replication partners can reach them; block unnecessary SMB, LDAP, and RPC exposure from user subnets.
- If a virtual-patching or IDS/IPS signature for this CVE is available from your security vendor, enable it after validating it does not break legitimate Domain Services traffic.
- Temporarily tighten monitoring: alert on anomalous LDAP or SAMR activity, unexpected computer-account creation, and sudden elevation of ordinary user accounts into privileged groups.
- Limit interactive logon and remote-management rights on domain controllers to the smallest possible set of tier-0 administrators.
- Maintain offline, immutable backups of AD and critical systems so recovery remains possible if ransomware is later deployed.
If your data may have been exposed
Actively exploited privilege-escalation vulnerabilities in Active Directory frequently precede ransomware deployment and large-scale data theft. If you have evidence of compromise or simply want to check whether credentials tied to your organization already appear in known breach corpora, run a free exposure scan of your email addresses against published breach data sets and follow your incident-response plan for any confirmed hits.
AICompiled with AI assistance from public sources and published under our editorial standards.