PUB-A-255537598

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

In isTargetSdkLessThanQOrPrivileged of WifiServiceImpl.java, there is a possible way for the guest user to change admin user network settings 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/packages/modules/Wifi

Affected ranges

Type
ECOSYSTEM
Events
Introduced
13:0
Fixed
13:2023-03-01

Affected versions

Other

13

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 360.0,
                "function_hash": "300644194795665403119258562246523309226"
            },
            "id": "PUB-A-255537598-144c845d",
            "source": "https://android.googlesource.com/platform/packages/modules/Wifi/+/6db4ba73e6a101d02131c5849ece6cf5619e377b",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "service/java/com/android/server/wifi/WifiServiceImpl.java",
                "function": "isTargetSdkLessThanQOrPrivileged"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "114921050774445932766419954125273037652",
                    "24982070248182902993493787616874260263",
                    "332987931762731709008236448683313426795",
                    "195421297787926007786231591004009845693"
                ]
            },
            "id": "PUB-A-255537598-dbdc6e09",
            "source": "https://android.googlesource.com/platform/packages/modules/Wifi/+/6db4ba73e6a101d02131c5849ece6cf5619e377b",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "service/java/com/android/server/wifi/WifiServiceImpl.java"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/packages/modules/Wifi/+/6db4ba73e6a101d02131c5849ece6cf5619e377b"
    ],
    "spl": "2023-03-01",
    "severity": "Moderate",
    "types": [
        "EoP"
    ]
}