CVE-2024-4405: Xiaomi Pro 13 - Cross-Site Scripting & Remote Code Execution
- Cve: CVE-2024-4405
- Name: Xiaomi Pro 13 - Cross-Site Scripting & Remote Code Execution
- 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.
- Impact: Attackers can execute arbitrary code on the device, potentially leading to full device compromise or data theft.
- Remediation: Apply the latest firmware update from Xiaomi that addresses this vulnerability.
- Vulnerability type: template_injection
- Vulnerability impact: client_script_exec, remote_code_execution
- Requirement type: user_interaction
- Requirements: Victim must visit a malicious page or open a malicious file
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.6
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- Epss score: 0.01232
- Epss percentile: 0.69725
- Assignee: [email protected]
- Published at: 2024-05-02T15:15:07Z
- Age in days: 936
- Modified at: 2026-06-17T08:01:49Z
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-4405
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
| Url | Source | Tags |
|---|---|---|
| https://www.zerodayinitiative.com/advisories/ZDI-24-418/ | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mi:xiaomi_13_pro_firmware | = 14.0.5.0 | yes | nvd | /v1/products/mi/xiaomi_13_pro_firmware |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts