Vulnerabilities

CVE-2021-42306

Medium 4.0 CVSS 2.0

Description

An information disclosure vulnerability manifests when a user or an application uploads unprotected private key data as part of an authentication certificate keyCredential on an Azure AD Application or Service Principal (which is not recommended). This vulnerability allows a user or service in the tenant with application read access to read the private key data that was added to the application. Azure AD addressed this vulnerability by preventing disclosure of any private key values added to the application. Microsoft has identified services that could manifest this vulnerability, and steps that customers should take to be protected. Refer to the FAQ section for more information. For more details on this issue, please refer to the MSRC Blog Entry.

Description as published by the source, in English.

Key facts

Published
2021-11-24
Last modified
2026-08-19
Assigned by
secure@microsoft.com
CVSS vector
AV:N/AC:L/Au:S/C:P/I:N/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
3.1 % higher than 86 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Microsoft Azure Active Directory < 2021-10-30 Affected
Microsoft Azure Active Site Recovery < 2021-11-01 Affected
Microsoft Azure Automation < 2021-10-15 Affected
Microsoft Azure Migrate < 2021-11-02 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1021: Remote Services lateral-movement
  • T1021.002: SMB/Windows Admin Shares lateral-movement
  • T1078: Valid Accounts stealth, persistence, privilege-escalation, initial-access
  • T1110.004: Credential Stuffing credential-access
  • T1114.002: Remote Email Collection collection
  • T1133: External Remote Services persistence, initial-access
  • T1543: Create or Modify System Process persistence, privilege-escalation
  • T1550.002: Pass the Hash lateral-movement
  • T1550.003: Pass the Ticket lateral-movement
  • T1552.004: Private Keys credential-access
  • T1558: Steal or Forge Kerberos Tickets credential-access
  • T1558.003: Kerberoasting credential-access

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities