(Pwn2Own) Xiaomi Pro 13 mimarket manual-upgrade Cross-Site Scripting Remote Code Execution Vulnerability
Vulnerability Details
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Xiaomi Pro 13 smartphones. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The specific flaw exists within the manual-upgrade.html file. When parsing the manualUpgradeInfo parameter, the process does not properly sanitize user-supplied data, which can lead to the injection of an arbitrary script. An attacker can leverage this vulnerability to execute code in the context of the current user.
Additional Details
According to Xiaomi, ZDI-CAN-22379 was addressed in GetApps 32.0.0.1. Xiaomi informed ZDI they would assign a CVE, but never followed through.
Disclosure Timeline
- 2023-11-09 - Vulnerability reported to vendor
- 2024-05-01 - Coordinated public release of advisory
- 2024-07-01 - Advisory Updated
Credit
@hoangnx99, @vudq16, @biennd279, @_q5ca from @vcslab