CVE-2019-15027: MediaTek eMMC - Command Injection
- Cve: CVE-2019-15027
- Name: MediaTek eMMC - Command Injection
- Description: The MediaTek Embedded Multimedia Card (eMMC) subsystem for Android on MT65xx, MT66xx, and MT8163 SoC devices allows attackers to execute arbitrary commands as root via shell metacharacters in a filename under /data, because clear_emmc_nomedia_entry in platform/mt6577/external/meta/emmc/meta_clr_emmc.c invokes 'system("/system/bin/rm -r /data/' followed by this filename upon an eMMC clearance from a Meta Mode boot. NOTE: compromise of Fire OS on the Amazon Echo Dot would require a second hypothetical vulnerability that allows creation of the required file under /data.
- Impact: Attackers can execute arbitrary commands as root, potentially leading to full device compromise.
- Remediation: Update to the latest firmware or apply security patches that sanitize filename inputs and prevent command injection.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution, privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.03181
- Epss percentile: 0.88393
- Assignee: [email protected]
- Published at: 2019-08-14T13:15:11Z
- Age in days: 2659
- Modified at: 2026-06-17T02:19:33Z
- Public exploits total: 1
- References total: 2
- Products total: 3
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-15027
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://dojo.bullguard.com/dojo-by-bullguard/blog/gaining-rooting-primitives-for-android-mediatek-chips/ | nvd | 2019-08-14 |
References
| Url | Source | Tags |
|---|---|---|
| https://dojo.bullguard.com/dojo-by-bullguard/blog/gaining-rooting-primitives-for-android-mediatek-chips/ | nvd | Exploit, Third Party Advisory |
| https://github.com/andr3jx/MTK6577/blob/238012ebf18e3751397884d1742ff7ab6417e80d/mediatek/platform/mt6577/external/meta/emmc/meta_clr_emmc.c#L302-L305 | nvd | Third Party Advisory |
Products
Same in every row:
- Affected: all versions
- Platform bound: yes
- Sources: nvd
| Product | Url |
|---|---|
| mediatek:mt6577_firmware | /v1/products/mediatek/mt6577_firmware |
| mediatek:mt6625_firmware | /v1/products/mediatek/mt6625_firmware |
| mediatek:mt8163_firmware | /v1/products/mediatek/mt8163_firmware |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2019-08-14
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts