PINE64
Back Door found in Allwinner Kernels - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6)
+--- Thread: Back Door found in Allwinner Kernels (/showthread.php?tid=1014)



Back Door found in Allwinner Kernels - BuildTheRobots - 05-11-2016

Don't have my board available to test, but does anyone know if this issue effects the Pine64 linux (and potentially android) images?

Article: http://www.theregister.co.uk/2016/05/09/allwinners_allloser_custom_kernel_has_a_nasty_root_backdoor/

also comments on HackerNews: https://news.ycombinator.com/item?id=11672590


tldr: if `/proc/sunxi_debug/sunxi_debug` exists, try writing "rootmydevice" to it - the process that does gets root.


RE: Back Door found in Allwinner Kernels - tkaiser - 05-11-2016

If people would start to click on the links in articles they link to then this FUD would've already stopped. 'Original' article linked to: http://forum.armbian.com/index.php/topic/1108-security-alert-for-allwinner-sun8i-h3a83th8/

Time between issue detected and confirmed that's a non issue for A64 BSP kernel by longsleep: 5 MINUTES http://irclog.whitequark.org/linux-sunxi/2016-04-29#16314390 (look at the timestamps).

Time it took to start the usual Allwinner bashing using wrong claims all Allwinner devices would be affected: Over a week.

And BTW: It's not a backdoor, it's just a nice local privileges escalation  Tongue


RE: Back Door found in Allwinner Kernels - BuildTheRobots - 05-11-2016

(05-11-2016, 08:52 AM)tkaiser Wrote: If people would start to click on the links in articles they link to then this FUD would've already stopped. 'Original' article linked to: http://forum.armbian.com/index.php/topic/1108-security-alert-for-allwinner-sun8i-h3a83th8/

Time between issue detected and confirmed that's a non issue for A64 BSP kernel by longsleep: 5 MINUTES http://irclog.whitequark.org/linux-sunxi/2016-04-29#16314390 (look at the timestamps).

Time it took to start the usual Allwinner bashing using wrong claims all Allwinner devices would be affected: Over a week.

And BTW: It's not a backdoor, it's just a nice local privileges escalation  Tongue

Wasn't aware of the armbian site, though it's now bookmarked; thank you. Obviously wasn't aware of the irc logs though it's nice to be able to reference them; thank you agian.
Title was copy/pasted from the register article; deliberately not edited as I didn't want to be accused of prejudice.

tldr: nothing to see, no excitement, move along - which is probably the best outcome if slightly less exciting than I was hoping for Wink


RE: Back Door found in Allwinner Kernels - nomadewolf - 05-14-2016

This is very bad.
But it sheds some light on why Allwinner refuses to cooperate with open source...