CVE-2024-48336 Code injection in n/a
A local untrusted app can execute arbitrary code in Magisk and escalate privileges to root due to missing verification of the GMS app during installation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-48336?
CVE-2024-48336 is a high-severity code injection vulnerability in n/a, published on 4 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The install() function of ProviderInstaller.java in Magisk App before canary version 27007 does not verify the GMS app before loading it, which allows a local untrusted app with no additional privileges to silently execute arbitrary code in the Magisk app and escalate privileges to root via a crafted package, aka Bug #8279. User interaction is not needed for exploitation.
Weakness: CWE-829
Which versions are affected by CVE-2024-48336?
How do I fix CVE-2024-48336?
No fix has been published for CVE-2024-48336 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-48336 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-48336 exists.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-9xg5-55cm-9gxr.