In startLegacyVpnPrivileged of Vpn.java, there is a possible way to retrieve VPN credentials due to a protocol downgrade attack. This could lead to remote escalation of privilege if a malicious Wi-Fi AP is used, with no additional execution privileges needed. User interaction is not needed for exploitation.
{
"spl": "2022-06-01",
"types": [
"EoP"
],
"fixes": [
"https://android.googlesource.com/platform/frameworks/base/+/997a4a39268b4f3af7ccc388269b5eb1972d3624"
],
"severity": "Critical",
"vanir_signatures": [
{
"signature_version": "v1",
"signature_type": "Function",
"match_only_versions": [
"12L-next"
],
"id": "ASB-A-201660636-778b43c5",
"digest": {
"length": 4238.0,
"function_hash": "181908655664340743310836410909499747456"
},
"deprecated": false,
"target": {
"function": "startLegacyVpnPrivileged",
"file": "services/core/java/com/android/server/connectivity/Vpn.java"
},
"source": "https://android.googlesource.com/platform/frameworks/base/+/997a4a39268b4f3af7ccc388269b5eb1972d3624"
},
{
"signature_version": "v1",
"signature_type": "Line",
"match_only_versions": [
"12L-next"
],
"id": "ASB-A-201660636-808b70d9",
"digest": {
"line_hashes": [
"310420844565035605711898439638995842787",
"141694103092497877505817561513087308202",
"91151349295014701793357698726701859332",
"143298619551031351133583037249021244398"
],
"threshold": 0.9
},
"deprecated": false,
"target": {
"file": "services/core/java/com/android/server/connectivity/Vpn.java"
},
"source": "https://android.googlesource.com/platform/frameworks/base/+/997a4a39268b4f3af7ccc388269b5eb1972d3624"
}
]
}
{
"spl": "2022-06-01",
"types": [
"EoP"
],
"fixes": [
"https://android.googlesource.com/platform/frameworks/base/+/4f319df8ff5a4b9f2bc62cb17df972e40b57fc81"
],
"severity": "Critical",
"vanir_signatures": [
{
"id": "ASB-A-201660636-235344a7",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "services/core/java/com/android/server/connectivity/Vpn.java"
},
"source": "https://android.googlesource.com/platform/frameworks/base/+/4f319df8ff5a4b9f2bc62cb17df972e40b57fc81",
"signature_type": "Line",
"digest": {
"line_hashes": [
"156891270955903780043775609290162233815",
"133982004637884660116241644810161162033",
"91151349295014701793357698726701859332",
"143298619551031351133583037249021244398"
],
"threshold": 0.9
}
},
{
"id": "ASB-A-201660636-515cac60",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "startLegacyVpnPrivileged",
"file": "services/core/java/com/android/server/connectivity/Vpn.java"
},
"source": "https://android.googlesource.com/platform/frameworks/base/+/4f319df8ff5a4b9f2bc62cb17df972e40b57fc81",
"signature_type": "Function",
"digest": {
"length": 4033.0,
"function_hash": "19316691569686554789825456265325068290"
}
}
]
}