PUB-A-220733496

See a problem?
Import Source
https://storage.googleapis.com/android-osv/PUB-A-220733496.json
JSON Data
https://api.osv.dev/v1/vulns/PUB-A-220733496
Aliases
  • A-220733496
  • CVE-2022-20515
Published
2022-12-01T00:00:00Z
Modified
2024-08-29T07:13:02.138166Z
Summary
Intent defined in accountPreferences can grant Settings protected ContentProviders' access to authenticator app
Details

In onPreferenceClick of AccountTypePreferenceLoader.java, there is a possible way to retrieve protected files from the Settings app due to a confused deputy. This could lead to local information disclosure 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
13:0
Fixed
13:2022-12-01

Affected versions

Other

13

Ecosystem specific

{
    "vanir_signatures": [
        {
            "match_only_versions": [
                "13"
            ],
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "293101183722590943478867740640679466749",
                    "108412991053796078583091860813531505642",
                    "28035893926855174962940746953580967671",
                    "40112860432468891969057084409714236080",
                    "177480183194004016276858230791931740979",
                    "172276761039711939950469013439173632504",
                    "101497221201453250963401664882264014271"
                ]
            },
            "id": "PUB-A-220733496-2194e862",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/2c1b1aa81346c68179a88bad31f23ed976517954",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/settings/accounts/AccountTypePreferenceLoader.java"
            },
            "signature_type": "Line"
        },
        {
            "match_only_versions": [
                "13"
            ],
            "digest": {
                "length": 1306.0,
                "function_hash": "320241958175093881091290427079770006414"
            },
            "id": "PUB-A-220733496-44bfe572",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/2c1b1aa81346c68179a88bad31f23ed976517954",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/settings/accounts/AccountTypePreferenceLoader.java",
                "function": "updatePreferenceIntents"
            },
            "signature_type": "Function"
        },
        {
            "match_only_versions": [
                "13"
            ],
            "digest": {
                "length": 322.0,
                "function_hash": "205161867117239727942345407947753384515"
            },
            "id": "PUB-A-220733496-8b6827fe",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/2c1b1aa81346c68179a88bad31f23ed976517954",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/settings/accounts/AccountTypePreferenceLoader.java",
                "function": "onPreferenceClick"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/apps/Settings/+/2c1b1aa81346c68179a88bad31f23ed976517954"
    ],
    "spl": "2022-12-01",
    "severity": "Moderate",
    "types": [
        "ID"
    ]
}