CVE-2016-5195
CVE-2016-5195 copied to clipboard
setresgid/setresuid failed
Next phone: Huawei P8
Output:
MBP-Krzysztof:CVE-2016-5195 krzysiek$ adb shell /system/bin/run-as
uid /system/bin/run-as 2000
setresgid/setresuid failed
uid 2000
0 u:r:runas:s0
context 0 u:r:shell:s0
shell@hwALE-H:/ $ whoami
whoami
shell
shell@hwALE-H:/ $ id
id
uid=2000(shell) gid=2000(shell) groups=2000(shell),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats) context=u:r:shell:s0
study about the SELinux policies .. in short run-as donot have suid bit set in new android versions, in newer android versions SElinux policies are implemented as capabilities.
So if it gives this error it means it's not vulnerable? or there's still a way to exploit the device? @r0hi7