PUB-A-226133034

See a problem?
Import Source
https://storage.googleapis.com/android-osv/PUB-A-226133034.json
JSON Data
https://api.osv.dev/v1/vulns/PUB-A-226133034
Aliases
  • A-226133034
  • CVE-2022-20506
Published
2022-12-01T00:00:00Z
Modified
2024-11-06T12:16:03.231308Z
Summary
[none]
Details

In onCreate of WifiDialogActivity.java, there is a missing permission check. This could lead to local escalation of privilege from a guest user 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": {
                "length": 1070.0,
                "function_hash": "22540778110885899099295149132315098659"
            },
            "id": "PUB-A-226133034-0974d2e1",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/a09c33f49c2d8025b475f31f97684b0919cd189a",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/settings/wifi/WifiDialogActivity.java",
                "function": "onCreate"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "331680241548120640732637950813423618419",
                    "330625712644560439905665376406109280763",
                    "214416774826381198887431004990514828941",
                    "123464542501830518251302421673961665693",
                    "100383292714303344328591006572568725033",
                    "53914481670964070342629675062259607123",
                    "290489390437304356837269100143485880537",
                    "145218590775382854201468427449450430113",
                    "85670028455605829055933677344838523182",
                    "4793110726557626096114028258196273961",
                    "79339572396844216866429910254617453268",
                    "179679681544337826586295570893219464756",
                    "98804998587821721315467228299898039967"
                ]
            },
            "id": "PUB-A-226133034-2b72c495",
            "source": "https://android.googlesource.com/platform/packages/apps/Settings/+/a09c33f49c2d8025b475f31f97684b0919cd189a",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "src/com/android/settings/wifi/WifiDialogActivity.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/apps/Settings/+/a09c33f49c2d8025b475f31f97684b0919cd189a"
    ],
    "spl": "2022-12-01",
    "severity": "Moderate",
    "types": [
        "EoP"
    ]
}