ASB-A-229256049

See a problem?
Import Source
https://storage.googleapis.com/android-osv/ASB-A-229256049.json
JSON Data
https://api.osv.dev/v1/vulns/ASB-A-229256049
Aliases
  • A-229256049
  • CVE-2023-20916
Published
2023-01-01T00:00:00Z
Modified
2024-08-07T19:29:30.096181Z
Summary
Starting Activity from background via LauncherAppsService#getActivityLaunchIntent
Details

In getMainActivityLaunchIntent of LauncherAppsService.java, there is a possible way to bypass the restrictions on starting activities from the background due to a missing permission check. 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/frameworks/base

Affected ranges

Type
ECOSYSTEM
Events
Introduced
12:0
Fixed
12:2023-01-01

Affected versions

Other

12

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "250508615551501372413942264399150300243",
                    "138900840196619030670094205567774864695",
                    "120739816563832750973168971151327009443",
                    "152924380646887756749350741474481213798"
                ]
            },
            "id": "ASB-A-229256049-3e8b2cd7",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/b3192809643eff948d9457c8a7b36b968a7388a1",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "core/java/android/content/pm/LauncherApps.java"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 542.0,
                "function_hash": "122981650753620630162760433619632019228"
            },
            "id": "ASB-A-229256049-9643ea71",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/b3192809643eff948d9457c8a7b36b968a7388a1",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/LauncherAppsService.java",
                "function": "getActivityLaunchIntent"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "20318856629384586059852186135709392903",
                    "42494193039287241991899971276635372650",
                    "282632621706364974620388240773645464804",
                    "151784017498937057000506700816925484397",
                    "315606302838225928515630945886580806326"
                ]
            },
            "id": "ASB-A-229256049-be5362a5",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/b3192809643eff948d9457c8a7b36b968a7388a1",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/LauncherAppsService.java"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 332.0,
                "function_hash": "116370368593760199355379777173925962572"
            },
            "id": "ASB-A-229256049-e325ea01",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/b3192809643eff948d9457c8a7b36b968a7388a1",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "core/java/android/content/pm/LauncherApps.java",
                "function": "getMainActivityLaunchIntent"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/b3192809643eff948d9457c8a7b36b968a7388a1"
    ],
    "spl": "2023-01-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}

Android / platform/frameworks/base

Affected ranges

Type
ECOSYSTEM
Events
Introduced
12L:0
Fixed
12L:2023-01-01

Affected versions

Other

12L

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "20318856629384586059852186135709392903",
                    "42494193039287241991899971276635372650",
                    "282632621706364974620388240773645464804",
                    "151784017498937057000506700816925484397",
                    "315606302838225928515630945886580806326"
                ]
            },
            "id": "ASB-A-229256049-0ad92fd4",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/b3192809643eff948d9457c8a7b36b968a7388a1",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/LauncherAppsService.java"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "250508615551501372413942264399150300243",
                    "138900840196619030670094205567774864695",
                    "120739816563832750973168971151327009443",
                    "152924380646887756749350741474481213798"
                ]
            },
            "id": "ASB-A-229256049-305b47f4",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/b3192809643eff948d9457c8a7b36b968a7388a1",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "core/java/android/content/pm/LauncherApps.java"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 542.0,
                "function_hash": "122981650753620630162760433619632019228"
            },
            "id": "ASB-A-229256049-39b831ba",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/b3192809643eff948d9457c8a7b36b968a7388a1",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/pm/LauncherAppsService.java",
                "function": "getActivityLaunchIntent"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "length": 332.0,
                "function_hash": "116370368593760199355379777173925962572"
            },
            "id": "ASB-A-229256049-a185dbf9",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/b3192809643eff948d9457c8a7b36b968a7388a1",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "core/java/android/content/pm/LauncherApps.java",
                "function": "getMainActivityLaunchIntent"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/b3192809643eff948d9457c8a7b36b968a7388a1"
    ],
    "spl": "2023-01-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}