An issue was discovered in Luna Simo PPR1.180610.011/202001031830. It mishandles software updates such that local third-party apps can provide a spoofed software update file that contains an arbitrary shell script and arbitrary ARM binary, where both will be executed as the root user with an SELinux domain named osi. To exploit this vulnerability, a local third-party app needs to have write access to external storage to write the spoofed update at the expected path. The vulnerable system binary (i.e., /system/bin/osi_bin) does not perform any authentication of the update file beyond ensuring that it is encrypted with an AES key (that is hard-coded in the vulnerable system binary). Processes executing with the osi SELinux domain can programmatically perform the following actions: install apps, grant runtime permissions to apps (including permissions with protection levels of dangerous and development), access extensive Personally Identifiable Information (PII) using the programmatically grant permissions, uninstall apps, set the default launcher app to a malicious launcher app that spoofs other apps, set a network proxy to intercept network traffic, unload kernel modules, set the default keyboard to a keyboard that has keylogging functionality, examine notification contents, send text messages, and more. The spoofed update can optionally contain an arbitrary ARM binary that will be locally stored in internal storage and executed at system startup to achieve persistent code execution as the root user with the osi SELinux domain. This ARM binary will continue to execute at startup even if the app that provided the spoofed update is uninstalled.
References
Link | Resource |
---|---|
https://athack.com/session-details/401 | Third Party Advisory |
https://www.kryptowire.com/android-firmware-2022/ | Broken Link |
https://simowireless.com/ | Vendor Advisory |
https://www.kryptowire.com/blog/vsim-vulnerability-within-simo-android-phones-exposed/ | Exploit Third Party Advisory |
Configurations
Configuration 1 (hide)
AND |
|
Configuration 2 (hide)
AND |
|
Configuration 3 (hide)
AND |
|
Configuration 4 (hide)
AND |
|
Configuration 5 (hide)
AND |
|
Information
Published : 2022-03-11 15:15
Updated : 2022-07-12 10:42
NVD link : CVE-2021-41848
Mitre link : CVE-2021-41848
JSON object : View
CWE
CWE-798
Use of Hard-coded Credentials
Products Affected
wikomobile
- tommy_3
- tommy_3_firmware
- tommy_3_plus
- tommy_3_plus_firmware
bluproducts
- g90_firmware
- g9_firmware
- g9
- g90
luna
- simo_firmware
- simo