7.8
HIGH
CVE-2021-41848
"Apache Luna Simo PPR1 Arbitrary Update Shell Injection Vulnerability"
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.

INFO

Published Date :

March 11, 2022, 11:15 p.m.

Last Modified :

July 12, 2022, 5:42 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2021-41848 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Bluproducts g90_firmware
2 Bluproducts g9_firmware
1 Wikomobile tommy_3_firmware
2 Wikomobile tommy_3_plus_firmware
1 Luna simo_firmware
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-41848.

URL Resource
https://athack.com/session-details/401 Third Party Advisory
https://simowireless.com/ Vendor Advisory
https://www.kryptowire.com/android-firmware-2022/ Broken Link
https://www.kryptowire.com/blog/vsim-vulnerability-within-simo-android-phones-exposed/ Exploit Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-41848 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-41848 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CWE Remap by [email protected]

    Jul. 12, 2022

    Action Type Old Value New Value
    Changed CWE CWE-287 CWE-798
  • Initial Analysis by [email protected]

    Mar. 23, 2022

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:C/I:C/A:C)
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://athack.com/session-details/401 No Types Assigned https://athack.com/session-details/401 Third Party Advisory
    Changed Reference Type https://simowireless.com/ No Types Assigned https://simowireless.com/ Vendor Advisory
    Changed Reference Type https://www.kryptowire.com/android-firmware-2022/ No Types Assigned https://www.kryptowire.com/android-firmware-2022/ Broken Link
    Changed Reference Type https://www.kryptowire.com/blog/vsim-vulnerability-within-simo-android-phones-exposed/ No Types Assigned https://www.kryptowire.com/blog/vsim-vulnerability-within-simo-android-phones-exposed/ Exploit, Third Party Advisory
    Added CWE NIST CWE-287
    Added CPE Configuration AND OR *cpe:2.3:o:bluproducts:g90_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:bluproducts:g90:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:bluproducts:g9_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:bluproducts:g9:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:wikomobile:tommy_3_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:wikomobile:tommy_3:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:wikomobile:tommy_3_plus_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:wikomobile:tommy_3_plus:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:luna:simo_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:luna:simo:-:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-41848 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-41848 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.17 }} 0.03%

score

0.54079

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability