In onCreate of WiFiInstaller.java, there is a possible way to install a malicious Hotspot 2.0 configuration due to a tapjacking/overlay attack. This could lead to local escalation of privilege with User execution privileges needed. User interaction is needed for exploitation.
{
"vanir_signatures": [
{
"source": "https://android.googlesource.com/platform/packages/apps/CertInstaller/+/f35b31232d180ec614c2392ea211bf9a0515fa32",
"target": {
"file": "src/com/android/certinstaller/WiFiInstaller.java"
},
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"id": "PUB-A-176756141-216efe03",
"digest": {
"line_hashes": [
"270279214358048806381354856548171792577",
"452071390647784437968578397678332005",
"211790072392635287966174816191839912587",
"288504927594152904152759865795180766234",
"306484126218639229021206834211360589998",
"159963588734291544046522011332685827710",
"22778310404440682272566998895588538832",
"230547301480059010848081240966762379706",
"181425343311949278082781996084193554648"
],
"threshold": 0.9
}
},
{
"source": "https://android.googlesource.com/platform/packages/apps/CertInstaller/+/f35b31232d180ec614c2392ea211bf9a0515fa32",
"target": {
"function": "createMainDialog",
"file": "src/com/android/certinstaller/WiFiInstaller.java"
},
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"id": "PUB-A-176756141-a5a12fc4",
"digest": {
"function_hash": "275249160081085277377365228771000529025",
"length": 2450.0
}
},
{
"source": "https://android.googlesource.com/platform/packages/apps/CertInstaller/+/f35b31232d180ec614c2392ea211bf9a0515fa32",
"target": {
"function": "onCreate",
"file": "src/com/android/certinstaller/WiFiInstaller.java"
},
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"id": "PUB-A-176756141-d671a67a",
"digest": {
"function_hash": "300006990579903506487970016036977579646",
"length": 1391.0
}
}
],
"spl": "2021-06-01",
"severity": "Moderate",
"types": [
"EoP"
],
"fixes": [
"https://android.googlesource.com/platform/packages/apps/CertInstaller/+/f35b31232d180ec614c2392ea211bf9a0515fa32"
]
}