Advisory
GHSA-2865-hh9g-w894
Also known as: BIT-aspnet-core-2025-24070, CVE-2025-24070
Summary
Microsoft Security Advisory CVE-2025-24070: .NET Elevation of Privilege Vulnerability
Details
Microsoft Security Advisory CVE-2025-24070: .NET Elevation of Privilege Vulnerability
Executive summary
Microsoft is releasing this security advisory to provide information about a vulnerability in ASP.NET Core 9.0, ASP.NET Core 8.0, ASP.NET Core 6.0, and ASP.NET Core 2.3. This advisory also provides guidance on what developers can do to update their applications to address this vulnerability.
A vulnerability exists in ASP.NET Core applications calling RefreshSignInAsync with an improperly authenticated user parameter that could allow an attacker to sign into another user's account, resulting in Elevation of Privilege.
Announcement
Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/348
Mitigation factors
Microsoft has not identified any mitigating factors for this vulnerability.
Affected software
- Any ASP.NET Core 9.0 application running on ASP.NET Core 9.0.2 or earlier.
- Any ASP.NET Core application running on ASP.NET Core 8.0.13 or earlier.
- Any ASP.NET Core application running on ASP.NET Core 6.0.36 or earlier.
- Any ASP.NET Core 2.x application consuming the package Microsoft.AspNetCore.Identity version 2.3.0 or earlier.
Affected Packages
The vulnerability affects any Microsoft .NET Core project if it uses any of affected packages versions listed below
| Package name | Affected version | Patched version |
| --- | --- | --- |
| Microsoft.AspNetCore.Identity | 2.3.0 | 2.3.1 |
ASP.NET Core 9
| Package name | Affected version | Patched version |
| --- | --- | --- |
| Microsoft.AspNetCore.App.Runtime.linux-arm | >= 9.0.0, <= 9.0.2 | 9.0.3 |
| Microsoft.AspNetCore.App.Runtime.linux-arm64 | >= 9.0.0, <= 9.0.2 | 9.0.3 |
| Microsoft.AspNetCore.App.Runtime.linux-musl-arm | >= 9.0.0, <= 9.0.2 | 9.0.3 |
| Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | >= 9.0.0, <= 9.0.2 | 9.0.3 |
| Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | >= 9.0.0, <= 9.0.2 | 9.0.3 |
| Microsoft.AspNetCore.App.Runtime.linux-x64 | >= 9.0.0, <= 9.0.2 | 9.0.3 |
| Microsoft.AspNetCore.App.Runtime.osx-arm64 | >= 9.0.0, <= 9.0.2 | 9.0.3 |
| Microsoft.AspNetCore.App.Runtime.osx-x64 | >= 9.0.0, <= 9.0.2 | 9.0.3 |
| Microsoft.AspNetCore.App.Runtime.win-arm | >= 9.0.0, <= 9.0.2 | 9.0.3 |
| Microsoft.AspNetCore.App.Runtime.win-arm64 | >= 9.0.0, <= 9.0.2 | 9.0.3 |
| Microsoft.AspNetCore.App.Runtime.win-x64 | >= 9.0.0, <= 9.0.2 | 9.0.3 |
| Microsoft.AspNetCore.App.Runtime.win-x86 | >= 9.0.0, <= 9.0.2 | 9.0.3 |
ASP.NET Core 8
| Package name | Affected version | Patched version |
| --- | --- | --- |
| Microsoft.AspNetCore.App.Runtime.linux-arm | >= 8.0.0, <= 8.0.13 | 8.0.14 |
| Microsoft.AspNetCore.App.Runtime.linux-arm64 | >= 8.0.0, <= 8.0.13 | 8.0.14 |
| Microsoft.AspNetCore.App.Runtime.linux-musl-arm | >= 8.0.0, <= 8.0.13 | 8.0.14 |
| Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | >= 8.0.0, <= 8.0.13 | 8.0.14 |
| Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | >= 8.0.0, <= 8.0.13 | 8.0.14 |
| Microsoft.AspNetCore.App.Runtime.linux-x64 | >= 8.0.0, <= 8.0.13 | 8.0.14 |
| Microsoft.AspNetCore.App.Runtime.osx-arm64 | >= 8.0.0, <= 8.0.13 | 8.0.14 |
| Microsoft.AspNetCore.App.Runtime.osx-x64 | >= 8.0.0, <= 8.0.13 | 8.0.14 |
| Microsoft.AspNetCore.App.Runtime.win-arm | >= 8.0.0, <= 8.0.13 | 8.0.14 |
| Microsoft.AspNetCore.App.Runtime.win-arm64 | >= 8.0.0, <= 8.0.13 | 8.0.14 |
| Microsoft.AspNetCore.App.Runtime.win-x64 | >= 8.0.0, <= 8.0.13 | 8.0.14 |
| Microsoft.AspNetCore.App.Runtime.win-x86 | >= 8.0.0, <= 8.0.13 | 8.0.14 |
ASP.NET Core 6
| Package name | Affected version | Patched version |
| --- | --- | --- |
| Microsoft.AspNetCore.App.Runtime.linux-arm | >= 6.0.0, <= 6.0.36 | none |
| Microsoft.AspNetCore.App.Runtime.linux-arm64 | >= 6.0.0, <= 6.0.36 | none |
| Microsoft.AspNetCore.App.Runtime.linux-musl-arm | >= 6.0.0, <= 6.0.36 | none |
| Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | >= 6.0.0, <= 6.0.36 | none |
| Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | >= 6.0.0, <= 6.0.36 | none |
| Microsoft.AspNetCore.App.Runtime.linux-x64 | >= 6.0.0, <= 6.0.36 | none |
| Microsoft.AspNetCore.App.Runtime.osx-arm64 | >= 6.0.0, <= 6.0.36 | none |
| Microsoft.AspNetCore.App.Runtime.osx-x64 | >= 6.0.0, <= 6.0.36 | none |
| Microsoft.AspNetCore.App.Runtime.win-arm | >= 6.0.0, <= 6.0.36 | none |
| Microsoft.AspNetCore.App.Runtime.win-arm64 | >= 6.0.0, <= 6.0.36 | none |
| Microsoft.AspNetCore.App.Runtime.win-x64 | >= 6.0.0, <= 6.0.36 | none |
| Microsoft.AspNetCore.App.Runtime.win-x86 | >= 6.0.0, <= 6.0.36 | none |
Severity
High Basis: The source's own band: HIGH
Dates
- Published
- 2025-03-11 19:24 UTC
- Modified
- 2025-10-23 20:17 UTC
Affected packages and fixes
| Package | Affected | Fix |
|---|---|---|
| Microsoft.AspNetCore.Identity | introduced 2.3.0, fixed 2.3.1 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-arm | introduced 9.0.0, fixed 9.0.3 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-arm | introduced 8.0.0, fixed 8.0.14 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-arm64 | introduced 9.0.0, fixed 9.0.3 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-arm64 | introduced 8.0.0, fixed 8.0.14 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-musl-arm | introduced 9.0.0, fixed 9.0.3 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-musl-arm | introduced 8.0.0, fixed 8.0.14 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | introduced 9.0.0, fixed 9.0.3 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | introduced 8.0.0, fixed 8.0.14 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | introduced 9.0.0, fixed 9.0.3 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | introduced 8.0.0, fixed 8.0.14 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-x64 | introduced 9.0.0, fixed 9.0.3 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-x64 | introduced 8.0.0, fixed 8.0.14 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.osx-arm64 | introduced 9.0.0, fixed 9.0.3 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.osx-arm64 | introduced 8.0.0, fixed 8.0.14 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.osx-x64 | introduced 9.0.0, fixed 9.0.3 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.osx-x64 | introduced 8.0.0, fixed 8.0.14 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.win-arm | introduced 8.0.0, fixed 8.0.14 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.win-arm | introduced 9.0.0, fixed 9.0.3 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.win-arm64 | introduced 9.0.0, fixed 9.0.3 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.win-arm64 | introduced 8.0.0, fixed 8.0.14 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.win-x64 | introduced 9.0.0, fixed 9.0.3 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.win-x64 | introduced 8.0.0, fixed 8.0.14 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.win-x86 | introduced 8.0.0, fixed 8.0.14 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.win-x86 | introduced 9.0.0, fixed 9.0.3 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-arm | introduced 6.0.0, last affected 6.0.36 | No fixed version is listed. |
| Microsoft.AspNetCore.App.Runtime.linux-arm64 | introduced 6.0.0, last affected 6.0.36 | No fixed version is listed. |
| Microsoft.AspNetCore.App.Runtime.linux-musl-arm | introduced 6.0.0, last affected 6.0.36 | No fixed version is listed. |
| Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | introduced 6.0.0, last affected 6.0.36 | No fixed version is listed. |
| Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | introduced 6.0.0, last affected 6.0.36 | No fixed version is listed. |
| Microsoft.AspNetCore.App.Runtime.osx-arm64 | introduced 6.0.0, last affected 6.0.36 | No fixed version is listed. |
| Microsoft.AspNetCore.App.Runtime.osx-x64 | introduced 6.0.0, last affected 6.0.36 | No fixed version is listed. |
| Microsoft.AspNetCore.App.Runtime.win-arm | introduced 6.0.0, last affected 6.0.36 | No fixed version is listed. |
| Microsoft.AspNetCore.App.Runtime.win-arm64 | introduced 6.0.0, last affected 6.0.36 | No fixed version is listed. |
| Microsoft.AspNetCore.App.Runtime.win-x64 | introduced 6.0.0, last affected 6.0.36 | No fixed version is listed. |
| Microsoft.AspNetCore.App.Runtime.win-x86 | introduced 6.0.0, last affected 6.0.36 | No fixed version is listed. |
| Microsoft.AspNetCore.App.Runtime.linux-x64 | introduced 6.0.0, last affected 6.0.36 | No fixed version is listed. |
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Links
Source
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0