CVE-2024-0021: Notification listener services enabled in work profile via CompanionDeviceManager#requestNotificationAccess

Summary

01/01/2024
Yes i
High
Not published

CVE-2024-0021: In onCreate of NotificationAccessConfirmationActivity.java, there is a possible way for an app in the work profile to enable notification listener services due to a logic error in the code. Affects platform/packages/apps/Settings across 3 version ranges.

>= 13:0, < 13:2024-01-01 >= 14:0, < 14:2024-01-01 >= 14-next:0, < 14-next:2024-01-01

Fixed in 14-next:2024-01-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 package under scrutiny is platform/packages/apps/Settings in the Android ecosystem. This package is responsible for managing various settings on an Android device. It provides a user interface for configuring system preferences, including network, display, sound, and notification settings. The package is an integral part of the Android operating system and is present on all Android devices.

Vulnerability Detail

The vulnerability exists in the onCreate method of NotificationAccessConfirmationActivity.java within the platform/packages/apps/Settings package. Due to a logic error in the code, an app in the work profile can exploit this vulnerability to enable notification listener services. This can lead to a local escalation of privilege without requiring additional execution privileges. However, user interaction is necessary for the exploitation of this vulnerability. The impact of this vulnerability is a potential compromise of the notification listener services in the work profile, allowing unauthorized access to sensitive information.

How To Fix

Minimum fixed version

14-next:2024-01-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

There is no specific workaround mentioned for this vulnerability.

Conclusion

In conclusion, the platform/packages/apps/Settings package in the Android ecosystem is vulnerable to a logic error that enables notification listener services in the work profile. This vulnerability can lead to a local escalation of privilege. It is recommended to update the package to the fixed version and exercise caution when granting notification listener access to apps in the work profile. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for platform/packages/apps/Settings →

Share this vulnerability

FAQ

The impact of this vulnerability is a potential compromise of the notification listener services in the work profile, allowing unauthorized access to sensitive information.

Yes, user interaction is needed for the exploitation of this vulnerability.

Android versions 13 and 14 are affected by this vulnerability.

Yes, a fix for this vulnerability is available in the platform/packages/apps/Settings package. It is recommended to update to the fixed version.

There are no known instances of this vulnerability being exploited at the moment.

Related vulnerabilities

Recent vulnerabilities recorded for platform/packages/apps/Settings.

How To Fix

Minimum fixed version

14-next:2024-01-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