We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.
Please see our statement on Data Privacy.
KernelSU is a Kernel based root solution for Android. Starting in version 0.6.1 and prior to version 0.7.0, if a KernelSU installed device is infected with a malware whose app signing block specially constructed, it can take over root privileges on the device. The vulnerable verification logic actually obtains the signature of the last block with an id of `0x7109871a`, while the verification logic during Android installation is to obtain the first one. In addition to the actual signature upgrade that has been fixed (KSU thought it was V2 but was actually V3), there is also the problem of actual signature downgrading (KSU thought it was V2 but was actually V1). Find a condition in the signature verification logic that will cause the signature not to be found error, and KernelSU does not implement the same conditions, so KSU thinks there is a V2 signature, but the APK signature verification actually uses the V1 signature. This issue is fixed in version 0.7.0. As workarounds, keep the KernelSU manager installed and avoid installing unknown apps.
Reserved 2023-10-16 | Published 2023-10-30 | Updated 2024-09-05 | Assigner GitHub_MCWE-863: Incorrect Authorization
github.com/...rnelSU/security/advisories/GHSA-86cp-3prf-pwqq
github.com/...ommit/d24813b2c3738f2f9bd762932141cadd948c354f
drive.google.com/...olders/1XdYCCAhC_mkt1k1IyUiwcgFsuOFvwNRl
github.com/...12b692016750cda363f9f3500182/kernel/apk_sign.c
github.com/...12b692016750cda363f9f3500182/kernel/apk_sign.c
aospxref.com/...a/android/util/apk/ApkSigningBlockUtils.java
aospxref.com/...a/android/util/apk/ApkSigningBlockUtils.java
Support options