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.
{
"severity": "High",
"fixes": [
"https://android.googlesource.com/platform/packages/apps/Settings/+/f8b664e31f527d0c7abd55a19163136aa6f303bb"
],
"spl": "2023-04-01",
"vanir_signatures": [
{
"deprecated": true,
"digest": {
"function_hash": "141626439145612915298511774476390124294",
"length": 90.0
},
"signature_type": "Function",
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/f8b664e31f527d0c7abd55a19163136aa6f303bb",
"target": {
"function": "isToggleable",
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"match_only_versions": [
"13-next"
],
"id": "ASB-A-238298970-a4f4451f"
},
{
"deprecated": true,
"digest": {
"line_hashes": [
"221106152732990667027197056617080596127",
"313218724879720462272644424951221177852",
"271397290351860662972408878617478496105",
"262277728245937469118945885358159008307"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/f8b664e31f527d0c7abd55a19163136aa6f303bb",
"target": {
"file": "src/com/android/settings/nfc/SecureNfcEnabler.java"
},
"match_only_versions": [
"13-next"
],
"id": "ASB-A-238298970-a5a4bb25"
},
{
"deprecated": true,
"digest": {
"line_hashes": [
"221106152732990667027197056617080596127",
"313218724879720462272644424951221177852",
"271397290351860662972408878617478496105",
"262277728245937469118945885358159008307"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/f8b664e31f527d0c7abd55a19163136aa6f303bb",
"target": {
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"match_only_versions": [
"13-next"
],
"id": "ASB-A-238298970-abb986dd"
},
{
"deprecated": true,
"digest": {
"function_hash": "141626439145612915298511774476390124294",
"length": 90.0
},
"signature_type": "Function",
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/f8b664e31f527d0c7abd55a19163136aa6f303bb",
"target": {
"function": "isToggleable",
"file": "src/com/android/settings/nfc/SecureNfcEnabler.java"
},
"match_only_versions": [
"13-next"
],
"id": "ASB-A-238298970-b5827a1d"
}
],
"types": [
"EoP"
]
}{
"severity": "High",
"fixes": [
"https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
],
"spl": "2023-04-01",
"vanir_signatures": [
{
"deprecated": false,
"digest": {
"function_hash": "141626439145612915298511774476390124294",
"length": 90.0
},
"signature_type": "Function",
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397",
"target": {
"function": "isToggleable",
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"match_only_versions": [
"11"
],
"id": "ASB-A-238298970-9350f4c7"
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"221106152732990667027197056617080596127",
"313218724879720462272644424951221177852",
"271397290351860662972408878617478496105",
"262277728245937469118945885358159008307"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397",
"target": {
"file": "src/com/android/settings/nfc/SecureNfcEnabler.java"
},
"match_only_versions": [
"11"
],
"id": "ASB-A-238298970-a5dd702b"
},
{
"deprecated": false,
"digest": {
"function_hash": "141626439145612915298511774476390124294",
"length": 90.0
},
"signature_type": "Function",
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397",
"target": {
"function": "isToggleable",
"file": "src/com/android/settings/nfc/SecureNfcEnabler.java"
},
"match_only_versions": [
"11"
],
"id": "ASB-A-238298970-b92d547b"
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"221106152732990667027197056617080596127",
"313218724879720462272644424951221177852",
"271397290351860662972408878617478496105",
"262277728245937469118945885358159008307"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397",
"target": {
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"match_only_versions": [
"11"
],
"id": "ASB-A-238298970-ff652500"
}
],
"types": [
"EoP"
]
}{
"severity": "High",
"fixes": [
"https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
],
"spl": "2023-04-01",
"vanir_signatures": [
{
"deprecated": false,
"digest": {
"line_hashes": [
"221106152732990667027197056617080596127",
"313218724879720462272644424951221177852",
"271397290351860662972408878617478496105",
"262277728245937469118945885358159008307"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397",
"target": {
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"match_only_versions": [
"12"
],
"id": "ASB-A-238298970-0c282731"
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"221106152732990667027197056617080596127",
"313218724879720462272644424951221177852",
"271397290351860662972408878617478496105",
"262277728245937469118945885358159008307"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397",
"target": {
"file": "src/com/android/settings/nfc/SecureNfcEnabler.java"
},
"match_only_versions": [
"12"
],
"id": "ASB-A-238298970-20e1882a"
},
{
"deprecated": false,
"digest": {
"function_hash": "141626439145612915298511774476390124294",
"length": 90.0
},
"signature_type": "Function",
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397",
"target": {
"function": "isToggleable",
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"match_only_versions": [
"12"
],
"id": "ASB-A-238298970-5d47f196"
},
{
"deprecated": false,
"digest": {
"function_hash": "141626439145612915298511774476390124294",
"length": 90.0
},
"signature_type": "Function",
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397",
"target": {
"function": "isToggleable",
"file": "src/com/android/settings/nfc/SecureNfcEnabler.java"
},
"match_only_versions": [
"12"
],
"id": "ASB-A-238298970-90613c7c"
}
],
"types": [
"EoP"
]
}{
"severity": "High",
"fixes": [
"https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
],
"spl": "2023-04-01",
"vanir_signatures": [
{
"deprecated": false,
"digest": {
"function_hash": "141626439145612915298511774476390124294",
"length": 90.0
},
"signature_type": "Function",
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397",
"target": {
"function": "isToggleable",
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"match_only_versions": [
"12L"
],
"id": "ASB-A-238298970-0d9e58bc"
},
{
"deprecated": false,
"digest": {
"function_hash": "141626439145612915298511774476390124294",
"length": 90.0
},
"signature_type": "Function",
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397",
"target": {
"function": "isToggleable",
"file": "src/com/android/settings/nfc/SecureNfcEnabler.java"
},
"match_only_versions": [
"12L"
],
"id": "ASB-A-238298970-74e7e865"
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"221106152732990667027197056617080596127",
"313218724879720462272644424951221177852",
"271397290351860662972408878617478496105",
"262277728245937469118945885358159008307"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397",
"target": {
"file": "src/com/android/settings/nfc/SecureNfcEnabler.java"
},
"match_only_versions": [
"12L"
],
"id": "ASB-A-238298970-a2839291"
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"221106152732990667027197056617080596127",
"313218724879720462272644424951221177852",
"271397290351860662972408878617478496105",
"262277728245937469118945885358159008307"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397",
"target": {
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"match_only_versions": [
"12L"
],
"id": "ASB-A-238298970-a8fc9e7f"
}
],
"types": [
"EoP"
]
}{
"severity": "High",
"fixes": [
"https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"
],
"spl": "2023-04-01",
"vanir_signatures": [
{
"deprecated": false,
"digest": {
"function_hash": "141626439145612915298511774476390124294",
"length": 90.0
},
"signature_type": "Function",
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397",
"target": {
"function": "isToggleable",
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"match_only_versions": [
"13"
],
"id": "ASB-A-238298970-50520339"
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"221106152732990667027197056617080596127",
"313218724879720462272644424951221177852",
"271397290351860662972408878617478496105",
"262277728245937469118945885358159008307"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397",
"target": {
"file": "src/com/android/settings/nfc/SecureNfcEnabler.java"
},
"match_only_versions": [
"13"
],
"id": "ASB-A-238298970-707af4de"
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"221106152732990667027197056617080596127",
"313218724879720462272644424951221177852",
"271397290351860662972408878617478496105",
"262277728245937469118945885358159008307"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397",
"target": {
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"match_only_versions": [
"13"
],
"id": "ASB-A-238298970-ad9cb156"
},
{
"deprecated": false,
"digest": {
"function_hash": "141626439145612915298511774476390124294",
"length": 90.0
},
"signature_type": "Function",
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397",
"target": {
"function": "isToggleable",
"file": "src/com/android/settings/nfc/SecureNfcEnabler.java"
},
"match_only_versions": [
"13"
],
"id": "ASB-A-238298970-fe13857a"
}
],
"types": [
"EoP"
]
}