Microsoft Identity Web Exposes Client Secrets and Certificate Information in Service Logs
AzureAD microsoft-identity-web
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Microsoft.Identity.Web NuGet |
|
|
| Microsoft.Identity.Abstractions NuGet |
|
|
AzureAD microsoft-identity-web
| Product | Affected | Fixed in |
|---|---|---|
| Microsoft.Identity.Web NuGet |
|
|
| Microsoft.Identity.Abstractions NuGet |
|
|
Microsoft Identity Web is a library which contains a set of reusable classes used in conjunction with ASP.NET Core for integrating with the Microsoft identity platform (formerly Azure AD v2.0 endpoint) and AAD B2C. This vulnerability affects confidential client applications, including daemons, web apps, and web APIs. Under specific circumstances, sensitive information such as client secrets or certificate details may be exposed in the service logs of these applications. Service logs are intended to be handled securely. Service logs generated at the information level or credential descriptions containing local file paths with passwords, Base64 encoded values, or Client secret. Additionally, logs of services using Base64 encoded certificates or certificate paths with password credential descriptions are also affected if the certificates are invalid or expired, regardless of the log level. Note that these credentials are not usable due to their invalid or expired status. To mitigate this vulnerability, update to Microsoft.Identity.Web 3.8.2 or Microsoft.Identity.Abstractions 9.0.0.
From the CVE record · GitHub_M
Confidential client applications using the affected packages may write client secrets or certificate details to service logs under specific logging and credential-description conditions. Someone with access to those logs could see the information; the input does not specify a network attack, authentication requirement, or user interaction. Invalid or expired certificates can also trigger exposure regardless of log level, though those credentials are not usable.
Teams running confidential client applications should check Microsoft.Identity.Web versions >=3.2.0 <3.8.2 and Microsoft.Identity.Abstractions versions >=7.1.0 <9.0.0.