CVE-2021-39706: CredentialStorage RESET lacks of a clearer description/permission
Summary
CVE-2021-39706: In onResume of CredentialStorage.java, there is a possible way to cleanup content of credentials storage due to a missing permission check. Affects platform/packages/apps/Settings across 4 version ranges.
>= 10:0, < 10:2022-03-01
>= 11:0, < 11:2022-03-01
>= 12:0, < 12:2022-03-01
>= 12L:0, < 12L:2022-03-01
Fixed in 10: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/apps/Car/Settings in the Android ecosystem. This package is responsible for managing the settings related to the Car application. It provides a user interface for configuring various car-related features and preferences. The CredentialStorage component within this package is responsible for storing and managing sensitive credentials used by the Car application.
Vulnerability Detail
In the onResume function of CredentialStorage.java, there is a vulnerability that allows unauthorized cleanup of the content of the credentials storage. This vulnerability arises due to a missing permission check. An attacker with local access to the device can exploit this vulnerability to escalate their privileges without requiring any additional execution privileges. However, user interaction is necessary for the exploitation of this vulnerability. If successfully exploited, an attacker could gain unauthorized access to sensitive credentials stored by the Car application, potentially leading to further security breaches or unauthorized actions.
How To Fix
Minimum fixed version
10: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. It is recommended to apply the provided fix as soon as possible.
Conclusion
In conclusion, the CredentialStorage component in the platform/packages/apps/Car/Settings package of the Android ecosystem is vulnerable to an escalation of privilege attack. This vulnerability can be exploited by an attacker with local access to the device, leading to unauthorized access to sensitive credentials. It is crucial to apply the provided fix and update the affected package to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for platform/packages/apps/Settings →
FAQ
This vulnerability allows an attacker with local access to the device to escalate their privileges and gain unauthorized access to sensitive credentials stored by the Car application.
Yes, user interaction is necessary for the successful exploitation of this vulnerability.
Versions 10, 11, 12, and 12L of the Android ecosystem are affected by this vulnerability.
The fix for this vulnerability can be found at: https://android.googlesource.com/platform/packages/apps/Car/Settings/+/6a6489935d203715a755b21b374e1e3b3085aa3f
This vulnerability is classified as High severity.
Related vulnerabilities
Recent vulnerabilities recorded for platform/packages/apps/Settings.