ASB-A-341886134

See a problem?
Import Source
https://storage.googleapis.com/android-osv/ASB-A-341886134.json
JSON Data
https://api.osv.dev/v1/vulns/ASB-A-341886134
Aliases
  • A-341886134
  • CVE-2024-40657
Published
2024-09-01T00:00:00Z
Modified
2025-07-14T14:59:53.514521Z
Summary
[none]
Details

In addPreferencesForType of AccountTypePreferenceLoader.java, there is a possible way to disable apps for other users due to a confused deputy. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

References

Affected packages

Android / platform/packages/apps/Settings

Affected ranges

Type
ECOSYSTEM
Events
Introduced
15-next:0
Fixed
15-next:2024-09-01

Affected versions

Other

15-next

Ecosystem specific

{
    "types": [
        "EoP"
    ],
    "severity": "High",
    "vanir_signatures": [
        {
            "digest": {
                "function_hash": "7928059090134792495836311604727565765",
                "length": 1006.0
            },
            "id": "ASB-A-341886134-8c06b381",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/2cb9b10ed97b1b9b29661115789605a762f3c2ef",
            "deprecated": false,
            "signature_version": "v1",
            "signature_type": "Function",
            "target": {
                "file": "src/com/android/settings/accounts/AccountTypePreferenceLoader.java",
                "function": "addPreferencesForType"
            }
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "116159570667149066438513721319523770520",
                    "15187236630171667384877655672379953714",
                    "47010250795352050450613253991698385311",
                    "213861242580948616203595746471641040115",
                    "104443188972081370040743785257368431352",
                    "269157357178476633296502023571864281715",
                    "334351114689869329178129039599676779337",
                    "222132524490563603886792480049819180119",
                    "294252797493706180167075659508313992486",
                    "28952066461465902020416713843837662470",
                    "254967401633031109266301443063538926669",
                    "137766489743747210585819631384922383781",
                    "7069050857304589735339236764032673548",
                    "257075798218447214675853020340324388316",
                    "71125938467091698570980315168261251420",
                    "99985113270951985539927909697017026260",
                    "46167360946225016189541062569585315829"
                ]
            },
            "id": "ASB-A-341886134-e5e4fb89",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/2cb9b10ed97b1b9b29661115789605a762f3c2ef",
            "deprecated": false,
            "signature_version": "v1",
            "signature_type": "Line",
            "target": {
                "file": "src/com/android/settings/accounts/AccountTypePreferenceLoader.java"
            }
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/apps/Settings/+/2cb9b10ed97b1b9b29661115789605a762f3c2ef"
    ],
    "spl": "2024-09-01"
}

Android / platform/packages/apps/Settings

Affected ranges

Type
ECOSYSTEM
Events
Introduced
12:0
Fixed
12:2024-09-01

Affected versions

Other

12

Ecosystem specific

{
    "types": [
        "EoP"
    ],
    "severity": "High",
    "vanir_signatures": [
        {
            "digest": {
                "function_hash": "124731057811841337735006470403937802891",
                "length": 959.0
            },
            "id": "ASB-A-341886134-4120cdd9",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/7e0b376b11318e1e79b31bac6aafc0c923868bc4",
            "deprecated": false,
            "signature_version": "v1",
            "signature_type": "Function",
            "target": {
                "file": "src/com/android/settings/accounts/AccountTypePreferenceLoader.java",
                "function": "addPreferencesForType"
            }
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "116159570667149066438513721319523770520",
                    "15187236630171667384877655672379953714",
                    "47010250795352050450613253991698385311",
                    "213861242580948616203595746471641040115",
                    "104443188972081370040743785257368431352",
                    "269157357178476633296502023571864281715",
                    "334351114689869329178129039599676779337",
                    "222132524490563603886792480049819180119",
                    "294252797493706180167075659508313992486",
                    "28952066461465902020416713843837662470",
                    "254967401633031109266301443063538926669",
                    "137766489743747210585819631384922383781",
                    "7069050857304589735339236764032673548",
                    "257075798218447214675853020340324388316",
                    "71125938467091698570980315168261251420",
                    "99985113270951985539927909697017026260",
                    "46167360946225016189541062569585315829"
                ]
            },
            "id": "ASB-A-341886134-e48d5485",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/7e0b376b11318e1e79b31bac6aafc0c923868bc4",
            "deprecated": false,
            "signature_version": "v1",
            "signature_type": "Line",
            "target": {
                "file": "src/com/android/settings/accounts/AccountTypePreferenceLoader.java"
            }
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/apps/Settings/+/7e0b376b11318e1e79b31bac6aafc0c923868bc4"
    ],
    "spl": "2024-09-01"
}

Android / platform/packages/apps/Settings

Affected ranges

Type
ECOSYSTEM
Events
Introduced
12L:0
Fixed
12L:2024-09-01

Affected versions

Other

12L

Ecosystem specific

{
    "types": [
        "EoP"
    ],
    "severity": "High",
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "116159570667149066438513721319523770520",
                    "15187236630171667384877655672379953714",
                    "47010250795352050450613253991698385311",
                    "213861242580948616203595746471641040115",
                    "104443188972081370040743785257368431352",
                    "269157357178476633296502023571864281715",
                    "334351114689869329178129039599676779337",
                    "222132524490563603886792480049819180119",
                    "294252797493706180167075659508313992486",
                    "28952066461465902020416713843837662470",
                    "254967401633031109266301443063538926669",
                    "137766489743747210585819631384922383781",
                    "7069050857304589735339236764032673548",
                    "257075798218447214675853020340324388316",
                    "71125938467091698570980315168261251420",
                    "99985113270951985539927909697017026260",
                    "46167360946225016189541062569585315829"
                ]
            },
            "id": "ASB-A-341886134-5cc797b2",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/e2dc98c21db7ac35137417bf72f33177a1b70b48",
            "deprecated": false,
            "signature_version": "v1",
            "signature_type": "Line",
            "target": {
                "file": "src/com/android/settings/accounts/AccountTypePreferenceLoader.java"
            }
        },
        {
            "digest": {
                "function_hash": "124731057811841337735006470403937802891",
                "length": 959.0
            },
            "id": "ASB-A-341886134-5d81b609",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/e2dc98c21db7ac35137417bf72f33177a1b70b48",
            "deprecated": false,
            "signature_version": "v1",
            "signature_type": "Function",
            "target": {
                "file": "src/com/android/settings/accounts/AccountTypePreferenceLoader.java",
                "function": "addPreferencesForType"
            }
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/apps/Settings/+/e2dc98c21db7ac35137417bf72f33177a1b70b48"
    ],
    "spl": "2024-09-01"
}

Android / platform/packages/apps/Settings

Affected ranges

Type
ECOSYSTEM
Events
Introduced
13:0
Fixed
13:2024-09-01

Affected versions

Other

13

Ecosystem specific

{
    "types": [
        "EoP"
    ],
    "severity": "High",
    "vanir_signatures": [
        {
            "digest": {
                "function_hash": "124731057811841337735006470403937802891",
                "length": 959.0
            },
            "id": "ASB-A-341886134-cc7fa951",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/24e2f2d2f65d233527e1f50e3e215c266f040792",
            "deprecated": false,
            "signature_version": "v1",
            "signature_type": "Function",
            "target": {
                "file": "src/com/android/settings/accounts/AccountTypePreferenceLoader.java",
                "function": "addPreferencesForType"
            }
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "116159570667149066438513721319523770520",
                    "15187236630171667384877655672379953714",
                    "47010250795352050450613253991698385311",
                    "213861242580948616203595746471641040115",
                    "104443188972081370040743785257368431352",
                    "269157357178476633296502023571864281715",
                    "334351114689869329178129039599676779337",
                    "222132524490563603886792480049819180119",
                    "294252797493706180167075659508313992486",
                    "28952066461465902020416713843837662470",
                    "254967401633031109266301443063538926669",
                    "137766489743747210585819631384922383781",
                    "7069050857304589735339236764032673548",
                    "257075798218447214675853020340324388316",
                    "71125938467091698570980315168261251420",
                    "99985113270951985539927909697017026260",
                    "46167360946225016189541062569585315829"
                ]
            },
            "id": "ASB-A-341886134-fd4011a0",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/24e2f2d2f65d233527e1f50e3e215c266f040792",
            "deprecated": false,
            "signature_version": "v1",
            "signature_type": "Line",
            "target": {
                "file": "src/com/android/settings/accounts/AccountTypePreferenceLoader.java"
            }
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/apps/Settings/+/24e2f2d2f65d233527e1f50e3e215c266f040792"
    ],
    "spl": "2024-09-01"
}

Android / platform/packages/apps/Settings

Affected ranges

Type
ECOSYSTEM
Events
Introduced
14:0
Fixed
14:2024-09-01

Affected versions

Other

14

Ecosystem specific

{
    "types": [
        "EoP"
    ],
    "severity": "High",
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "116159570667149066438513721319523770520",
                    "15187236630171667384877655672379953714",
                    "47010250795352050450613253991698385311",
                    "213861242580948616203595746471641040115",
                    "104443188972081370040743785257368431352",
                    "269157357178476633296502023571864281715",
                    "334351114689869329178129039599676779337",
                    "222132524490563603886792480049819180119",
                    "294252797493706180167075659508313992486",
                    "28952066461465902020416713843837662470",
                    "254967401633031109266301443063538926669",
                    "137766489743747210585819631384922383781",
                    "7069050857304589735339236764032673548",
                    "257075798218447214675853020340324388316",
                    "71125938467091698570980315168261251420",
                    "99985113270951985539927909697017026260",
                    "46167360946225016189541062569585315829"
                ]
            },
            "id": "ASB-A-341886134-6d94808a",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/d43f82be7a1d2fc5659afeb9d7eca45bf4ba3a8e",
            "deprecated": false,
            "signature_version": "v1",
            "signature_type": "Line",
            "target": {
                "file": "src/com/android/settings/accounts/AccountTypePreferenceLoader.java"
            }
        },
        {
            "digest": {
                "function_hash": "124731057811841337735006470403937802891",
                "length": 959.0
            },
            "id": "ASB-A-341886134-a363f902",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/d43f82be7a1d2fc5659afeb9d7eca45bf4ba3a8e",
            "deprecated": false,
            "signature_version": "v1",
            "signature_type": "Function",
            "target": {
                "file": "src/com/android/settings/accounts/AccountTypePreferenceLoader.java",
                "function": "addPreferencesForType"
            }
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/apps/Settings/+/d43f82be7a1d2fc5659afeb9d7eca45bf4ba3a8e"
    ],
    "spl": "2024-09-01"
}