Skip to content
RCE Advisory Advanced CVE-2020-9530

(Pwn2Own) Xiaomi Mi9 Browser manualUpgradeInfo Improper Control of Generation of Code Remote Code Execution Vulnerability

The Xiaomi Mi9 Browser mishandled manualUpgradeInfo objects because it did not properly validate user-supplied data, allowing an attacker to inject an arbitrary script. An attacker could use this to run code in the context of the browser process if the victim visited a malicious page or opened a malicious file.

fluoroacetate Follow

Originally disclosed on Zero Day Initiative

High 8.8 View original

This vulnerability allows remote 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.

@fluoroacetate, 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 the browser failed to validate data inside manualUpgradeInfo objects before using it, letting attacker-controlled script be injected.

Impact

An attacker could execute arbitrary code in the context of the current process, but the victim must first visit a malicious page or open a malicious file.

What the attacker needed

Victim uses Xiaomi Mi9 Browser; victim visits a malicious page; or victim opens a malicious file

The fix

It was fixed in version 11.0.1.54 of the browser.

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 phone browser accepted data from outside without checking it carefully. Because of that, a crafted web page or file could slip in a script, which is a small program the browser runs. The attacker could then make the browser run their own code, but only if the person opened the malicious page or file.

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 fluoroacetate

View all

6 more disclosed reports, 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.