In runTraceIpcStop of ActivityManagerShellCommand.java, there is a possible deletion of system files due to a confused deputy. 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/+/6984eaa9f4a369228259047c2f797d022afb8f3b"
],
"types": [
"EoP"
],
"severity": "High",
"vanir_signatures": [
{
"signature_version": "v1",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/frameworks/base/+/6984eaa9f4a369228259047c2f797d022afb8f3b",
"digest": {
"threshold": 0.9,
"line_hashes": [
"105781965476234511085300441079348568065",
"190036311201008882940703402484923525905",
"53986970093291337221256272384139676263",
"44410977465853094606633497537384977802",
"97687136630214288657633975244690662903",
"107945595877785328795973789333103884130",
"32858827774743862361284710579865996165",
"110492990727362969964840435663249817325",
"307667212380040728714956557022997296055",
"283436336536500440725463462883604519064",
"215247704062558659403560468469336986633",
"214661742751434314922971544950815032381",
"258678531736647848147579739796935829851",
"68618729088540146300878686519071478942"
]
},
"id": "ASB-A-185398942-527d8c82",
"deprecated": false,
"target": {
"file": "services/core/java/com/android/server/am/ActivityManagerShellCommand.java"
}
},
{
"signature_version": "v1",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/frameworks/base/+/6984eaa9f4a369228259047c2f797d022afb8f3b",
"digest": {
"function_hash": "121797594058230280719934885770811979189",
"length": 707.0
},
"id": "ASB-A-185398942-7b98f9be",
"deprecated": false,
"target": {
"file": "services/core/java/com/android/server/am/ActivityManagerShellCommand.java",
"function": "runTraceIpcStop"
}
},
{
"signature_version": "v1",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/frameworks/base/+/6984eaa9f4a369228259047c2f797d022afb8f3b",
"digest": {
"function_hash": "284061722856446454669025880175422859334",
"length": 1031.0
},
"id": "ASB-A-185398942-fb6d6b6b",
"deprecated": false,
"target": {
"file": "services/core/java/com/android/server/am/ActivityManagerShellCommand.java",
"function": "runDumpHeap"
}
}
],
"spl": "2021-09-01"
}
{
"fixes": [
"https://android.googlesource.com/platform/frameworks/base/+/4c0b9a5fbdcd06df8844affd1253a734aaa27392"
],
"types": [
"EoP"
],
"severity": "High",
"vanir_signatures": [
{
"signature_version": "v1",
"id": "ASB-A-185398942-50db1b27",
"source": "https://android.googlesource.com/platform/frameworks/base/+/4c0b9a5fbdcd06df8844affd1253a734aaa27392",
"digest": {
"function_hash": "219446689576170789916761395038483023231",
"length": 713.0
},
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "services/core/java/com/android/server/am/ActivityManagerShellCommand.java",
"function": "runTraceIpcStop"
}
},
{
"signature_version": "v1",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/frameworks/base/+/4c0b9a5fbdcd06df8844affd1253a734aaa27392",
"digest": {
"function_hash": "166861075445689166045572322354845827662",
"length": 1037.0
},
"id": "ASB-A-185398942-77c2a119",
"deprecated": false,
"target": {
"file": "services/core/java/com/android/server/am/ActivityManagerShellCommand.java",
"function": "runDumpHeap"
}
},
{
"signature_version": "v1",
"id": "ASB-A-185398942-db6e0d4f",
"source": "https://android.googlesource.com/platform/frameworks/base/+/4c0b9a5fbdcd06df8844affd1253a734aaa27392",
"digest": {
"threshold": 0.9,
"line_hashes": [
"301756864833933699389875512038653254603",
"190036311201008882940703402484923525905",
"53986970093291337221256272384139676263",
"44410977465853094606633497537384977802",
"97687136630214288657633975244690662903",
"107945595877785328795973789333103884130",
"35740774921100177688145547066493569913",
"211076223809504312418586163262711689193",
"132986964995661594853390182470418925904",
"283436336536500440725463462883604519064",
"215247704062558659403560468469336986633",
"218665152784239650828429543158831964413",
"198399295809620037571879488489093741398",
"103168210440241069599483011506180502207"
]
},
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "services/core/java/com/android/server/am/ActivityManagerShellCommand.java"
}
}
],
"spl": "2021-09-01"
}
{
"fixes": [
"https://android.googlesource.com/platform/frameworks/base/+/3555fa2f09972cb238eeeee6b0d7ed286d731989"
],
"types": [
"EoP"
],
"severity": "High",
"vanir_signatures": [
{
"signature_version": "v1",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/frameworks/base/+/3555fa2f09972cb238eeeee6b0d7ed286d731989",
"digest": {
"function_hash": "134668538421500054805858506981720147348",
"length": 711.0
},
"id": "ASB-A-185398942-a7c1189c",
"deprecated": false,
"target": {
"file": "services/core/java/com/android/server/am/ActivityManagerShellCommand.java",
"function": "runTraceIpcStop"
}
},
{
"signature_version": "v1",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/frameworks/base/+/3555fa2f09972cb238eeeee6b0d7ed286d731989",
"digest": {
"threshold": 0.9,
"line_hashes": [
"301756864833933699389875512038653254603",
"190036311201008882940703402484923525905",
"53986970093291337221256272384139676263",
"44410977465853094606633497537384977802",
"97687136630214288657633975244690662903",
"107945595877785328795973789333103884130",
"35740774921100177688145547066493569913",
"211076223809504312418586163262711689193",
"132986964995661594853390182470418925904",
"53300382153044086470472265701092521828",
"254927741200068674398929884474873270286",
"332742073038599585200005512309888147695",
"219924803452240690594680570736398528571",
"69993180770643367642826570116597244781",
"198399295809620037571879488489093741398",
"103168210440241069599483011506180502207",
"130536922999538945826085481402419475541",
"283715542509405723649732848297490085524",
"44600054439809896789909941750678427509",
"11937542124718842406290688089144466713"
]
},
"id": "ASB-A-185398942-ddfaf999",
"deprecated": false,
"target": {
"file": "services/core/java/com/android/server/am/ActivityManagerShellCommand.java"
}
},
{
"signature_version": "v1",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/frameworks/base/+/3555fa2f09972cb238eeeee6b0d7ed286d731989",
"digest": {
"function_hash": "138719729715043585607974762482160070769",
"length": 1656.0
},
"id": "ASB-A-185398942-e3c9adde",
"deprecated": false,
"target": {
"file": "services/core/java/com/android/server/am/ActivityManagerShellCommand.java",
"function": "runDumpHeap"
}
}
],
"spl": "2021-09-01"
}
{
"fixes": [
"https://android.googlesource.com/platform/frameworks/base/+/76e8e04703cb49a4984145a18f4552c4bcf72172"
],
"types": [
"EoP"
],
"severity": "High",
"vanir_signatures": [
{
"signature_version": "v1",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/frameworks/base/+/76e8e04703cb49a4984145a18f4552c4bcf72172",
"digest": {
"function_hash": "284677995755459757779340064592353055164",
"length": 1661.0
},
"id": "ASB-A-185398942-45282d15",
"deprecated": false,
"target": {
"file": "services/core/java/com/android/server/am/ActivityManagerShellCommand.java",
"function": "runDumpHeap"
}
},
{
"signature_version": "v1",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/frameworks/base/+/76e8e04703cb49a4984145a18f4552c4bcf72172",
"digest": {
"threshold": 0.9,
"line_hashes": [
"85538186689281181308754390048425028014",
"82675702859199202907431363079583039106",
"53986970093291337221256272384139676263",
"44410977465853094606633497537384977802",
"97687136630214288657633975244690662903",
"107945595877785328795973789333103884130",
"35740774921100177688145547066493569913",
"211076223809504312418586163262711689193",
"132986964995661594853390182470418925904",
"329663651087734520370141758021984657568",
"4048177358164353661916530752549029547",
"332742073038599585200005512309888147695",
"219924803452240690594680570736398528571",
"69993180770643367642826570116597244781",
"198399295809620037571879488489093741398",
"103168210440241069599483011506180502207",
"130536922999538945826085481402419475541",
"283715542509405723649732848297490085524",
"44600054439809896789909941750678427509",
"11937542124718842406290688089144466713"
]
},
"id": "ASB-A-185398942-7c91fe1d",
"deprecated": false,
"target": {
"file": "services/core/java/com/android/server/am/ActivityManagerShellCommand.java"
}
},
{
"signature_version": "v1",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/frameworks/base/+/76e8e04703cb49a4984145a18f4552c4bcf72172",
"digest": {
"function_hash": "134668538421500054805858506981720147348",
"length": 711.0
},
"id": "ASB-A-185398942-cc3d971c",
"deprecated": false,
"target": {
"file": "services/core/java/com/android/server/am/ActivityManagerShellCommand.java",
"function": "runTraceIpcStop"
}
}
],
"spl": "2021-09-01"
}