CVE-2023-21254: OneTimePermissionUserManager - Privilege Escalation
- Cve: CVE-2023-21254
- Name: OneTimePermissionUserManager - Privilege Escalation
- Description: In getCurrentState of OneTimePermissionUserManager.java, there is a possible way to hold one-time permissions after the app is being killed due to a logic error in the code. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.
- Impact: Local attackers can escalate privileges without user interaction by retaining permissions after app is killed.
- Remediation: Review and fix the logic error to ensure permissions are revoked upon app termination.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00096
- Epss percentile: 0.00631
- Assignee: [email protected]
- Published at: 2023-07-13T00:15:24Z
- Age in days: 1230
- Modified at: 2026-06-17T05:32:11Z
- Patch available: yes
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-21254
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-noinfo | — |
| CWE-863 | Incorrect Authorization |
References
| Url | Source | Tags |
|---|---|---|
| https://android.googlesource.com/platform/frameworks/base/+/fa539c85503dc63bfb53c76b6f12b3549f14a709 | nvd | Patch |
| https://source.android.com/security/bulletin/2023-07-01 | nvd | Patch, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| google:android | = 13.0 | no | nvd | /v1/products/google/android |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 239
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports