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
2024-11-06T12:16:03.231308Z
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

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 1006.0,
                "function_hash": "7928059090134792495836311604727565765"
            },
            "id": "ASB-A-341886134-0d178ec7",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/2cb9b10ed97b1b9b29661115789605a762f3c2ef",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/settings/accounts/AccountTypePreferenceLoader.java",
                "function": "addPreferencesForType"
            },
            "signature_type": "Function"
        },
        {
            "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-23304646",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/2cb9b10ed97b1b9b29661115789605a762f3c2ef",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/settings/accounts/AccountTypePreferenceLoader.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/apps/Settings/+/2cb9b10ed97b1b9b29661115789605a762f3c2ef"
    ],
    "spl": "2024-09-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}