PixieFail: Nine vulnerabilities in Tianocore's EDK II IPv6 network stack.
Nine vulnerabilities were found in the IPv6 network stack of EDK II, TianoCore's UEFI reference implementation, reachable during network boot. An unauthenticated attacker on the same local network, and in some cases a remote attacker, could cause denial of service, information leakage, remote code execution, DNS cache poisoning or session hijacking.
blog.quarkslab.com
Published on blog.quarkslab.com
Posted Tue 16 January 2024 Authors Francisco Falcon, Iván Arce Category Vulnerability Tags TianoCore, EDK2, UEFI, IPv6, PXE, vulnerability, 2024
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the IPv6 network stack trusted length and option fields in received packets without sanity checks, leading to integer underflows, buffer overflows, out-of-bounds reads, infinite loops and weak randomness.
Impact
The impact of these vulnerabilities includes denial of service, information leakage, remote code execution, DNS cache poisoning, and network session hijacking, though exploitation requires being on the same local network in most cases.
What the attacker needed
Attacker on the same local network; network boot (PXE over IPv6) enabled; ability to send spoofed DHCPv6/ND packets
The fix
The affected vendors were notified and CERT/CC published guidance to deploy fixes and mitigations, with proof of concept detection scripts released.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
UEFI is the firmware that runs before your operating system starts, and it can boot a machine over the network instead of from a disk. That network boot code parses messages from servers on the local network, and the parsing was not careful, so a malicious or spoofed server message could crash the machine or worse. An attacker who can send such messages on the same network can abuse this before any operating system protection is running.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.