CVE-2021-41848 Hardcoded credentials in n/a

High 7.8 Published Updated

Local apps can spoof software updates using a hard-coded AES key to execute arbitrary code as root, enabling persistent privilege escalation and data theft.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-41848?

CVE-2021-41848 is a high-severity vulnerability in n/a, published on 11 Mar 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-798

Which versions are affected by CVE-2021-41848?

It affects 5 products.

Products include Bluproducts G90 Firmware, Bluproducts G9 Firmware, Luna Simo Firmware, Wikomobile Tommy 3 Firmware, Wikomobile Tommy 3 Plus Firmware.

How do I fix CVE-2021-41848?

No fix has been published for CVE-2021-41848 yet. Limit exposure of the affected software until one is available.

Is CVE-2021-41848 being exploited?

There is no known exploitation of CVE-2021-41848 in the wild and no public exploit code.

Sources

Also known as GHSA-x838-28hj-38c5.

Is CVE-2021-41848 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free