CVE-2024-4405 Xiaomi Pro 13 mimarket manual-upgrade Cross-Site Scripting Remote Code Execution Vulnerability
Remote attackers can execute arbitrary code on Xiaomi Pro 13 devices via XSS in the mimarket manual-upgrade feature, requiring user interaction.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-4405?
CVE-2024-4405 is a high-severity cross-site scripting vulnerability in Xiaomi Pro 13, published on 2 May 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Xiaomi Pro 13 mimarket manual-upgrade Cross-Site Scripting Remote Code Execution Vulnerability. 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. Was ZDI-CAN-22379.
Weakness: CWE-79
Which versions are affected by CVE-2024-4405?
It affects 1 product.
Products include Mi Xiaomi 13 Pro Firmware.
How do I fix CVE-2024-4405?
No fix has been published for CVE-2024-4405 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-4405 being exploited?
There is no known exploitation of CVE-2024-4405 in the wild and no public exploit code.
Other vulnerabilities in Xiaomi Pro 13
Sources
Also known as GHSA-5cf2-gv4g-4g88.