In setInputMethodWithSubtypeIdLocked of InputMethodManagerService.java, there is a possible way to setup input methods that are not enabled due to improper input validation. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.
{ "vanir_signatures": [ { "match_only_versions": [ "13-next" ], "digest": { "threshold": 0.9, "line_hashes": [ "62254932137817019122658985252098018523", "295964014840922994294226066991664009830", "202812284309818429619527170475318128107", "176704292464204913468701428427164499249" ] }, "id": "PUB-A-227207653-15ca8a0b", "source": "https://android.googlesource.com/platform/frameworks/base/+/55f6a873458b72b99364d531e9e0cd54236f1cc1", "deprecated": false, "signature_version": "v1", "target": { "file": "services/core/java/com/android/server/inputmethod/InputMethodManagerService.java" }, "signature_type": "Line" }, { "match_only_versions": [ "13-next" ], "digest": { "length": 613.0, "function_hash": "307625859859531589155261964946132188509" }, "id": "PUB-A-227207653-18a34f84", "source": "https://android.googlesource.com/platform/frameworks/base/+/55f6a873458b72b99364d531e9e0cd54236f1cc1", "deprecated": false, "signature_version": "v1", "target": { "file": "services/core/java/com/android/server/inputmethod/InputMethodManagerService.java", "function": "setInputMethodWithSubtypeIdLocked" }, "signature_type": "Function" }, { "match_only_versions": [ "13-next" ], "digest": { "threshold": 0.9, "line_hashes": [ "62254932137817019122658985252098018523", "295964014840922994294226066991664009830", "202812284309818429619527170475318128107", "176704292464204913468701428427164499249" ] }, "id": "PUB-A-227207653-759353e2", "source": "https://android.googlesource.com/platform/frameworks/base/+/55f6a873458b72b99364d531e9e0cd54236f1cc1", "deprecated": false, "signature_version": "v1", "target": { "file": "services/core/java/com/android/server/inputmethod/InputMethodManagerService.java" }, "signature_type": "Line" }, { "match_only_versions": [ "13-next" ], "digest": { "length": 613.0, "function_hash": "307625859859531589155261964946132188509" }, "id": "PUB-A-227207653-908c9be8", "source": "https://android.googlesource.com/platform/frameworks/base/+/55f6a873458b72b99364d531e9e0cd54236f1cc1", "deprecated": false, "signature_version": "v1", "target": { "file": "services/core/java/com/android/server/inputmethod/InputMethodManagerService.java", "function": "setInputMethodWithSubtypeIdLocked" }, "signature_type": "Function" } ], "fixes": [ "https://android.googlesource.com/platform/frameworks/base/+/55f6a873458b72b99364d531e9e0cd54236f1cc1", "https://android.googlesource.com/platform/frameworks/base/+/55f6a873458b72b99364d531e9e0cd54236f1cc1" ], "spl": "2023-06-01", "severity": "Moderate", "types": [ "EoP" ] }