• Successful_Try543@feddit.org
      link
      fedilink
      arrow-up
      24
      ·
      24 hours ago

      There usually isn’t a su binary installed on non-rooted Androids. If you’re rooting it yourself anyways, there’s no need to use the exploit.

      • Lee@retrolemmy.com
        link
        fedilink
        arrow-up
        4
        ·
        13 hours ago

        While the POC requires su, the underlying flaw potentially works on any setuid binary on systems with AF_ALG enabled (provided there isn’t something else preventing it).

        • Pika@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          3
          ·
          edit-2
          12 hours ago

          In android this would very likely be the “mount” command, as if it has a microsd card reader or the ability to use a USB data transfer I expect it’s using mount in order to do so.

      • Maki@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        4
        ·
        24 hours ago

        I’m not as smart as the people who make alternative android options. I was just hoping it would help them jailbreak more of goggle’s bullshit so customers actually have a choice to go for an android OS which respects them and their privacy.

          • Scoopta@programming.dev
            link
            fedilink
            arrow-up
            18
            ·
            23 hours ago

            SELinux breaks a lot of android root exploits, way back in the day even dirty cow didn’t work. It would get you “root” but not actually the full perms because of SELinux. Really good testament to the added security of MAC, it’s one of the reasons I run apparmor on my systems

            • village604@adultswim.fan
              link
              fedilink
              English
              arrow-up
              2
              ·
              edit-2
              12 hours ago

              I’ll be happy if I never have to look at SELinux or fapolicy ever again. Especially fapolicy because the documentation is shit.

              It’s the one thing I don’t miss about being a sysadmin.

          • Lucy :3@feddit.org
            link
            fedilink
            arrow-up
            1
            ·
            19 hours ago

            Aww dang it

            Well ok who tf cares I can literally just connect to adb over localhost with termux and do adb root

      • lime!@feddit.nu
        link
        fedilink
        arrow-up
        8
        ·
        21 hours ago

        you’d only need to change the payload part, which is a compiled x86 ELF header.