Skip to content
Account takeover Advisory Advanced CVE-2022-30189

Windows Autopilot Device Management and Enrollment Client Spoofing Vulnerability (CVE-2022-30189)

Windows Autopilot devices using TPM-based device authentication could have their Microsoft Account device ticket replayed from one device onto another. An attacker could then join a second, unauthorised device to Azure AD and replace the original device, gaining access to resources protected by device-compliance conditional access.

Dirk-jan Mollema Follow

Originally disclosed on Microsoft

High 6.5 View original

FAQ

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? An attacker would have to send the victim a malicious file that the victim would have to execute.

FAQ

According to the CVSS metric, successful exploitation of this vulnerability could lead to total loss of confidentiality (C:H)? What does that mean for this vulnerability? Exploiting this vulnerability will allow an attacker to access resources that are protected by conditional access policies based solely on device compliance state. For more information, please refer to Scenarios for using Conditional Access with Microsoft Intune - Microsoft Intune | Microsoft Docs .

FAQ

To what scenario is this vulnerability applicable? This vulnerability only affects Azure AD-joined autopilot devices that are also used for conditional access for compliance, and only impacts Autopilot pre-registered devices that are enabled for either self-deploying mode or pre-provisioning mode, either of which utilize TPM-based device authentication instead of user-based credentials/MFA.

FAQ

What is the nature of the spoofing? Microsoft Account (MSA) device ticket playback from one device to another allows a second non-authorized device to perform AAD join and to replace the original device.

Windows Autopilot

Windows Autopilot

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Dirk-jan Mollema. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the device ticket used for TPM-based Autopilot authentication was not bound tightly enough to the original hardware, so it could be replayed on another device.

Impact

An attacker could join an unauthorised device to Azure AD and replace the original device, accessing resources protected by conditional access policies based solely on device compliance state; the text notes the flaw only affects a narrow set of Autopilot configurations.

What the attacker needed

Azure AD-joined Autopilot device; Device uses conditional access for compliance; Self-deploying or pre-provisioning mode; TPM-based device authentication

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When a computer joins a company network, it proves it is a trusted machine using a small digital token stored in a security chip called the TPM. This report says that token could be copied and replayed on a different computer, so the company's systems would wrongly treat the attacker's machine as the approved one. That could let the attacker reach internal resources that are only meant for approved devices.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More by Dirk-jan Mollema

View all

2 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.