CVE-2023-21275: Device reset on cancelling provisioning in ManagedProvisioning
Summary
CVE-2023-21275: In decideCancelProvisioningDialog of AdminIntegratedFlowPrepareActivity.java, there is a possible way to bypass factory reset protections due to a logic error in the code. Affects platform/packages/apps/ManagedProvisioning across 4 version ranges.
>= 12:0, < 12:2023-08-01
>= 12L:0, < 12L:2023-08-01
>= 13:0, < 13:2023-08-01
>= 13-next:0, < 13-next:2023-08-01
Fixed in 13-next:2023-08-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
ManagedProvisioning is an Android package that handles the provisioning process for new devices. It facilitates the setup and configuration of devices by guiding users through the necessary steps. This package is an integral part of the Android ecosystem and is responsible for ensuring a smooth onboarding experience for users.
Vulnerability Detail
The vulnerability (CVE-2023-21275) exists in the decideCancelProvisioningDialog function of the AdminIntegratedFlowPrepareActivity.java file. Due to a logic error in the code, it is possible to bypass factory reset protections when cancelling the provisioning process. This flaw can be exploited locally, leading to an escalation of privilege without requiring additional execution privileges. Notably, user interaction is not necessary for the successful exploitation of this vulnerability.
How To Fix
Minimum fixed version
13-next:2023-08-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
No workaround has been provided for this vulnerability. It is recommended to apply the fix as soon as possible to mitigate the risk of exploitation.
Conclusion
In conclusion, the vulnerability (CVE-2023-21275) in ManagedProvisioning allows for the bypassing of factory reset protections, resulting in a local escalation of privilege. To mitigate this risk, it is crucial to apply the provided fix by updating the affected package. For further assistance or support in addressing this vulnerability, please contact DevNack.com.
See every vulnerability recorded for platform/packages/apps/ManagedProvisioning →
FAQ
ManagedProvisioning is an Android package responsible for guiding users through the setup and configuration process of new devices.
This vulnerability allows an attacker to bypass factory reset protections, leading to a local escalation of privilege.
No, user interaction is not needed for the successful exploitation of this vulnerability.
To fix this vulnerability, update the affected package to the provided fixed version.
No workarounds have been provided for this vulnerability. It is recommended to apply the fix as soon as possible.
Related vulnerabilities
Recent vulnerabilities recorded for platform/packages/apps/ManagedProvisioning.