Root code execution via unverified GMS package
Published Nov 4, 2024 · Updated Nov 4, 2024
Privilege escalation in Magisk App before canary 27007 allows local users to execute arbitrary code as root through a crafted GMS package. ProviderInstaller.install() creates a code-enabled package context and loads ProviderInstallerImpl from com.google.android.gms without ensuring that package is a system app. Exploitation requires a device without preinstalled GMS or with broken signature verification, but needs no prior privileges or user interaction.
Summary
What happened
Privilege escalation in Magisk App before canary 27007 allows local users to execute arbitrary code as root through a crafted GMS package. ProviderInstaller.install() creates a code-enabled package context and loads ProviderInstallerImpl from com.google.android.gms without ensuring that package is a system app. Exploitation requires a device without preinstalled GMS or with broken signature verification, but needs no prior privileges or user interaction.
The record
- CVE
- CVE-2024-48336
- Published
- Nov 4, 2024
- Updated
- Nov 4, 2024
- Vendor
- Magisk
- Product
- Magisk
- Classifications
- CWE-829, T1404
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Nov 4, 2024CVE publishedPublication date reported by the CVE source.
- Nov 4, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <canary27007
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- MagiskEoP proof of conceptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo