In setPackageOrComponentEnabled of NotificationManagerService.java, there is a missing permission check. This could lead to local information disclosure about enabled notification listeners with User execution privileges needed. User interaction is not needed for exploitation.
{ "vanir_signatures": [ { "match_only_versions": [ "12L-next" ], "digest": { "length": 325.0, "function_hash": "74169396570657966458974536996553015934" }, "id": "PUB-A-220737634-86010cb6", "source": "https://android.googlesource.com/platform/frameworks/base/+/8ea87a68775662cdeb9e6786e95da48cdfe6d792", "deprecated": false, "signature_version": "v1", "target": { "file": "services/core/java/com/android/server/notification/NotificationManagerService.java", "function": "setPackageOrComponentEnabled" }, "signature_type": "Function" }, { "match_only_versions": [ "12L-next" ], "digest": { "threshold": 0.9, "line_hashes": [ "139727855134190292215210315809558621887", "328184728541673823851081058804331044837", "28306553086583300279790545081634269497", "212366489182376849850214613363801528837", "216324127212490409410530310274160899549", "337765672091484012893070019445469805132", "216031990540261583274555498325510460896" ] }, "id": "PUB-A-220737634-e6d499aa", "source": "https://android.googlesource.com/platform/frameworks/base/+/8ea87a68775662cdeb9e6786e95da48cdfe6d792", "deprecated": false, "signature_version": "v1", "target": { "file": "services/core/java/com/android/server/notification/NotificationManagerService.java" }, "signature_type": "Line" } ], "fixes": [ "https://android.googlesource.com/platform/frameworks/base/+/8ea87a68775662cdeb9e6786e95da48cdfe6d792" ], "spl": "2022-06-01", "severity": "Moderate", "types": [ "ID" ] }
{ "vanir_signatures": [ { "match_only_versions": [ "12L" ], "digest": { "length": 325.0, "function_hash": "74169396570657966458974536996553015934" }, "id": "PUB-A-220737634-6cf30ba0", "source": "https://android.googlesource.com/platform/frameworks/base/+/89f6161d7a9fc8860b1363f16fb33f924e3cf760", "deprecated": false, "signature_version": "v1", "target": { "file": "services/core/java/com/android/server/notification/NotificationManagerService.java", "function": "setPackageOrComponentEnabled" }, "signature_type": "Function" }, { "match_only_versions": [ "12L" ], "digest": { "threshold": 0.9, "line_hashes": [ "139727855134190292215210315809558621887", "328184728541673823851081058804331044837", "28306553086583300279790545081634269497", "212366489182376849850214613363801528837", "216324127212490409410530310274160899549", "337765672091484012893070019445469805132", "216031990540261583274555498325510460896" ] }, "id": "PUB-A-220737634-95bae6e8", "source": "https://android.googlesource.com/platform/frameworks/base/+/89f6161d7a9fc8860b1363f16fb33f924e3cf760", "deprecated": false, "signature_version": "v1", "target": { "file": "services/core/java/com/android/server/notification/NotificationManagerService.java" }, "signature_type": "Line" } ], "fixes": [ "https://android.googlesource.com/platform/frameworks/base/+/89f6161d7a9fc8860b1363f16fb33f924e3cf760" ], "spl": "2022-06-01", "severity": "Moderate", "types": [ "ID" ] }