MIUI theme flaw enables SystemUI method calls

If you install third-party MIUI lock-screen themes, a malicious package may be able to execute selected Java methods inside Android SystemUI without root access.

MIUI theme flaw enables SystemUI method calls

Key points

  • A malicious lock-screen theme can request static Java method calls with theme-controlled arguments inside the SystemUI process.
  • The researcher confirmed execution of a Log.D call under the SystemUI identity; the wider consequences of available method calls were not established.
  • The issue was tested only on a Xiaomi 22101317C running Android 14 and HyperOS OS 2.0.6.0; other versions remain unverified.

Context

MIUI lock-screen themes can contain MAML scripts rather than only static visual resources. On the tested HyperOS build, a method command in the theme manifest led to a static Java call executed as SystemUI with UID 1000. Exploitation requires installation of a malicious theme, but no root privileges were needed.

What this means for you

Already in effect

For you, treat theme files and similar extension formats as executable inputs, and review their runtime privileges, invocation restrictions and trust boundaries.

Who benefits: Developers of Android theme systems can use the disclosed execution chain to design stronger restrictions and tests for untrusted extensions.

Share article:

Does a report affect your system?

Send the link to the report and two sentences about your system. You get an assessment of whether action is needed and what the fix looks like.