Nexbox A95X root command execution in pppoe_wrapper daemon
Nexbox A95X · Amlogic Android SDK
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Nexbox A95X |
| No fix yet |
| Amlogic Amlogic Android SDK |
| No fix yet |
Original description
The pppoe_wrapper vendor daemon from the Amlogic Android SDK, as shipped on Nexbox A95X (Amlogic S905/S905X) TV boxes, contains a command injection vulnerability that allows local attackers to execute arbitrary commands as root by sending crafted messages to a world-writable AF_UNIX datagram socket at /dev/socket/pppoe_wrapper. Attackers can send a message beginning with 'pppd pty' followed by shell metacharacters and arbitrary commands, which are passed unfiltered to system(3) and executed by /system/bin/sh -c as root, resulting in full privilege escalation.