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.
{
"fixes": [
"https://android.googlesource.com/platform/frameworks/base/+/997a4a39268b4f3af7ccc388269b5eb1972d3624"
],
"types": [
"EoP"
],
"severity": "Critical",
"vanir_signatures": [
{
"digest": {
"function_hash": "181908655664340743310836410909499747456",
"length": 4238.0
},
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "services/core/java/com/android/server/connectivity/Vpn.java",
"function": "startLegacyVpnPrivileged"
},
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/frameworks/base/+/997a4a39268b4f3af7ccc388269b5eb1972d3624",
"match_only_versions": [
"12L-next"
],
"id": "ASB-A-201660636-778b43c5"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"310420844565035605711898439638995842787",
"141694103092497877505817561513087308202",
"91151349295014701793357698726701859332",
"143298619551031351133583037249021244398"
]
},
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "services/core/java/com/android/server/connectivity/Vpn.java"
},
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/frameworks/base/+/997a4a39268b4f3af7ccc388269b5eb1972d3624",
"match_only_versions": [
"12L-next"
],
"id": "ASB-A-201660636-808b70d9"
}
],
"spl": "2022-06-01"
}
{
"fixes": [
"https://android.googlesource.com/platform/frameworks/base/+/4f319df8ff5a4b9f2bc62cb17df972e40b57fc81"
],
"types": [
"EoP"
],
"severity": "Critical",
"vanir_signatures": [
{
"signature_version": "v1",
"id": "ASB-A-201660636-235344a7",
"source": "https://android.googlesource.com/platform/frameworks/base/+/4f319df8ff5a4b9f2bc62cb17df972e40b57fc81",
"digest": {
"threshold": 0.9,
"line_hashes": [
"156891270955903780043775609290162233815",
"133982004637884660116241644810161162033",
"91151349295014701793357698726701859332",
"143298619551031351133583037249021244398"
]
},
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "services/core/java/com/android/server/connectivity/Vpn.java"
}
},
{
"signature_version": "v1",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/frameworks/base/+/4f319df8ff5a4b9f2bc62cb17df972e40b57fc81",
"digest": {
"function_hash": "19316691569686554789825456265325068290",
"length": 4033.0
},
"id": "ASB-A-201660636-515cac60",
"deprecated": false,
"target": {
"file": "services/core/java/com/android/server/connectivity/Vpn.java",
"function": "startLegacyVpnPrivileged"
}
}
],
"spl": "2022-06-01"
}