(Pwn2Own) Philips Hue Bridge HomeKit hk_hap_pair_storage_put Heap-based Buffer Overflow Remote Code Execution Vulnerability
The Philips Hue Bridge's HomeKit implementation has a heap-based buffer overflow in the hk_hap_pair_storage_put function because it does not validate the length of user-supplied data before copying it. A network-adjacent attacker without authentication could exploit this to execute arbitrary code on the device.
Xilokar (@[email protected]) Follow
Originally disclosed on Zero Day Initiative
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Philips Hue Bridge. Authentication is not required to exploit this vulnerability.
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 report has not been written yet. The Original tab links to the source.
How it worked
Impact
A network-adjacent attacker without authentication could execute arbitrary code on the device.
What the attacker needed
Network-adjacent access; no authentication required
The fix
The vulnerability was fixed in Bridge v2 Software version 1975170000.
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 report has not been written yet. The Original tab links to the source.
A heap-based buffer overflow happens when a program copies more data into a memory area than it can hold, potentially letting an attacker overwrite nearby memory. Here, the Philips Hue Bridge does this when handling certain network data, so someone on the same network could take control of the device without logging in.
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.