In setChecked of SecureNfcPreferenceController.java, there is a missing permission check. This could lead to local escalation of privilege from the guest user with no additional execution privileges needed. User interaction is not needed for exploitation.
{
"vanir_signatures": [
{
"digest": {
"length": 116.0,
"function_hash": "89075410434915536420198620674892884764"
},
"id": "ASB-A-228314987-18a66c24",
"deprecated": false,
"target": {
"function": "SecureNfcPreferenceController",
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"signature_type": "Function",
"match_only_versions": [
"10"
],
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872",
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"272109167503583997107311243765290354749",
"63286712089301751718131653825483666307",
"223578647578327716723676053904685558081",
"92993392298164113906188499544629698989",
"178618027537041364223004786590674847738",
"258161008170561121974331351658638109557",
"197774552826717936572650994687404957772",
"92841685830375913791140906003311285390",
"218161233665785497972170452609113561771",
"172889032907903584116621080465823300622",
"226837440412430644719625387943481803665",
"314910061929938933018535692921746940315",
"131424239102018771947341017546740042056",
"27823716128407417507647055994735050253",
"320282621406171665750983976927576325808",
"48127822925468150373568631892975356896"
]
},
"id": "ASB-A-228314987-42ca61e2",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872",
"target": {
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
}
},
{
"digest": {
"length": 76.0,
"function_hash": "207321593960634909201921155582634271263"
},
"id": "ASB-A-228314987-c28892c0",
"deprecated": false,
"target": {
"function": "setChecked",
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"signature_type": "Function",
"match_only_versions": [
"10"
],
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872",
"signature_version": "v1"
}
],
"fixes": [
"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872"
],
"types": [
"EoP"
],
"spl": "2022-08-01",
"severity": "High"
}{
"vanir_signatures": [
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"272109167503583997107311243765290354749",
"63286712089301751718131653825483666307",
"223578647578327716723676053904685558081",
"92993392298164113906188499544629698989",
"178618027537041364223004786590674847738",
"258161008170561121974331351658638109557",
"197774552826717936572650994687404957772",
"92841685830375913791140906003311285390",
"218161233665785497972170452609113561771",
"172889032907903584116621080465823300622",
"226837440412430644719625387943481803665",
"314910061929938933018535692921746940315",
"131424239102018771947341017546740042056",
"27823716128407417507647055994735050253",
"320282621406171665750983976927576325808",
"48127822925468150373568631892975356896"
]
},
"id": "ASB-A-228314987-97ea76ab",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872",
"target": {
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
}
},
{
"digest": {
"length": 116.0,
"function_hash": "89075410434915536420198620674892884764"
},
"id": "ASB-A-228314987-a5165c3d",
"deprecated": false,
"target": {
"function": "SecureNfcPreferenceController",
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"signature_type": "Function",
"match_only_versions": [
"11"
],
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872",
"signature_version": "v1"
},
{
"digest": {
"length": 76.0,
"function_hash": "207321593960634909201921155582634271263"
},
"id": "ASB-A-228314987-e1617c7d",
"deprecated": false,
"target": {
"function": "setChecked",
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"signature_type": "Function",
"match_only_versions": [
"11"
],
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872",
"signature_version": "v1"
}
],
"fixes": [
"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872"
],
"types": [
"EoP"
],
"spl": "2022-08-01",
"severity": "High"
}{
"vanir_signatures": [
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"272109167503583997107311243765290354749",
"63286712089301751718131653825483666307",
"223578647578327716723676053904685558081",
"92993392298164113906188499544629698989",
"178618027537041364223004786590674847738",
"258161008170561121974331351658638109557",
"197774552826717936572650994687404957772",
"92841685830375913791140906003311285390",
"218161233665785497972170452609113561771",
"172889032907903584116621080465823300622",
"226837440412430644719625387943481803665",
"314910061929938933018535692921746940315",
"131424239102018771947341017546740042056",
"27823716128407417507647055994735050253",
"320282621406171665750983976927576325808",
"48127822925468150373568631892975356896"
]
},
"id": "ASB-A-228314987-09138f38",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872",
"target": {
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
}
},
{
"digest": {
"length": 76.0,
"function_hash": "207321593960634909201921155582634271263"
},
"id": "ASB-A-228314987-ce85645f",
"deprecated": false,
"target": {
"function": "setChecked",
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"signature_type": "Function",
"match_only_versions": [
"12"
],
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872",
"signature_version": "v1"
},
{
"digest": {
"length": 116.0,
"function_hash": "89075410434915536420198620674892884764"
},
"id": "ASB-A-228314987-e34c3262",
"deprecated": false,
"target": {
"function": "SecureNfcPreferenceController",
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"signature_type": "Function",
"match_only_versions": [
"12"
],
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872",
"signature_version": "v1"
}
],
"fixes": [
"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872"
],
"types": [
"EoP"
],
"spl": "2022-08-01",
"severity": "High"
}{
"vanir_signatures": [
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"272109167503583997107311243765290354749",
"63286712089301751718131653825483666307",
"223578647578327716723676053904685558081",
"92993392298164113906188499544629698989",
"178618027537041364223004786590674847738",
"258161008170561121974331351658638109557",
"197774552826717936572650994687404957772",
"92841685830375913791140906003311285390",
"218161233665785497972170452609113561771",
"172889032907903584116621080465823300622",
"226837440412430644719625387943481803665",
"314910061929938933018535692921746940315",
"131424239102018771947341017546740042056",
"27823716128407417507647055994735050253",
"320282621406171665750983976927576325808",
"48127822925468150373568631892975356896"
]
},
"id": "ASB-A-228314987-0878b9f8",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872",
"target": {
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
}
},
{
"digest": {
"length": 116.0,
"function_hash": "89075410434915536420198620674892884764"
},
"id": "ASB-A-228314987-72534e7d",
"deprecated": false,
"target": {
"function": "SecureNfcPreferenceController",
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"signature_type": "Function",
"match_only_versions": [
"12L"
],
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872",
"signature_version": "v1"
},
{
"digest": {
"length": 76.0,
"function_hash": "207321593960634909201921155582634271263"
},
"id": "ASB-A-228314987-7e37a54d",
"deprecated": false,
"target": {
"function": "setChecked",
"file": "src/com/android/settings/nfc/SecureNfcPreferenceController.java"
},
"signature_type": "Function",
"match_only_versions": [
"12L"
],
"source": "https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872",
"signature_version": "v1"
}
],
"fixes": [
"https://android.googlesource.com/platform/packages/apps/Settings/+/2290b0af8cb4b640709fa904f73ce3e69208f872"
],
"types": [
"EoP"
],
"spl": "2022-08-01",
"severity": "High"
}