Improper Export of Android Application Components Affecting microsoft.identity.client package, versions [4.48.0,4.59.1) [4.60.0,4.60.3)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-DOTNET-MICROSOFTIDENTITYCLIENT-6615953
  • published 17 Apr 2024
  • disclosed 16 Apr 2024
  • credit Unknown

How to fix?

Upgrade Microsoft.Identity.Client to version 4.59.1, 4.60.3 or higher.

Overview

Affected versions of this package are vulnerable to Improper Export of Android Application Components in AuthenticationAgentActivity.cs, which can allow denial of service to applications on the same device using MSAL.NET for authentication. A malicious application installed by the victim can block the victim from authenticating to those legitimate applications.

Note: Only Xamarin Android and .NET Android (MAUI) applications are vulnerable.

Workaround

This vulnerability can be avoided by setting android:exported to "false" in the microsoft.identity.client.AuthenticationAgentActivity config.

References

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
2.8 low
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    Low