In onUidStateChanged of AppOpsService.java, there is a possible way to access location without a visible indicator 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.
{
"fixes": [
"https://android.googlesource.com/platform/frameworks/base/+/f14e212d82b32053d151eedf97ac59a4b5b18369"
],
"severity": "High",
"spl": "2022-03-01",
"vanir_signatures": [
{
"deprecated": false,
"signature_version": "v1",
"id": "ASB-A-208662370-acba7904",
"digest": {
"length": 1235.0,
"function_hash": "315538145376716360253371471486438683231"
},
"source": "https://android.googlesource.com/platform/frameworks/base/+/f14e212d82b32053d151eedf97ac59a4b5b18369",
"signature_type": "Function",
"target": {
"file": "services/core/java/com/android/server/appop/AppOpsService.java",
"function": "onUidStateChanged"
}
},
{
"deprecated": false,
"signature_version": "v1",
"id": "ASB-A-208662370-ae70cc6f",
"digest": {
"line_hashes": [
"37134809959087956661517944958170528644",
"328764706330746749091075703301307103179",
"6457097028563598592615406195549245715"
],
"threshold": 0.9
},
"source": "https://android.googlesource.com/platform/frameworks/base/+/f14e212d82b32053d151eedf97ac59a4b5b18369",
"signature_type": "Line",
"target": {
"file": "services/core/java/com/android/server/appop/AppOpsService.java"
}
}
],
"types": [
"EoP"
]
}
{
"fixes": [
"https://android.googlesource.com/platform/frameworks/base/+/2623d2792bb56bd81cfeec0430cb0c024ddaf684"
],
"severity": "High",
"spl": "2022-03-01",
"vanir_signatures": [
{
"deprecated": false,
"signature_version": "v1",
"id": "ASB-A-208662370-0602e1fe",
"digest": {
"length": 1235.0,
"function_hash": "315538145376716360253371471486438683231"
},
"source": "https://android.googlesource.com/platform/frameworks/base/+/2623d2792bb56bd81cfeec0430cb0c024ddaf684",
"signature_type": "Function",
"target": {
"file": "services/core/java/com/android/server/appop/AppOpsService.java",
"function": "onUidStateChanged"
}
},
{
"deprecated": false,
"signature_version": "v1",
"id": "ASB-A-208662370-73172252",
"digest": {
"line_hashes": [
"37134809959087956661517944958170528644",
"328764706330746749091075703301307103179",
"6457097028563598592615406195549245715"
],
"threshold": 0.9
},
"source": "https://android.googlesource.com/platform/frameworks/base/+/2623d2792bb56bd81cfeec0430cb0c024ddaf684",
"signature_type": "Line",
"target": {
"file": "services/core/java/com/android/server/appop/AppOpsService.java"
}
}
],
"types": [
"EoP"
]
}