CVE-2024-48336 is a vulnerability in the Magisk App (prior to canary version 27007) where the install() function in ProviderInstaller.java fails to verify the authenticity of the Google Mobile Services (GMS) app before loading it. This flaw allows a local, unprivileged app to craft a malicious package that is loaded by Magisk without user interaction, resulting in arbitrary code execution within the Magisk app context and privilege escalation to root. The vulnerability is also referenced as Bug #8279.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a working exploit for CVE-2024-48336, a privilege escalation vulnerability in the Magisk app for Android. The exploit is implemented as an Android application that impersonates the Google Mobile Services (GMS) package (applicationId: com.google.android.gms). The exploit leverages Magisk's unsafe dynamic code loading, which fails to verify the authenticity of the GMS app before loading code from it. On devices without GMS preinstalled or with broken signature verification, this allows the exploit app to inject code into the Magisk app process and obtain a root shell without user interaction. The core logic is implemented in three main Java files: - ProviderInstallerImpl.java: Sets up the exploit by injecting a root shell into the Magisk app using IPC via a custom ContentProvider. - MyProvider.java: Implements a ContentProvider that receives file descriptors for the root shell and facilitates command execution. - MainActivity.java: Provides a UI for the attacker to enter arbitrary commands, which are then executed as root via the established shell. The exploit targets Magisk Manager versions v7.0.0 through Canary 27006 on Android devices. It requires the attacker to install the exploit app on a vulnerable device and then interact with the Magisk app to trigger the vulnerability. The exploit provides an interactive root shell, allowing arbitrary command execution as root. The repository is structured as a standard Android Studio project, with all necessary Gradle and resource files included.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.