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.
{ "fixes": [ "https://android.googlesource.com/platform/frameworks/base/+/55f6a873458b72b99364d531e9e0cd54236f1cc1", "https://android.googlesource.com/platform/frameworks/base/+/55f6a873458b72b99364d531e9e0cd54236f1cc1" ], "severity": "Moderate", "types": [ "EoP" ], "spl": "2023-06-01", "vanir_signatures": [ { "target": { "file": "services/core/java/com/android/server/inputmethod/InputMethodManagerService.java" }, "id": "PUB-A-227207653-15ca8a0b", "deprecated": false, "digest": { "threshold": 0.9, "line_hashes": [ "62254932137817019122658985252098018523", "295964014840922994294226066991664009830", "202812284309818429619527170475318128107", "176704292464204913468701428427164499249" ] }, "source": "https://android.googlesource.com/platform/frameworks/base/+/55f6a873458b72b99364d531e9e0cd54236f1cc1", "signature_type": "Line", "signature_version": "v1" }, { "target": { "file": "services/core/java/com/android/server/inputmethod/InputMethodManagerService.java", "function": "setInputMethodWithSubtypeIdLocked" }, "id": "PUB-A-227207653-18a34f84", "deprecated": false, "digest": { "function_hash": "307625859859531589155261964946132188509", "length": 613.0 }, "source": "https://android.googlesource.com/platform/frameworks/base/+/55f6a873458b72b99364d531e9e0cd54236f1cc1", "signature_type": "Function", "signature_version": "v1" }, { "target": { "file": "services/core/java/com/android/server/inputmethod/InputMethodManagerService.java" }, "id": "PUB-A-227207653-759353e2", "deprecated": false, "digest": { "threshold": 0.9, "line_hashes": [ "62254932137817019122658985252098018523", "295964014840922994294226066991664009830", "202812284309818429619527170475318128107", "176704292464204913468701428427164499249" ] }, "source": "https://android.googlesource.com/platform/frameworks/base/+/55f6a873458b72b99364d531e9e0cd54236f1cc1", "signature_type": "Line", "signature_version": "v1" }, { "target": { "file": "services/core/java/com/android/server/inputmethod/InputMethodManagerService.java", "function": "setInputMethodWithSubtypeIdLocked" }, "id": "PUB-A-227207653-908c9be8", "deprecated": false, "digest": { "function_hash": "307625859859531589155261964946132188509", "length": 613.0 }, "source": "https://android.googlesource.com/platform/frameworks/base/+/55f6a873458b72b99364d531e9e0cd54236f1cc1", "signature_type": "Function", "signature_version": "v1" } ] }
{ "fixes": [ "https://android.googlesource.com/platform/frameworks/base/+/ceb9a211ec362d32ca98d7c346667370e7775b32" ], "severity": "Moderate", "types": [ "EoP" ], "spl": "2023-06-01", "vanir_signatures": [ { "target": { "file": "services/core/java/com/android/server/inputmethod/InputMethodManagerService.java", "function": "setInputMethodWithSubtypeIdLocked" }, "id": "PUB-A-227207653-31c53218", "deprecated": false, "digest": { "function_hash": "307625859859531589155261964946132188509", "length": 613.0 }, "source": "https://android.googlesource.com/platform/frameworks/base/+/ceb9a211ec362d32ca98d7c346667370e7775b32", "signature_type": "Function", "signature_version": "v1" }, { "target": { "file": "services/core/java/com/android/server/inputmethod/InputMethodManagerService.java" }, "id": "PUB-A-227207653-8bbbc9ab", "deprecated": false, "digest": { "threshold": 0.9, "line_hashes": [ "62254932137817019122658985252098018523", "295964014840922994294226066991664009830", "202812284309818429619527170475318128107", "176704292464204913468701428427164499249" ] }, "source": "https://android.googlesource.com/platform/frameworks/base/+/ceb9a211ec362d32ca98d7c346667370e7775b32", "signature_type": "Line", "signature_version": "v1" } ] }