Vulnerability · Published Apr 9, 2025 · Assigned by GitHub_M
CVE-2025-32016Microsoft Identity Web Exposes Client Secrets and Certificate Information in Service Logs
Medium 4.7
In plain English
A medium-severity sensitive data in logs in microsoft-identity-web from AzureAD. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 1% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| NuGet | microsoft.identity.abstractions | 9.0.0 | GHSA-rpq8-q44m-2rpg |
| NuGet | microsoft.identity.web | 3.8.2 | GHSA-rpq8-q44m-2rpg |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| AzureAD | microsoft-identity-web | >= 3.2.0, < 3.8.2 |
Weakness: CWE-532 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N