(Pwn2Own) Sonos Era 100 SMB2 Message Handling Use-After-Free Remote Code Execution Vulnerability
A use-after-free flaw in the handling of SMB2 messages on Sonos Era 100 speakers allows network-adjacent attackers to execute arbitrary code as root without authentication.
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Sonos Era 100 smart 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 SMB2 message handling code fails to validate that an object still exists before performing operations on it, leading to a use-after-free.
Impact
An attacker on the same network could execute arbitrary code as root on the speaker.
What the attacker needed
Network-adjacent access; no authentication required
The fix
The vulnerability was fixed in Sonos S2 software version 16.0 and later.
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 use-after-free is a memory bug where a program keeps using a piece of memory after it has been freed. Here, the speaker's SMB2 message handling does not check that an object still exists before using it, so an attacker on the same network can take control of 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.