CVE-2024-40661: Android Permission Module Local Privilege Escalation Vulnerability

Summary

01/11/2024
Yes i
High
Not published

CVE-2024-40661: In mayAdminGrantPermission of AdminRestrictedPermissionsUtils.java, there is a possible way to access the microphone due to a missing permission check. Affects platform/packages/modules/Permission across 5 version ranges.

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

Fixed in 15-next:2024-11-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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Android Permission module is a critical component of the Android operating system, responsible for managing app permissions and ensuring that applications only access the resources they are authorized to use. This module plays a vital role in maintaining user privacy and security by enforcing permission checks. However, a recent vulnerability has been identified that could allow unauthorized access to sensitive features, such as the microphone, due to insufficient permission checks.

Vulnerability Detail

In the mayAdminGrantPermission function of AdminRestrictedPermissionsUtils.java, there exists a flaw that allows for potential access to the device's microphone without proper permission verification. This vulnerability can lead to local escalation of privilege, enabling an attacker to exploit the system without requiring additional execution privileges or user interaction. The issue arises from a missing permission check, which could be exploited by malicious applications or users with administrative access.

How To Fix

Minimum fixed version

15-next:2024-11-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

As a temporary workaround, users can restrict the permissions granted to applications or disable microphone access in the device settings until the patch is applied. Additionally, reviewing and limiting the administrative privileges of applications can help mitigate the risk of exploitation.

Conclusion

The CVE-2024-40661 vulnerability in the Android Permission module poses a significant risk by allowing unauthorized access to the microphone. It is crucial for users and developers to apply the necessary updates to mitigate this risk. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time, ensuring better security for applications.

See every vulnerability recorded for platform/packages/modules/Permission →

Share this vulnerability

FAQ

CVE-2024-40661 is a vulnerability in the Android Permission module that allows unauthorized access to the microphone due to a missing permission check.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which analyzes your gradle.lockfile for vulnerabilities without requiring any signup.

The vulnerability could lead to unauthorized access to the microphone, allowing malicious applications to eavesdrop on users without their consent.

Yes, a patch is available in version 15-next:2024-11-01 of the Android Permission module. Users should update to this version or later.

If immediate updates are not possible, consider restricting app permissions and disabling microphone access in your device settings as a temporary measure.

Related vulnerabilities

Recent vulnerabilities recorded for platform/packages/modules/Permission.

How To Fix

Minimum fixed version

15-next:2024-11-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