In onNullBinding of ManagedServices.java, there is a possible permission bypass due to an incorrectly unbound service. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.
{
"severity": "Moderate",
"spl": "2021-12-01",
"vanir_signatures": [
{
"id": "PUB-A-192475653-6569ac77",
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/frameworks/base/+/aaf8e1f3f4873756d9752c6abd52346551a03dd3",
"signature_type": "Function",
"target": {
"file": "services/core/java/com/android/server/notification/ManagedServices.java",
"function": "onNullBinding"
},
"digest": {
"function_hash": "238774345248562580172264236141630084402",
"length": 167.0
},
"deprecated": false
},
{
"signature_version": "v1",
"id": "PUB-A-192475653-679563a5",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "services/core/java/com/android/server/notification/ManagedServices.java",
"function": "registerServiceLocked"
},
"digest": {
"function_hash": "237475718620824192536635296691531044694",
"length": 3460.0
},
"source": "https://android.googlesource.com/platform/frameworks/base/+/aaf8e1f3f4873756d9752c6abd52346551a03dd3"
},
{
"id": "PUB-A-192475653-bfddd2df",
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/frameworks/base/+/aaf8e1f3f4873756d9752c6abd52346551a03dd3",
"signature_type": "Line",
"target": {
"file": "services/core/java/com/android/server/notification/ManagedServices.java"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"100972045598536424117676405704869172807",
"321497472492031242723487439288624158482",
"338712200486368850583931550925437878257",
"337793588728295501160877314336902200538"
]
},
"deprecated": false
}
],
"fixes": [
"https://android.googlesource.com/platform/frameworks/base/+/aaf8e1f3f4873756d9752c6abd52346551a03dd3"
],
"types": [
"EoP"
]
}