Google Wifi Pro: Secure Boot Bypass (CVE-2024-22013)

Thursday, Nov 26, 2026


CVECVE-2024-22013
AffectedGoogle Wifi Pro, firmware ≤ 3.73.406133
Discovered byRaelize (and Sergei Volokitin)
TimelineReported to Google in April 2024
PresentedOffensiveCon 2026 (Raelize) / hardwear.io 2024 (Sergei)
SeverityHigh
CVSS 3.16.8 (AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
CWECWE-347 Improper Verification of Cryptographic Signature
FixedYes, in 3.74.442328

Summary


U-Boot on the Google Wifi Pro loads its environment from an eMMC partition (ubootenv / 0:APPSBLENV) that is not part of the signed image and is not authenticated. An attacker with eMMC write access adds that partition, sets the atf variable, and U-Boot then boots an unsigned kernel + initrd. A modified init.rc yields a persistent root shell. Only the non-secure chain (U-Boot → Linux) is bypassed; SBL1/QSEE/U-Boot images stay authenticated, but this foothold is the pivot for all later TrustZone work.

Root cause


Two weaknesses combine. First, U-Boot looks up an environment partition by name and trusts whatever CRC-valid image it finds there, and nothing signs or verifies it:

/* bootloader/board/qca/arm/common/env.c (GPL source, 3.73.406133) */
ret = get_partition_info_efi_by_name(blk_dev, "0:APPSBLENV", &disk_info);
if (ret)
    ret = get_partition_info_efi_by_name(blk_dev, "ubootenv", &disk_info);
if (ret == 0) { board_env_offset = disk_info.start * disk_info.blksz; ... }

Second, an environment variable turns off kernel authentication outright:

/* bootloader/board/qca/arm/common/cmd_bootqca.c, do_bootipq() */
if (ret == 0 && buf == 1 && !getenv("atf")) {
    ret = do_boot_signedimg(...);      /* "boot signed image" */
} else {
    ret = do_boot_unsignedimg(...);    /* "boot unsigned image" when atf is set */
}

So an attacker-supplied ubootenv with atf=1 routes boot to the unsigned path.

Proof of concept


Secure Boot bypass on the Google Wifi Pro: U-Boot selects the unsigned path and Linux drops to a root shell

Impact


Persistent root (NS-EL1, unsigned kernel) on any unit with physical eMMC access.

Mitigation


Fixed in 3.74.442328 by removing the ubootenv/APPSBLENV partition lookup (i.e., the default environment is used).

References



Feel free to reach out if you have any questions and/or remarks.

- Raelize.