In isToggleable of SecureNfcEnabler.java and SecureNfcPreferenceController.java, there is a possible way to enable NFC from a secondary account due to a permissions bypass. This could lead to local escalation of privilege from the Guest account with no additional execution privileges needed. User interaction is not needed for exploitation.
{
"types": [
"EoP"
],
"spl": "2023-04-01",
"fixes": [
"https://android.googlesource.com/platform/packages/apps/Settings/+/f8b664e31f527d0c7abd55a19163136aa6f303bb"
],
"severity": "High",
"vanir_signatures": [
{
"target": {
"function": "isToggleable",
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"digest": {
"function_hash": "141626439145612915298511774476390124294",
"length": 90.0
},
"signature_version": "v1",
"deprecated": true,
"match_only_versions": [
"13-next"
],
"id": "ASB-A-238298970-a4f4451f",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/f8b664e31f527d0c7abd55a19163136aa6f303bb"
},
{
"target": {
"file": "src/com/android/settings/nfc/SecureNfcEnabler.java"
},
"digest": {
"line_hashes": [
"221106152732990667027197056617080596127",
"313218724879720462272644424951221177852",
"271397290351860662972408878617478496105",
"262277728245937469118945885358159008307"
],
"threshold": 0.9
},
"signature_version": "v1",
"match_only_versions": [
"13-next"
],
"deprecated": true,
"id": "ASB-A-238298970-a5a4bb25",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/f8b664e31f527d0c7abd55a19163136aa6f303bb"
},
{
"target": {
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"221106152732990667027197056617080596127",
"313218724879720462272644424951221177852",
"271397290351860662972408878617478496105",
"262277728245937469118945885358159008307"
],
"threshold": 0.9
},
"deprecated": true,
"match_only_versions": [
"13-next"
],
"id": "ASB-A-238298970-abb986dd",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/f8b664e31f527d0c7abd55a19163136aa6f303bb"
},
{
"target": {
"function": "isToggleable",
"file": "src/com/android/settings/nfc/SecureNfcEnabler.java"
},
"digest": {
"function_hash": "141626439145612915298511774476390124294",
"length": 90.0
},
"signature_version": "v1",
"match_only_versions": [
"13-next"
],
"deprecated": true,
"id": "ASB-A-238298970-b5827a1d",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/f8b664e31f527d0c7abd55a19163136aa6f303bb"
}
]
}{
"types": [
"EoP"
],
"spl": "2023-04-01",
"fixes": [
"https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
],
"severity": "High",
"vanir_signatures": [
{
"target": {
"function": "isToggleable",
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"digest": {
"function_hash": "141626439145612915298511774476390124294",
"length": 90.0
},
"signature_version": "v1",
"match_only_versions": [
"11"
],
"deprecated": false,
"id": "ASB-A-238298970-9350f4c7",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
},
{
"target": {
"file": "src/com/android/settings/nfc/SecureNfcEnabler.java"
},
"digest": {
"line_hashes": [
"221106152732990667027197056617080596127",
"313218724879720462272644424951221177852",
"271397290351860662972408878617478496105",
"262277728245937469118945885358159008307"
],
"threshold": 0.9
},
"signature_version": "v1",
"deprecated": false,
"match_only_versions": [
"11"
],
"id": "ASB-A-238298970-a5dd702b",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
},
{
"target": {
"function": "isToggleable",
"file": "src/com/android/settings/nfc/SecureNfcEnabler.java"
},
"signature_version": "v1",
"digest": {
"function_hash": "141626439145612915298511774476390124294",
"length": 90.0
},
"match_only_versions": [
"11"
],
"deprecated": false,
"id": "ASB-A-238298970-b92d547b",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
},
{
"target": {
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"221106152732990667027197056617080596127",
"313218724879720462272644424951221177852",
"271397290351860662972408878617478496105",
"262277728245937469118945885358159008307"
]
},
"signature_version": "v1",
"deprecated": false,
"match_only_versions": [
"11"
],
"id": "ASB-A-238298970-ff652500",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
}
]
}{
"types": [
"EoP"
],
"spl": "2023-04-01",
"fixes": [
"https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
],
"severity": "High",
"vanir_signatures": [
{
"target": {
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"digest": {
"line_hashes": [
"221106152732990667027197056617080596127",
"313218724879720462272644424951221177852",
"271397290351860662972408878617478496105",
"262277728245937469118945885358159008307"
],
"threshold": 0.9
},
"signature_version": "v1",
"match_only_versions": [
"12"
],
"deprecated": false,
"id": "ASB-A-238298970-0c282731",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
},
{
"target": {
"file": "src/com/android/settings/nfc/SecureNfcEnabler.java"
},
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"221106152732990667027197056617080596127",
"313218724879720462272644424951221177852",
"271397290351860662972408878617478496105",
"262277728245937469118945885358159008307"
]
},
"match_only_versions": [
"12"
],
"deprecated": false,
"id": "ASB-A-238298970-20e1882a",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
},
{
"target": {
"function": "isToggleable",
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"signature_version": "v1",
"digest": {
"function_hash": "141626439145612915298511774476390124294",
"length": 90.0
},
"match_only_versions": [
"12"
],
"deprecated": false,
"id": "ASB-A-238298970-5d47f196",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
},
{
"target": {
"function": "isToggleable",
"file": "src/com/android/settings/nfc/SecureNfcEnabler.java"
},
"digest": {
"function_hash": "141626439145612915298511774476390124294",
"length": 90.0
},
"signature_version": "v1",
"match_only_versions": [
"12"
],
"deprecated": false,
"id": "ASB-A-238298970-90613c7c",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
}
]
}{
"types": [
"EoP"
],
"spl": "2023-04-01",
"fixes": [
"https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
],
"severity": "High",
"vanir_signatures": [
{
"target": {
"function": "isToggleable",
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"signature_version": "v1",
"digest": {
"function_hash": "141626439145612915298511774476390124294",
"length": 90.0
},
"match_only_versions": [
"12L"
],
"deprecated": false,
"id": "ASB-A-238298970-0d9e58bc",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
},
{
"target": {
"function": "isToggleable",
"file": "src/com/android/settings/nfc/SecureNfcEnabler.java"
},
"digest": {
"function_hash": "141626439145612915298511774476390124294",
"length": 90.0
},
"signature_version": "v1",
"deprecated": false,
"match_only_versions": [
"12L"
],
"id": "ASB-A-238298970-74e7e865",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
},
{
"target": {
"file": "src/com/android/settings/nfc/SecureNfcEnabler.java"
},
"digest": {
"line_hashes": [
"221106152732990667027197056617080596127",
"313218724879720462272644424951221177852",
"271397290351860662972408878617478496105",
"262277728245937469118945885358159008307"
],
"threshold": 0.9
},
"signature_version": "v1",
"deprecated": false,
"match_only_versions": [
"12L"
],
"id": "ASB-A-238298970-a2839291",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
},
{
"target": {
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"digest": {
"line_hashes": [
"221106152732990667027197056617080596127",
"313218724879720462272644424951221177852",
"271397290351860662972408878617478496105",
"262277728245937469118945885358159008307"
],
"threshold": 0.9
},
"signature_version": "v1",
"match_only_versions": [
"12L"
],
"deprecated": false,
"id": "ASB-A-238298970-a8fc9e7f",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
}
]
}{
"types": [
"EoP"
],
"spl": "2023-04-01",
"fixes": [
"https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
],
"severity": "High",
"vanir_signatures": [
{
"target": {
"function": "isToggleable",
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"digest": {
"function_hash": "141626439145612915298511774476390124294",
"length": 90.0
},
"signature_version": "v1",
"match_only_versions": [
"13"
],
"deprecated": false,
"id": "ASB-A-238298970-50520339",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
},
{
"target": {
"file": "src/com/android/settings/nfc/SecureNfcEnabler.java"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"221106152732990667027197056617080596127",
"313218724879720462272644424951221177852",
"271397290351860662972408878617478496105",
"262277728245937469118945885358159008307"
]
},
"signature_version": "v1",
"deprecated": false,
"match_only_versions": [
"13"
],
"id": "ASB-A-238298970-707af4de",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
},
{
"target": {
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"digest": {
"line_hashes": [
"221106152732990667027197056617080596127",
"313218724879720462272644424951221177852",
"271397290351860662972408878617478496105",
"262277728245937469118945885358159008307"
],
"threshold": 0.9
},
"signature_version": "v1",
"deprecated": false,
"match_only_versions": [
"13"
],
"id": "ASB-A-238298970-ad9cb156",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
},
{
"target": {
"function": "isToggleable",
"file": "src/com/android/settings/nfc/SecureNfcEnabler.java"
},
"digest": {
"function_hash": "141626439145612915298511774476390124294",
"length": 90.0
},
"signature_version": "v1",
"deprecated": false,
"match_only_versions": [
"13"
],
"id": "ASB-A-238298970-fe13857a",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
}
]
}