docs / models / 50A51HUV / 09.01O.P0813 / findings

alvidaa findings — who runs what — the privilege map (recon §10.4, 10.6–10.8)

Split from the original FINDINGS.md lab notebook. Canonical record; the blog and STORY.md draw from these.

10.4 Who runs what (privilege map)

10.6 Lane assessment

  1. Persistent code exec as uid 314: phoenix runs JS from our writable /APPS. If the package isn't re-extracted at boot, augmenting phoenix.server.js = arbitrary code exec at every service restart (see §10.7 below for the v5 dump).
  2. Root: needs a root-run service that consumes attacker-controlled files from a rw mount (mapped in §10.7–10.8 below, leading to the rc.local hook in 05-root-primitive.md), the /OAD/OTA lane (otaflag=170 → rcS.OTA/rc.ota), a kernel route on the MTK box, or the UART gate (physical; scripts are root-only readable).
  3. Everything alvidaa does today minus MQTT: uid-314 read/write already covers app install and config without the RemoteNow channel.

10.7 v5 results: the backend source, the boot map, and the root trigger

10.8 v6 results: the root-side consumers of our writable mounts

euladpp: a candidate root lane and its later test (Oct 30)

Field report from a 2026-07 firmware (V0000.09.60V.Q0612, MTK9603, VIDAA 9.0) says the ../ escape is closed. An initial hypothesis from the older 09.01 dump was that euladpp could provide a root path without traversal; subsequent testing did not establish that path:

Other hypotheses, including app-install behavior and the raw API on newer firmware, require model-specific confirmation. The 09.60 EU_A reporter observed fileWrite denied even for in-sandbox paths, so a reachable base alone does not establish an install or write path. See the patched-firmware playbook.

Tar-slip verdict (live-tested Oct 30): GNU tar 1.17 on this firmware refuses BOTH classic vectors — symlink members are created but unlinked (not followed) when a file member writes through them, and .. members are detected ("Member name contains '..'") and sanitized to relative paths. Combined with the init-check's chown -R UhisTvm + chmod -R 644 stripping any setuid bits, the euladpp untar is file-ops-as-root only — no code exec. The no-traversal root lane needs a different primitive; Chromium N-days and the installed-app context remain the open ones.

Static-audit corrections (2026-11-04, from the pristine vendor tree): euladpp-init-check.sh decompresses into /OAD/eulaDppTemp, not /opt/eulaDppTemp — /opt/euladpp is the read-only backup source the script copies eulaDpp.tar.gz from when the /APPS copy is missing. And the boot-time OEM deploy copies the staging tree unfiltered: oem_files_white_name.ini gates only import_oem_data.sh/export_oem_data.sh (the USB lane), not deploy_oem_data.sh — the destination set is what bounds that lane, and it stays data-only. Method entries filed in EXPLOITS.md (uart-console-gate, oem-staging-deployer, ipk-channel-symlink-flipper).

superwatch_server and the IPK channel (2026-11-04, static)

From the pristine vendor tree (usr-local/bin + usr-local/scripts; binaries via strings only — no disassembly, no live test):