Description
The sunxi-debug driver in Allwinner 3.4 legacy kernel for H3, A83T and H8 devices allows local users to gain root privileges by sending "rootmydevice" to /proc/sunxi_debug/sunxi_debug.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Metasploit 1 module
-
Allwinner 3.4 Legacy Kernel Local Privilege Escalation
exploit/multi/local/allwinner_backdoor
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- [oss-security] 20161005 Re: CVE request: sunxi-debug (root privilege escalation in Allwinner kernel) mailing-list
- [oss-security] 20170215 Re: CVE request: sunxi-debug (root privilege escalation in Allwinner kernel) mailing-list
- 93442 vdb-entry
- https://www.rapid7.com/db/modules/exploit/multi/local/allwinner_backdoor
- https://forum.armbian.com/index.php?/topic/1108-security-alert-for-allwinner-sun8i-h3a83th8/
- https://irclog.whitequark.org/linux-sunxi/2016-04-29#16314390