ASB-A-206987762

See a problem?
Import Source
https://storage.googleapis.com/android-osv/ASB-A-206987762.json
JSON Data
https://api.osv.dev/v1/vulns/ASB-A-206987762
Aliases
  • A-206987762
  • CVE-2022-20112
Published
2022-05-01T00:00:00Z
Modified
2024-08-07T19:30:06.595947Z
Summary
[Arbitrarily modify malicious privte DNS in Guest Mode]
Details

In getAvailabilityStatus of PrivateDnsPreferenceController.java, there is a possible way for a guest user to change private DNS settings due to a permissions bypass. 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
10:0
Fixed
10:2022-05-01

Affected versions

Other

10

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 150.0,
                "function_hash": "321733357164553032741408608226387281188"
            },
            "id": "ASB-A-206987762-0b2a442f",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/52e863b5a212889d4f8cb89a4028c42af59c9327",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/settings/network/PrivateDnsPreferenceController.java",
                "function": "getAvailabilityStatus"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "250217041909215422489376352889381844384",
                    "30614813453035800348791517300229173792",
                    "21559428915232086082342630364423049688",
                    "312487171729731347703751447130010780116",
                    "297057082058474901114027675289630414523",
                    "333376375925661085281441576422414143269"
                ]
            },
            "id": "ASB-A-206987762-6c353303",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/52e863b5a212889d4f8cb89a4028c42af59c9327",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/settings/network/PrivateDnsPreferenceController.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/apps/Settings/+/52e863b5a212889d4f8cb89a4028c42af59c9327"
    ],
    "spl": "2022-05-01",
    "severity": "High",
    "types": [
        "DoS"
    ]
}

Android / platform/packages/apps/Settings

Affected ranges

Type
ECOSYSTEM
Events
Introduced
11:0
Fixed
11:2022-05-01

Affected versions

Other

11

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "250217041909215422489376352889381844384",
                    "30614813453035800348791517300229173792",
                    "21559428915232086082342630364423049688",
                    "312487171729731347703751447130010780116",
                    "297057082058474901114027675289630414523",
                    "333376375925661085281441576422414143269"
                ]
            },
            "id": "ASB-A-206987762-6a853928",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/52e863b5a212889d4f8cb89a4028c42af59c9327",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/settings/network/PrivateDnsPreferenceController.java"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 150.0,
                "function_hash": "321733357164553032741408608226387281188"
            },
            "id": "ASB-A-206987762-abac2893",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/52e863b5a212889d4f8cb89a4028c42af59c9327",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/settings/network/PrivateDnsPreferenceController.java",
                "function": "getAvailabilityStatus"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/apps/Settings/+/52e863b5a212889d4f8cb89a4028c42af59c9327"
    ],
    "spl": "2022-05-01",
    "severity": "High",
    "types": [
        "DoS"
    ]
}

Android / platform/packages/apps/Settings

Affected ranges

Type
ECOSYSTEM
Events
Introduced
12:0
Fixed
12:2022-05-01

Affected versions

Other

12

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 150.0,
                "function_hash": "321733357164553032741408608226387281188"
            },
            "id": "ASB-A-206987762-b55a8f16",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/52e863b5a212889d4f8cb89a4028c42af59c9327",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/settings/network/PrivateDnsPreferenceController.java",
                "function": "getAvailabilityStatus"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "250217041909215422489376352889381844384",
                    "30614813453035800348791517300229173792",
                    "21559428915232086082342630364423049688",
                    "312487171729731347703751447130010780116",
                    "297057082058474901114027675289630414523",
                    "333376375925661085281441576422414143269"
                ]
            },
            "id": "ASB-A-206987762-de8e9d68",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/52e863b5a212889d4f8cb89a4028c42af59c9327",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/settings/network/PrivateDnsPreferenceController.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/apps/Settings/+/52e863b5a212889d4f8cb89a4028c42af59c9327"
    ],
    "spl": "2022-05-01",
    "severity": "High",
    "types": [
        "DoS"
    ]
}

Android / platform/packages/apps/Settings

Affected ranges

Type
ECOSYSTEM
Events
Introduced
12L:0
Fixed
12L:2022-05-01

Affected versions

Other

12L

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 150.0,
                "function_hash": "321733357164553032741408608226387281188"
            },
            "id": "ASB-A-206987762-842b33fb",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/52e863b5a212889d4f8cb89a4028c42af59c9327",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/settings/network/PrivateDnsPreferenceController.java",
                "function": "getAvailabilityStatus"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "250217041909215422489376352889381844384",
                    "30614813453035800348791517300229173792",
                    "21559428915232086082342630364423049688",
                    "312487171729731347703751447130010780116",
                    "297057082058474901114027675289630414523",
                    "333376375925661085281441576422414143269"
                ]
            },
            "id": "ASB-A-206987762-db5b38c1",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/52e863b5a212889d4f8cb89a4028c42af59c9327",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/settings/network/PrivateDnsPreferenceController.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/apps/Settings/+/52e863b5a212889d4f8cb89a4028c42af59c9327"
    ],
    "spl": "2022-05-01",
    "severity": "High",
    "types": [
        "DoS"
    ]
}