Skip to content
Info disclosure Advisory Intermediate

Microsoft Azure Entra ID OAuth Device Code Grant Information Disclosure Vulnerability

The OAuth Device Code Grant endpoint in Microsoft Azure Entra ID returned error messages that contained sensitive information. An unauthenticated attacker could use these errors to disclose internal organisational information belonging to arbitrary Entra ID tenants.

Nelson William Gamazo Sanchez Follow

Originally disclosed on Zero Day Initiative

Medium 5.8 View original

This vulnerability allows remote attackers to disclose sensitive information on affected installations of Microsoft Azure. Authentication is not required to exploit this vulnerability.

Nelson William Gamazo Sanchez of TrendAI Research, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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 unauthenticated attacker could disclose internal organisational information associated with arbitrary Entra ID tenants.

What the attacker needed

No authentication required; access to the device code endpoint

The fix

It was fixed in version 2.1.24394.0.

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 you sign in to an app using a code shown on another device, the service sometimes sends back an error message. Here those error messages included private details about organisations. Anyone could trigger them without logging in, so they could learn things about companies they do not belong to.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.