Skip to content
Access control Advisory Advanced CVE-2021-36949

Microsoft Azure Active Directory Connect Authentication Bypass Vulnerability (CVE-2021-36949)

Azure AD Connect did not properly authenticate connections between the sync server and a domain controller, so an attacker positioned in the middle of that traffic could bypass authentication. With domain user credentials and a man-in-the-middle position, the attacker could exploit this to gain elevated access.

Sagi Sheinfeld Follow

Originally disclosed on Microsoft

High 7.1 View original

FAQ

What should I do to be protected against this vulnerability? In addition to applying the updates in this CVE, you will need to disable NTLM as per the guidance as follows: For Azure Active Directory Connect, see Prerequisites for Azure AD Connect For Azure Active Directory Connect Provisioning Agent, see Prerequisites for Azure AD Connect cloud sync What must an attacker do to exploit this vulnerability The attacker must be able to establish Man-in-the-middle between your Azure AD Connect server and a domain controller. The attacker also needs to possess domain user credentials to be able to exploit this vulnerability.

Microsoft Azure Active Directory Connect

Microsoft Azure Active Directory Connect

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Sagi Sheinfeld with Crowdstrike. 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

Impact

An attacker who can man-in-the-middle the link and holds domain user credentials could bypass authentication; the text does not state the full extent of what they could then do.

What the attacker needed

Man-in-the-middle position on the network; domain user credentials; Azure AD Connect server in scope

The fix

It should be fixed by applying the CVE updates and additionally disabling NTLM as per the vendor guidance for Azure AD Connect and the provisioning agent.

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.

Azure AD Connect is a tool that copies user accounts from a company's own directory server (a domain controller) up to Microsoft's cloud directory. This bug meant the tool did not properly check who it was really talking to on that link. Someone who could sit in the middle of the network traffic, and who already had a normal user login, could abuse that to get further than they should.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.