(Pwn2Own) Sonos Era 300 Out-of-Bounds Write Remote Code Execution Vulnerability
The Sonos Era 300 speaker fails to properly validate user-supplied data while processing HLS playlist data, causing a write past the end of an allocated buffer. 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 HLS playlist parser copies user-supplied data into a fixed-size buffer without checking its length, allowing an out-of-bounds write.
Impact
A network-adjacent, unauthenticated attacker could execute arbitrary code in the context of the anacapa user on affected speakers.
What the attacker needed
Attacker on the same network; no authentication required
The fix
The vendor released updated software versions for the Sonos app and S1 app, and users should update their speakers.
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 speaker reads playlist information sent over the network and copies it into a fixed-size area of memory without checking that it fits. When too much data arrives, it spills past the end and overwrites nearby memory, which can let an attacker run their own code on the device. No password or login is needed, but the attacker must be on the same network.
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.