Missing Permission Check in setNightModeActivated of UiModeManagerService.java Allows Local Privilege Escalation

Missing Permission Check in setNightModeActivated of UiModeManagerService.java Allows Local Privilege Escalation

CVE-2021-0389 · HIGH Severity

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

In setNightModeActivated of UiModeManagerService.java, there is a missing permission check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11Android ID: A-168039904

Learn more about our Cis Benchmark Audit For Google Android.