In getDefaultSmsPackage of RoleManagerService.java, there is a possible way to get information about the default sms app of a different device user due to a missing permission check. This could lead to local information disclosure with no additional execution privileges needed. User interaction is not needed for exploitation.
{
"spl": "2021-09-01",
"vanir_signatures": [
{
"id": "ASB-A-177927831-3cdd312b",
"target": {
"file": "services/core/java/com/android/server/role/RoleManagerService.java"
},
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/frameworks/base/+/0abccabffee50a3960d0e116651921530c9d20c7",
"signature_type": "Line",
"digest": {
"line_hashes": [
"239331090064650673413593309300806766034",
"337928780611741149121173800763509871368",
"191803898202686235053355730535849549756",
"263416126612021795030949025958055751121"
],
"threshold": 0.9
},
"deprecated": false
},
{
"digest": {
"function_hash": "63133779015042464932094184556174830516",
"length": 202.0
},
"target": {
"function": "getDefaultSmsPackage",
"file": "services/core/java/com/android/server/role/RoleManagerService.java"
},
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/frameworks/base/+/0abccabffee50a3960d0e116651921530c9d20c7",
"signature_type": "Function",
"id": "ASB-A-177927831-ee12b4d2",
"deprecated": false
}
],
"types": [
"ID"
],
"fixes": [
"https://android.googlesource.com/platform/frameworks/base/+/0abccabffee50a3960d0e116651921530c9d20c7"
],
"severity": "High"
}
{
"spl": "2021-09-01",
"vanir_signatures": [
{
"id": "ASB-A-177927831-0682b9dd",
"target": {
"file": "services/core/java/com/android/server/role/RoleManagerService.java"
},
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/frameworks/base/+/cf1bd25a37123624688f9965608a48d362ab4eb0",
"signature_type": "Line",
"digest": {
"line_hashes": [
"239331090064650673413593309300806766034",
"337928780611741149121173800763509871368",
"191803898202686235053355730535849549756",
"263416126612021795030949025958055751121"
],
"threshold": 0.9
},
"deprecated": false
},
{
"id": "ASB-A-177927831-908143a7",
"target": {
"function": "getDefaultSmsPackage",
"file": "services/core/java/com/android/server/role/RoleManagerService.java"
},
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/frameworks/base/+/cf1bd25a37123624688f9965608a48d362ab4eb0",
"signature_type": "Function",
"digest": {
"function_hash": "63133779015042464932094184556174830516",
"length": 202.0
},
"deprecated": false
}
],
"types": [
"ID"
],
"fixes": [
"https://android.googlesource.com/platform/frameworks/base/+/cf1bd25a37123624688f9965608a48d362ab4eb0"
],
"severity": "High"
}