CVE-2023-21275: Device reset on cancelling provisioning in ManagedProvisioning

Summary

01/08/2023
Yes i
High
Not published

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 ↓

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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

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 →

Share this vulnerability

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.

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 →

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