CVE-2021-39709: PendingIntent hijack vulnerability in SipAccountRegistry.java
Summary
CVE-2021-39709: In sendSipAccountsRemovedNotification of SipAccountRegistry.java, there is a possible permission bypass due to an unsafe PendingIntent. Affects platform/packages/services/Telephony across 2 version ranges.
>= 12:0, < 12:2022-03-01
>= 12L:0, < 12L:2022-03-01
Fixed in 12:2022-03-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/packages/services/Telephony in the Android ecosystem. This package is responsible for handling telephony services on Android devices. It includes various components and APIs for managing SIP accounts, making and receiving calls, and handling telephony-related tasks. The SipAccountRegistry.java file is a part of this package and is responsible for managing SIP accounts. It provides functions for adding, removing, and updating SIP accounts on the device.
Vulnerability Detail
The vulnerability identified as CVE-2021-39709 is a PendingIntent hijack vulnerability in the SipAccountRegistry.java file. Specifically, the issue exists in the sendSipAccountsRemovedNotification function. The vulnerability allows for a possible permission bypass due to an unsafe PendingIntent. This could potentially lead to a local escalation of privilege, where an attacker with user execution privileges could exploit the vulnerability without requiring user interaction. The impact of this vulnerability is significant as it could allow an attacker to gain elevated privileges on the affected device.
How To Fix
Minimum fixed version
12:2022-03-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 CVE-2021-39709 in the SipAccountRegistry.java file of the platform/packages/services/Telephony package poses a significant risk of local privilege escalation. It is crucial to apply the provided fix from the Android Open Source Project and keep the Android operating system up to date to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for platform/packages/services/Telephony →
FAQ
The vulnerability could lead to a local escalation of privilege, allowing an attacker to gain elevated privileges on the affected device.
No, user interaction is not needed for exploitation of this vulnerability.
The severity of this vulnerability is classified as High.
The vulnerability affects versions 12 and 12L of the platform/packages/services/Telephony package.
More information about this vulnerability can be found in the Android Open Source Vulnerability database at: https://storage.googleapis.com/android-osv/ASB-A-208817618.json
Related vulnerabilities
Recent vulnerabilities recorded for platform/packages/services/Telephony.