CVE-2024-27086
JSON

3.9low

MSAL.NET applications targeting Xamarin Android and .NET Android (MAUI) susceptible to local denial of service

Severity
3.9low CVSS:3.1 by GitHub_M
Exploit likelihood
0.19% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-x674-v45j-fwxw

Description

The MSAL library enabled acquisition of security tokens to call protected APIs. MSAL.NET applications targeting Xamarin Android and .NET Android (e.g., MAUI) using the library from versions 4.48.0 to 4.60.0 are impacted by a low severity vulnerability. A malicious application running on a customer Android device can cause local denial of service against applications that were built using MSAL.NET for authentication on the same device (i.e., prevent the user of the legitimate application from logging in) due to incorrect activity export configuration. MSAL.NET version 4.60.1 includes the fix. As a workaround, a developer may explicitly mark the MSAL.NET activity non-exported.

Affected

Product or packageVersionsReported by
AzureAD microsoft-authentication-library-for-dotnet>= 4.48.0, < 4.59.1, >= 4.60.0, < 4.60.3CVE List
Microsoft.Identity.Client (NuGet)from 4.48.0 before 4.59.1, from 4.60.0 before 4.60.3GitHub Advisory Database

All scores

GitHub_M3.9low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
GitHub3.9low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L

Classification

CWE-863CWE-926

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

The MSAL library enabled acquisition of security tokens to call protected APIs. MSAL.NET applications targeting Xamarin Android and .NET Android (e.g., MAUI) using the library from versions 4.48.0 to 4.60.0 are impacted by a low severity vulnerability. A malicious application running on a customer Android device can cause local denial of service against applications that were built using MSAL.NET for authentication on the same device (i.e., prevent the user of the legitimate application from logging in) due to incorrect activity export configuration. MSAL.NET version 4.60.1 includes the fix. As a workaround, a developer may explicitly mark the MSAL.NET activity non-exported.

GitHub Advisory Database

[!IMPORTANT] ONLY applications targeting Xamarin Android and .NET Android (MAUI) are impacted. All others can safely dismiss this CVE.

Impact

MSAL.NET applications targeting Xamarin Android and .NET Android (e.g., MAUI) using the library from versions 4.48.0 to 4.60.3 (inclusive, except 4.59.1 and 4.60.3) are impacted by a low severity vulnerability.

A malicious application running on a customer Android device can (1) inject HTML/JavaScript in an embedded web view exported by affected applications, or (2) cause local denial of service against applications that were built using MSAL.NET for authentication on the same device (i.e., prevent the user of the legitimate application from logging in) due to incorrect activity export configuration.

Patches

MSAL.NET version 4.60.3 includes the fix. We recommend all users of MSAL.NET that are building public client applications for Android update to the latest version.

Workarounds

We recommend developers update to the latest version of MSAL.NET. If that is not possible, a developer may explicitly mark the MSAL.NET activity non-exported:

<activity android:name="microsoft.identity.client.AuthenticationAgentActivity" android:configChanges="orientation|screenSize" android:exported="false">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="msalYOUR_CLIENT_ID" android:host="auth" />
</intent-filter>
</activity>
References

Refer to MSAL.NET documentation for latest guidance and best practices on configuring client applications using the library.

NVD (es)

La librería MSAL permitió la adquisición de tokens de seguridad para llamar a API protegidas. Las aplicaciones MSAL.NET dirigidas a Xamarin Android y .NET Android (por ejemplo, MAUI) que utilizan la librería desde las versiones 4.48.0 a 4.60.0 se ven afectadas por una vulnerabilidad de gravedad baja. Una aplicación maliciosa que se ejecuta en el dispositivo Android de un cliente puede provocar una denegación de servicio local en aplicaciones creadas utilizando MSAL.NET para autenticación en el mismo dispositivo (es decir, impedir que el usuario de la aplicación legítima inicie sesión) debido a una configuración de exportación de actividad incorrecta. . MSAL.NET versión 4.60.1 incluye la solución. Como workaround, un desarrollador puede marcar explícitamente la actividad de MSAL.NET como no exportada.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-27086 changed 2024-08-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-x674-v45j-fwxw changed 2026-09-10CC-BY-4.0
NVDCVE-2024-27086 changed 2026-06-17Public domain