In onCreate of DeviceAdminAdd.java, there is a possible way to mislead a user to activate a device admin app due to improper input validation. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is needed for exploitation.
{
"vanir_signatures": [
{
"digest": {
"length": 7885.0,
"function_hash": "185510248249362450697038729031734614016"
},
"id": "ASB-A-179042963-75fbf9a1",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/80c3f6d4d84f822d1c3f41e6cb55fc05130e2b17",
"target": {
"function": "onCreate",
"file": "src/com/android/settings/DeviceAdminAdd.java"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"201720539603043108077270368258492637360",
"187728728667015442328024877263829196653",
"204565530881555702198690051118787062744",
"201987440295907905062699434381555512809",
"95802276486953204991727250780959896554",
"39223427807298260243062564455646271166",
"15002929399463323564331777972963824475",
"232895617200655273989748996417516968251",
"290549947907584526794242575059646323389",
"13482922567548956538456334789866689536",
"33913379354236455534962601856617475338",
"171403825969341860083045024905166464060"
]
},
"id": "ASB-A-179042963-b7030020",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/80c3f6d4d84f822d1c3f41e6cb55fc05130e2b17",
"target": {
"file": "src/com/android/settings/DeviceAdminAdd.java"
}
},
{
"digest": {
"length": 2982.0,
"function_hash": "166119002038697001545252418499912890011"
},
"id": "ASB-A-179042963-fb79137f",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/80c3f6d4d84f822d1c3f41e6cb55fc05130e2b17",
"target": {
"function": "updateInterface",
"file": "src/com/android/settings/DeviceAdminAdd.java"
}
}
],
"fixes": [
"https://android.googlesource.com/platform/packages/apps/Settings/+/80c3f6d4d84f822d1c3f41e6cb55fc05130e2b17"
],
"types": [
"EoP"
],
"spl": "2021-07-01",
"severity": "High"
}{
"vanir_signatures": [
{
"digest": {
"length": 7885.0,
"function_hash": "185510248249362450697038729031734614016"
},
"id": "ASB-A-179042963-16f41e9a",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/80c3f6d4d84f822d1c3f41e6cb55fc05130e2b17",
"target": {
"function": "onCreate",
"file": "src/com/android/settings/DeviceAdminAdd.java"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"201720539603043108077270368258492637360",
"187728728667015442328024877263829196653",
"204565530881555702198690051118787062744",
"201987440295907905062699434381555512809",
"95802276486953204991727250780959896554",
"39223427807298260243062564455646271166",
"15002929399463323564331777972963824475",
"232895617200655273989748996417516968251",
"290549947907584526794242575059646323389",
"13482922567548956538456334789866689536",
"33913379354236455534962601856617475338",
"171403825969341860083045024905166464060"
]
},
"id": "ASB-A-179042963-455ba836",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/80c3f6d4d84f822d1c3f41e6cb55fc05130e2b17",
"target": {
"file": "src/com/android/settings/DeviceAdminAdd.java"
}
},
{
"digest": {
"length": 2982.0,
"function_hash": "166119002038697001545252418499912890011"
},
"id": "ASB-A-179042963-93230143",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/80c3f6d4d84f822d1c3f41e6cb55fc05130e2b17",
"target": {
"function": "updateInterface",
"file": "src/com/android/settings/DeviceAdminAdd.java"
}
}
],
"fixes": [
"https://android.googlesource.com/platform/packages/apps/Settings/+/80c3f6d4d84f822d1c3f41e6cb55fc05130e2b17"
],
"types": [
"EoP"
],
"spl": "2021-07-01",
"severity": "High"
}{
"vanir_signatures": [
{
"digest": {
"length": 9307.0,
"function_hash": "55997818868229923877545354284945153649"
},
"id": "ASB-A-179042963-0cd7140f",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/52f9039d5cc775a02dab90492cca98850a82872a",
"target": {
"function": "onCreate",
"file": "src/com/android/settings/applications/specialaccess/deviceadmin/DeviceAdminAdd.java"
}
},
{
"digest": {
"length": 2793.0,
"function_hash": "207020412651904482663303893300948406838"
},
"id": "ASB-A-179042963-3764b478",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/52f9039d5cc775a02dab90492cca98850a82872a",
"target": {
"function": "updateInterface",
"file": "src/com/android/settings/applications/specialaccess/deviceadmin/DeviceAdminAdd.java"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"201720539603043108077270368258492637360",
"187728728667015442328024877263829196653",
"204565530881555702198690051118787062744",
"201987440295907905062699434381555512809",
"310797203875232042132978435173788306098",
"18551031908273340577061510179868563641",
"213679831119981381651808040807687867937",
"135822614045791490943248215791799739662",
"49134004910152875195005360216549881364",
"70009547548421267669554405001192592552",
"33913379354236455534962601856617475338",
"171403825969341860083045024905166464060"
]
},
"id": "ASB-A-179042963-bb7f341d",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/52f9039d5cc775a02dab90492cca98850a82872a",
"target": {
"file": "src/com/android/settings/applications/specialaccess/deviceadmin/DeviceAdminAdd.java"
}
}
],
"fixes": [
"https://android.googlesource.com/platform/packages/apps/Settings/+/52f9039d5cc775a02dab90492cca98850a82872a"
],
"types": [
"EoP"
],
"spl": "2021-07-01",
"severity": "High"
}{
"vanir_signatures": [
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"201720539603043108077270368258492637360",
"187728728667015442328024877263829196653",
"204565530881555702198690051118787062744",
"201987440295907905062699434381555512809",
"310797203875232042132978435173788306098",
"18551031908273340577061510179868563641",
"213679831119981381651808040807687867937",
"135822614045791490943248215791799739662",
"49134004910152875195005360216549881364",
"70009547548421267669554405001192592552",
"33913379354236455534962601856617475338",
"171403825969341860083045024905166464060"
]
},
"id": "ASB-A-179042963-de040876",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/52f9039d5cc775a02dab90492cca98850a82872a",
"target": {
"file": "src/com/android/settings/applications/specialaccess/deviceadmin/DeviceAdminAdd.java"
}
},
{
"digest": {
"length": 2793.0,
"function_hash": "207020412651904482663303893300948406838"
},
"id": "ASB-A-179042963-de465716",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/52f9039d5cc775a02dab90492cca98850a82872a",
"target": {
"function": "updateInterface",
"file": "src/com/android/settings/applications/specialaccess/deviceadmin/DeviceAdminAdd.java"
}
},
{
"digest": {
"length": 9307.0,
"function_hash": "55997818868229923877545354284945153649"
},
"id": "ASB-A-179042963-ef721777",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/52f9039d5cc775a02dab90492cca98850a82872a",
"target": {
"function": "onCreate",
"file": "src/com/android/settings/applications/specialaccess/deviceadmin/DeviceAdminAdd.java"
}
}
],
"fixes": [
"https://android.googlesource.com/platform/packages/apps/Settings/+/52f9039d5cc775a02dab90492cca98850a82872a"
],
"types": [
"EoP"
],
"spl": "2021-07-01",
"severity": "High"
}