If you're going to put an image parser at the most sensitive stage of a computer's boot process, make sure to use one which has been written in a memory-safe language.
This UEFI exploit impacts pretty much every Windows and Linux device and bypasses Secure Boot
@bascule mistakes were made.
@bascule I still don't think the image parser is the only issue here.
I don't get why there is no memory protection (why segments that are executable are also writable), nor why there couldn't be ASLR.
@baloo I wonder if getting your UEFI bootloader to display an image is like “Hello, world!” and it just was never properly hardened after that
@bascule I suddenly want a hacked BIOS with that image parser fixed. And by fixed, I mean overwritten with 0x90.
@bascule kind of like you can spellcheck a document ten times, you will probably still have a spelling error in the headline.