Categories: Vulnerability

Xiaomi Phones with MediaTek Chips Found Vulnerable to Forged Payments

CheckPoint researched the payment system built into Xiaomi smartphones powered by MediaTek chips. From the analysis, they identified vulnerabilities that can allow the forging of payment packages or disabling the payment system directly from an unprivileged Android application.

Xiaomi’s TEE

The trusted execution environment (TEE) aims to process and store sensitive security information such as cryptographic keys and fingerprints. TEE protection is based on hardware extensions (such as ARM TrustZone) that keep the TEE world safe even on rooted devices or those compromised by malware.

Generally, popular implementations of the TEE for mobile devices are Qualcomm’s Secure Execution Environment (QSEE) and Trustronic’s Kinibi.TEE creates a secure virtual world managed by a trusted OS that runs trusted apps, also a trusted app implements a specific security feature.

Xiaomi devices on Qualcomm chips use QSEE trusted OS. MediaTek-based devices use Kinibi. Researchers tested Xiaomi Redmi Note 9T 5G with MIUI Global 12.5.6.0 OS.

Trusted App Format

Researchers explain that a trusted app can have multiple signatures following the magic fields. The magic fields are the same across all trusted apps on the device. Also, they are the same as the app fields of all other devices, such as Xiaomi T11 and Xiaomi Note 8 Pro.

Trusted app format

“An attacker can bypass security fixes made by Xiaomi or MediaTek in trusted apps by downgrading them to unpatched versions”, CheckPoint.

In the case of Xiaomi, it follows the GlobalPlatform TEE Internal Core API Specification in implementing trusted apps. Each app exports the “TA Interface” functions, which are the entry points to create the app instance, notify the instance that a new client is connecting, notify the instance when the client invokes a command, and so on.

Tencent soter architecture

Xiaomi devices have an embedded mobile payment framework called Tencent Soter that provides an API for third-party Android applications to integrate the payment capabilities.

An unprivileged Android application could exploit the CVE-2020-14125 vulnerability to execute code in the soter trusted app and forge payment packets.

Xiaomi, following responsible disclosure, has rolled out patches to address CVE-2020-14125 on June 6, 2022. “The downgrade issue, which has been confirmed by Xiaomi to belong to a third-party vendor, is being fixed,” Check Point added.

Sponsored: Your SWG Battle Plan: 3 Steps to Achieve Web Security
Guru Baran

Gurubaran KS is a cybersecurity analyst, and Journalist with a strong focus on emerging threats and digital defense strategies. He is the Co-Founder and Editor-in-Chief of Cyber Security News, where he leads editorial coverage on global cybersecurity developments.

Recent Posts

Hackers Target AI Infrastructure With RCE, Prompt Injection and API Key Theft

Hackers are actively probing AI systems, turning exposed gateways and agent tools into routes for…

4 hours ago

Hackers Make Phishing Pages Change Their Code Every Time Someone Opens Them

Hackers are making some phishing pages harder to track by changing the code delivered to…

4 hours ago

Iran-Linked Hackers Reportedly Knock UK Power Plant Offline for Four Days

A cyber incident reportedly forced a British power plant to halt operations for about four…

5 hours ago

Russian Hackers Use New HOOKEDGE Malware to Spy on European Defense and Diplomatic Targets

Russian hackers have used a new backdoor called HOOKEDGE to target defense manufacturers, government bodies,…

5 hours ago

Ransomware Gang Claims AI Can Analyze 700GB of Stolen Data Every Hour

TITAN ransomware is pairing file encryption with an ambitious claim: artificial intelligence that can sort…

5 hours ago

Hackers Compromise Hundreds of WordPress Sites to Deploy Amatera Stealer via ClickFix

A fake student resume is being used to place a remote-access tool on researchers’ Windows…

7 hours ago