CVE-2021-42278: sAMAccountName Spoofing in Microsoft Active Directory Domain Services
- Vendor
- Microsoft Corporation
CVE-2021-42278 is a Security Account Manager account-name validation vulnerability in Microsoft Active Directory Domain Services. Insufficient validation permits a computer account's sAMAccountName to be changed to a domain controller's name without the trailing dollar sign normally associated with computer accounts. This enables account-name spoofing. When chained with the Kerberos account-resolution vulnerability CVE-2021-42287, it forms the noPac attack: an authenticated, low-privileged domain user can obtain a Kerberos service ticket associated with a domain controller account and escalate to effective domain-administrator privileges. Domain takeover is an outcome of the combined vulnerabilities, not account-name spoofing alone.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
The vulnerability undermines Active Directory computer-account identity validation. In the noPac chain with CVE-2021-42287, successful exploitation can give an ordinary domain user effective control of a domain controller and the domain. Follow-on consequences include domain credential extraction through DCSync, unauthorized permission and account changes, lateral movement, persistent access, data theft, and malware or ransomware deployment.
Mitigation
If you can’t patch tonight, do this now.
Restrict ordinary users' ability to join computers to the domain, including reducing MachineAccountQuota where operationally appropriate, and tightly control delegated computer-account creation and modification permissions. This reduces common exploitation paths but does not replace patching, particularly when an attacker already controls a suitable computer account. Monitor computer-account creation and suspicious sAMAccountName changes, especially names resembling domain controllers without a trailing dollar sign, and correlate these changes with unusual Kerberos ticket requests.
Remediation
Patch, then assume compromise.
Apply Microsoft's security updates addressing CVE-2021-42278 and CVE-2021-42287 to every domain controller, preferably through current supported cumulative updates. Microsoft initially released fixes on November 9, 2021. Follow Microsoft's Active Directory SAM hardening guidance and the applicable deployment and enforcement guidance for CVE-2021-42287. Do not leave individual domain controllers unpatched, as they can preserve an exploitable path.
Exploits
7 exploits validated by Mallory's analysis. Hidden: 5 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-42278 exploited in the wild?
- Yes. As of Nov 9, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Apr 11, 2022.
- Is there a public exploit for CVE-2021-42278?
- Yes. Mallory tracks 7 public exploits or proofs of concept for CVE-2021-42278, the earliest disclosed Dec 11, 2021.
- Is there a patch for CVE-2021-42278?
- Apply Microsoft's security updates addressing CVE-2021-42278 and CVE-2021-42287 to every domain controller, preferably through current supported cumulative updates. Microsoft initially released fixes on November 9, 2021.
- What products are affected by CVE-2021-42278?
- Microsoft Corporation Windows Server 2004, Microsoft Corporation Windows Server 2008, Microsoft Corporation Windows Server 2008 R2, Microsoft Corporation Windows Server 2008 Sp2, Microsoft Corporation Windows Server 2012, and 5 more.
- How severe is CVE-2021-42278?
- CVE-2021-42278 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 73.3% (99th percentile) as of Nov 9, 2026.
Recent activity
27 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.