Skip to content
RCE Advisory Advanced CVE-2020-9531

(Pwn2Own) Xiaomi Mi9 Browser Untrusted Site Redirection Remote Code Execution Vulnerability

The Xiaomi GetApps webview in the Mi9 Browser allows an attacker to force a page redirection by manipulating HTML. This could let an attacker execute code in the context of the current process.

FSecureLabs Follow

Originally disclosed on Zero Day Initiative

Medium 5.5 View original

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Xiaomi Mi9 Browser. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

@FSecureLabs, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely insufficient validation of HTML content in the Xiaomi GetApps webview allows forced redirection that can lead to code execution.

Impact

A network-adjacent attacker could execute arbitrary code on affected installations, but the victim must visit a malicious page or open a malicious file.

What the attacker needed

Victim visits a malicious page; or opens a malicious file; network-adjacent attacker

The fix

The vulnerability was fixed in version 2001122.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A webview is a component inside a mobile app that displays web pages. Here, the app's webview could be tricked into redirecting to a malicious page, and that redirect could lead to code running on the phone. The user would need to visit a malicious page or open a malicious file for this to happen.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by FSecureLabs

View all

1 more disclosed report, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.