CVE-2024-23708: Task Hijacking Using startActivityForResults - Phone by Google Example
Summary
CVE-2024-23708: In multiple functions of NotificationManagerService.java, there is a possible way to not show a toast message when a clipboard message has been accessed. Affects platform/frameworks/base across 5 version ranges.
>= 12:0, < 12:2024-05-01
>= 12L:0, < 12L:2024-05-01
>= 13:0, < 13:2024-05-01
>= 14:0, < 14:2024-05-01
>= 14-next:0, < 14-next:2024-05-01
Fixed in 14-next:2024-05-01. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The package under scrutiny is platform/frameworks/base, which is a part of the Android ecosystem. It provides the fundamental functionalities and components for the Android operating system. The vulnerability affects multiple functions in the NotificationManagerService.java file. This vulnerability allows an attacker to bypass the display of a toast message when a clipboard message has been accessed. Exploiting this vulnerability could lead to local escalation of privilege without requiring additional execution privileges. User interaction is not necessary for exploitation.
Vulnerability Detail
The vulnerability arises from a flaw in the NotificationManagerService.java file. It allows an attacker to bypass the display of a toast message when a clipboard message is accessed. This can be exploited to gain local escalation of privilege without needing additional execution privileges. The vulnerability is considered high severity. The affected versions include Android 12, Android 12L, Android 13, and Android 14. The vulnerability has been fixed in the latest versions of the platform/frameworks/base package.
How To Fix
Minimum fixed version
14-next:2024-05-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 vulnerability in the platform/frameworks/base package allows for task hijacking using startActivityForResults. It can lead to local escalation of privilege without requiring additional execution privileges. It is recommended to update the package to the latest version to mitigate the vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for platform/frameworks/base →
FAQ
The impact of this vulnerability is local escalation of privilege, allowing an attacker to gain elevated privileges without additional execution privileges.
No, user interaction is not needed for exploitation of this vulnerability.
The vulnerability affects Android 12, Android 12L, Android 13, and Android 14.
Yes, the vulnerability has been fixed in the latest versions of the platform/frameworks/base package.
You can find more information about this vulnerability in the Open Source Vulnerability database: https://storage.googleapis.com/android-osv/ASB-A-293301736.json
Related vulnerabilities
Recent vulnerabilities recorded for platform/frameworks/base.