PUB-A-246301667

See a problem?
Import Source
https://storage.googleapis.com/android-osv/PUB-A-246301667.json
JSON Data
https://api.osv.dev/v1/vulns/PUB-A-246301667
Aliases
  • A-246301667
  • CVE-2022-20556
Published
2022-12-01T00:00:00Z
Modified
2026-09-23T18:42:52Z
Summary
[none]
Details

In launchConfigNewNetworkFragment of NetworkProviderSettings.java, there is a possible way for the guest user to add a new WiFi network 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/apps/Settings

Affected ranges

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

Affected versions

Other
13

Ecosystem specific

{
    "fixes":  [
        "https://android.googlesource.com/platform/packages/apps/Settings/+/6629b12a08c6b256b208fc52c3da248f05beb3a3"
    ],
    "severity":  "Moderate",
    "spl":  "2022-12-01",
    "types":  [
        "EoP"
    ],
    "vanir_signatures":  [
        {
            "deprecated":  false,
            "digest":  {
                "function_hash":  "113741140047974922017156593469356999343",
                "length":  411
            },
            "id":  "PUB-A-246301667-88d72468",
            "match_only_versions":  [
                "13"
            ],
            "signature_type":  "Function",
            "signature_version":  "v1",
            "source":  "https://android.googlesource.com/platform/packages/apps/Settings/+/6629b12a08c6b256b208fc52c3da248f05beb3a3",
            "target":  {
                "file":  "src/com/android/settings/network/NetworkProviderSettings.java",
                "function":  "launchConfigNewNetworkFragment"
            }
        },
        {
            "deprecated":  false,
            "digest":  {
                "line_hashes":  [
                    "78347652971236948770087577465964121891",
                    "266954423659928714766935379858697309385",
                    "95126400396795845140522483765035262823",
                    "130077548089353384704187211898530652787"
                ],
                "threshold":  0.9
            },
            "id":  "PUB-A-246301667-b8a76d0f",
            "signature_type":  "Line",
            "signature_version":  "v1",
            "source":  "https://android.googlesource.com/platform/packages/apps/Settings/+/6629b12a08c6b256b208fc52c3da248f05beb3a3",
            "target":  {
                "file":  "src/com/android/settings/network/NetworkProviderSettings.java"
            }
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/android-osv/PUB-A-246301667.json"