{"id":"ASB-A-238298970","details":"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.","aliases":["A-238298970","CVE-2023-21086"],"modified":"2026-09-18T15:47:37.392928379Z","published":"2023-04-01T00:00:00Z","references":[{"type":"ADVISORY","url":"https://source.android.com/security/bulletin/2023-04-01"},{"type":"FIX","url":"https://android.googlesource.com/platform/packages/apps/Settings/+/78b42aeb37c04c0da0fe07f46c2558f15a7efc6b"}],"affected":[{"package":{"name":"platform/packages/apps/Settings","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13-next:0"},{"fixed":"13-next:2023-04-01"}]}],"versions":["13-next"],"ecosystem_specific":{"fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/f8b664e31f527d0c7abd55a19163136aa6f303bb"],"severity":"High","spl":"2023-04-01","types":["EoP"],"vanir_signatures":[{"digest":{"function_hash":"141626439145612915298511774476390124294","length":90},"id":"ASB-A-238298970-a4f4451f","match_only_versions":["13-next"],"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/f8b664e31f527d0c7abd55a19163136aa6f303bb","target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java","function":"isToggleable"},"deprecated":true},{"digest":{"line_hashes":["221106152732990667027197056617080596127","313218724879720462272644424951221177852","271397290351860662972408878617478496105","262277728245937469118945885358159008307"],"threshold":0.9},"id":"ASB-A-238298970-a5a4bb25","match_only_versions":["13-next"],"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"},"deprecated":true},{"signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/f8b664e31f527d0c7abd55a19163136aa6f303bb","target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java"},"deprecated":true,"digest":{"line_hashes":["221106152732990667027197056617080596127","313218724879720462272644424951221177852","271397290351860662972408878617478496105","262277728245937469118945885358159008307"],"threshold":0.9},"id":"ASB-A-238298970-abb986dd","match_only_versions":["13-next"],"signature_type":"Line"},{"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"},"deprecated":true,"digest":{"function_hash":"141626439145612915298511774476390124294","length":90},"id":"ASB-A-238298970-b5827a1d","match_only_versions":["13-next"]}]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-238298970.json"}},{"package":{"name":"platform/packages/apps/Settings","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11:0"},{"fixed":"11:2023-04-01"}]}],"versions":["11"],"ecosystem_specific":{"vanir_signatures":[{"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397","target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java","function":"isToggleable"},"deprecated":false,"digest":{"length":90,"function_hash":"141626439145612915298511774476390124294"},"id":"ASB-A-238298970-9350f4c7","match_only_versions":["11"]},{"signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397","target":{"file":"src/com/android/settings/nfc/SecureNfcEnabler.java"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["221106152732990667027197056617080596127","313218724879720462272644424951221177852","271397290351860662972408878617478496105","262277728245937469118945885358159008307"]},"id":"ASB-A-238298970-a5dd702b","match_only_versions":["11"],"signature_type":"Line"},{"deprecated":false,"digest":{"length":90,"function_hash":"141626439145612915298511774476390124294"},"id":"ASB-A-238298970-b92d547b","match_only_versions":["11"],"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397","target":{"file":"src/com/android/settings/nfc/SecureNfcEnabler.java","function":"isToggleable"}},{"deprecated":false,"digest":{"line_hashes":["221106152732990667027197056617080596127","313218724879720462272644424951221177852","271397290351860662972408878617478496105","262277728245937469118945885358159008307"],"threshold":0.9},"id":"ASB-A-238298970-ff652500","match_only_versions":["11"],"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"}}],"fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"],"severity":"High","spl":"2023-04-01","types":["EoP"]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-238298970.json"}},{"package":{"name":"platform/packages/apps/Settings","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12:0"},{"fixed":"12:2023-04-01"}]}],"versions":["12"],"ecosystem_specific":{"types":["EoP"],"vanir_signatures":[{"signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397","target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java"},"deprecated":false,"digest":{"line_hashes":["221106152732990667027197056617080596127","313218724879720462272644424951221177852","271397290351860662972408878617478496105","262277728245937469118945885358159008307"],"threshold":0.9},"id":"ASB-A-238298970-0c282731","match_only_versions":["12"],"signature_type":"Line"},{"id":"ASB-A-238298970-20e1882a","match_only_versions":["12"],"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"},"deprecated":false,"digest":{"line_hashes":["221106152732990667027197056617080596127","313218724879720462272644424951221177852","271397290351860662972408878617478496105","262277728245937469118945885358159008307"],"threshold":0.9}},{"signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397","target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java","function":"isToggleable"},"deprecated":false,"digest":{"function_hash":"141626439145612915298511774476390124294","length":90},"id":"ASB-A-238298970-5d47f196","match_only_versions":["12"],"signature_type":"Function"},{"signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397","target":{"file":"src/com/android/settings/nfc/SecureNfcEnabler.java","function":"isToggleable"},"deprecated":false,"digest":{"length":90,"function_hash":"141626439145612915298511774476390124294"},"id":"ASB-A-238298970-90613c7c","match_only_versions":["12"],"signature_type":"Function"}],"fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"],"severity":"High","spl":"2023-04-01"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-238298970.json"}},{"package":{"name":"platform/packages/apps/Settings","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12L:0"},{"fixed":"12L:2023-04-01"}]}],"versions":["12L"],"ecosystem_specific":{"spl":"2023-04-01","types":["EoP"],"vanir_signatures":[{"target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java","function":"isToggleable"},"deprecated":false,"digest":{"function_hash":"141626439145612915298511774476390124294","length":90},"id":"ASB-A-238298970-0d9e58bc","match_only_versions":["12L"],"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"},{"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397","target":{"file":"src/com/android/settings/nfc/SecureNfcEnabler.java","function":"isToggleable"},"deprecated":false,"digest":{"function_hash":"141626439145612915298511774476390124294","length":90},"id":"ASB-A-238298970-74e7e865","match_only_versions":["12L"]},{"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"},"deprecated":false,"digest":{"line_hashes":["221106152732990667027197056617080596127","313218724879720462272644424951221177852","271397290351860662972408878617478496105","262277728245937469118945885358159008307"],"threshold":0.9},"id":"ASB-A-238298970-a2839291","match_only_versions":["12L"]},{"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"},"deprecated":false,"digest":{"line_hashes":["221106152732990667027197056617080596127","313218724879720462272644424951221177852","271397290351860662972408878617478496105","262277728245937469118945885358159008307"],"threshold":0.9},"id":"ASB-A-238298970-a8fc9e7f","match_only_versions":["12L"]}],"fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"],"severity":"High"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-238298970.json"}},{"package":{"name":"platform/packages/apps/Settings","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13:0"},{"fixed":"13:2023-04-01"}]}],"versions":["13"],"ecosystem_specific":{"fixes":["https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397"],"severity":"High","spl":"2023-04-01","types":["EoP"],"vanir_signatures":[{"deprecated":false,"digest":{"length":90,"function_hash":"141626439145612915298511774476390124294"},"id":"ASB-A-238298970-50520339","match_only_versions":["13"],"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397","target":{"file":"src/com/android/settings/nfc/SecureNfcPreferenceController.java","function":"isToggleable"}},{"signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397","target":{"file":"src/com/android/settings/nfc/SecureNfcEnabler.java"},"deprecated":false,"digest":{"line_hashes":["221106152732990667027197056617080596127","313218724879720462272644424951221177852","271397290351860662972408878617478496105","262277728245937469118945885358159008307"],"threshold":0.9},"id":"ASB-A-238298970-707af4de","match_only_versions":["13"],"signature_type":"Line"},{"digest":{"threshold":0.9,"line_hashes":["221106152732990667027197056617080596127","313218724879720462272644424951221177852","271397290351860662972408878617478496105","262277728245937469118945885358159008307"]},"id":"ASB-A-238298970-ad9cb156","match_only_versions":["13"],"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"},"deprecated":false},{"id":"ASB-A-238298970-fe13857a","match_only_versions":["13"],"signature_type":"Function","signature_version":"v1","source":"https://android.googlesource.com/platform/packages/apps/Settings/+/0e57ff90cdae3575c243d21d490e2b6384d33397","target":{"file":"src/com/android/settings/nfc/SecureNfcEnabler.java","function":"isToggleable"},"deprecated":false,"digest":{"function_hash":"141626439145612915298511774476390124294","length":90}}]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-238298970.json"}}],"schema_version":"1.9.0"}