CVE-2023-49794 The logic of get apk path in KernelSU module can be bypassed

Medium 6.7 Published Updated

A malicious APK with a specific package name can bypass path checks to gain root privileges on devices using KernelSU.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2023-49794?

CVE-2023-49794 is a medium-severity vulnerability in tiann KernelSU, published on 2 Jan 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

KernelSU is a Kernel-based root solution for Android devices. In versions 0.7.1 and prior, the logic of get apk path in KernelSU kernel module can be bypassed, which causes any malicious apk named `me.weishu.kernelsu` get root permission. If a KernelSU module installed device try to install any not checked apk which package name equal to the official KernelSU Manager, it can take over root privileges on the device. As of time of publication, a patched version is not available.

Weakness: CWE-290

Which versions are affected by CVE-2023-49794?

It affects 1 product.

Products include Kernelsu Kernelsu.

How do I fix CVE-2023-49794?

No fix has been published for CVE-2023-49794 yet. Limit exposure of the affected software until one is available.

Is CVE-2023-49794 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-49794 exists.

Sources

Also known as GHSA-8rc5-x54x-5qc4.

Is CVE-2023-49794 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free