(Pwn2Own) Sonos Era 300 Heap-based Buffer Overflow Remote Code Execution Vulnerability
The Sonos Era 300 speaker fails to validate the length of user-supplied ALAC data before copying it into a heap buffer, causing a heap-based buffer overflow. A network-adjacent attacker without authentication could exploit this to execute arbitrary code as the anacapa user.
Originally disclosed on Zero Day Initiative
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected Sonos Era 300 speakers. 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
Root cause
Likely the ALAC data processing routine copies user-supplied data into a heap buffer without first checking that the data length fits the buffer.
Impact
A network-adjacent attacker without authentication could execute arbitrary code on the speaker as the anacapa user.
What the attacker needed
Network-adjacent access; no authentication required
The fix
The vulnerability was fixed in Player v:83.1-61240 Release v:16.6.
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 buffer is a temporary storage area in memory. The speaker copies incoming audio data into this area without checking if the data is too large, so an attacker on the same network can send extra data that spills over and lets them run their own code on the device.
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.