PUB-A-183610267

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

In onCreate of UsbPermissionActivity.java, there is a possible way to grant an app access to USB without informed user consent due to a tapjacking/overlay attack. This could lead to local escalation of privilege with User execution privileges needed. User interaction is needed for exploitation.

References

Affected packages

Android / platform/frameworks/base

Affected ranges

Type
ECOSYSTEM
Events
Introduced
12:0
Fixed
12:2021-12-01

Affected versions

Other

12

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "163532671664865422384218442337373839030",
                    "310103082694577466317846615954586161197",
                    "281521133877572510902589135737756547925",
                    "138804174498789341152941173329259920122",
                    "175494018964404855900479112542516289229",
                    "50698346722460284117743682877130884733",
                    "317074890106218256720470517531320743497"
                ]
            },
            "id": "PUB-A-183610267-29983c6d",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/fe59586648042e7e8e45362d4489989a938d0947",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "packages/SystemUI/src/com/android/systemui/usb/UsbPermissionActivity.java"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 2560.0,
                "function_hash": "39265625895105472026225187673510550227"
            },
            "id": "PUB-A-183610267-b3902a49",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/fe59586648042e7e8e45362d4489989a938d0947",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "packages/SystemUI/src/com/android/systemui/usb/UsbPermissionActivity.java",
                "function": "onCreate"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/fe59586648042e7e8e45362d4489989a938d0947"
    ],
    "spl": "2021-12-01",
    "severity": "Moderate",
    "types": [
        "EoP"
    ]
}