CVE-2021-42306
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
-
CWE-522: Insufficiently Protected Credentials
The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.
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
- T1021.002: SMB/Windows Admin Shares
- T1078: Valid Accounts
- T1110.004: Credential Stuffing
- T1114.002: Remote Email Collection
- T1133: External Remote Services
- T1543: Create or Modify System Process
- T1550.002: Pass the Hash
- T1550.003: Pass the Ticket
- T1552.004: Private Keys
- T1558: Steal or Forge Kerberos Tickets
- T1558.003: Kerberoasting
References
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-42306
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-42306
Related at Berigo
Articles
-
A backdoor built from ordinary Windows tools keeps taking new documents
Same product
2026-09-26
On 21 September 2026 Securonix described a backdoor it calls TASK#STOMP, assembled from Windows Script Host, PowerShell and the Task Scheduler. It se…
-
New malware looks up its command server in a Polygon smart contract
Same product
2026-09-26
Blackpoint has found ChainScript, a Node.js remote access trojan spread through fake installers for Spotify, Zoom and Teams. Rather than trusting the…
-
Invisible characters hidden inside words carry phishing past the email filter
Same product
2026-09-26
Microsoft has tracked a finance themed phishing campaign that placed invisible Unicode tag characters inside words such as "funding", so that filters…
-
Phishing as a service steals the session after MFA has been passed
Same product
2026-09-26
CloudSEK has uncovered BigBear 2.0, a phishing service built on Evilginx2 that sits between the user and Microsoft's sign in page and takes the sessi…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.