CVE-2024-40676: Android AccountManagerService Intent Check Bypass Vulnerability

platform/frameworks/base Updated 02 Oct 2025

Summary

01/10/2024
Yes i
High
Not published

CVE-2024-40676: In checkKeyIntent of AccountManagerService.java, there is a possible way to bypass intent security check and install an unknown app due to a confused deputy. Affects platform/frameworks/base across 5 version ranges.

>= 12:0, < 12:2024-10-01 >= 12L:0, < 12L:2024-10-01 >= 13:0, < 13:2024-10-01 >= 14:0, < 14:2024-10-01 >= 15-next:0, < 15-next:2024-10-01

Fixed in 15-next:2024-10-01. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Android framework's AccountManagerService is responsible for managing user accounts and facilitating authentication processes. It provides a secure interface for applications to access account information while ensuring user privacy and data protection. However, a vulnerability has been identified in the checkKeyIntent method, which could allow malicious applications to bypass security checks, leading to unauthorized app installations.

Vulnerability Detail

In the checkKeyIntent method of AccountManagerService.java, there exists a flaw that enables a potential bypass of the intent security check. This vulnerability arises from a confused deputy problem, where an application could exploit the system to install unknown apps without user consent. The implications of this vulnerability are severe, as it could lead to local escalation of privileges, allowing attackers to execute malicious code with the same permissions as the affected application. No additional execution privileges are required, and user interaction is not necessary for exploitation.

How To Fix

Minimum fixed version

15-next:2024-10-01

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds to mitigate this vulnerability other than updating to the patched version. Users are advised to regularly check for system updates to ensure their devices are secure.

Conclusion

The CVE-2024-40676 vulnerability in the Android AccountManagerService poses a significant risk by allowing unauthorized app installations through a bypass of intent security checks. It is crucial for users and developers to update their systems to the patched version to mitigate this risk. Regular monitoring and updates are essential for maintaining security.

See every vulnerability recorded for platform/frameworks/base →

Share this vulnerability

FAQ

CVE-2024-40676 is a vulnerability in the Android AccountManagerService that allows bypassing intent security checks, potentially leading to unauthorized app installations.

Devices running Android version 12 or later prior to the patch release on 2024-10-01 are at risk. You can check your device's version in the settings under 'About Phone'.

If your device is affected, you should update to the latest version of the Android framework as soon as possible to patch the vulnerability.

No, user interaction is not needed for exploitation, making this vulnerability particularly dangerous.

Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.

Related vulnerabilities

Recent vulnerabilities recorded for platform/frameworks/base.

How To Fix

Minimum fixed version

15-next:2024-10-01

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback