(Pwn2Own) Sonos Era 300 Speaker libsmb2 Use-After-Free Remote Code Execution Vulnerability
A use-after-free flaw in the libsmb2 component of Sonos Era 300 speakers allows network-adjacent attackers to execute arbitrary code without authentication. The vulnerability arises from improper validation of an object's existence before operations, enabling code execution as the anacapa user.
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of 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 a use-after-free in libsmb2's SMB data processing, where an object is used after being freed due to missing validation of its existence.
Impact
A network-adjacent attacker could execute arbitrary code as the anacapa user on the speaker.
What the attacker needed
Network-adjacent access; no authentication required
The fix
Sonos users should update to the specified software versions (Sonos app 16.6 or later, S1 app 11.15.1 or later) as per the vendor advisory.
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, which can let an attacker control what happens next. Here, an attacker on the same network can send crafted SMB data to the speaker and run their own code on it without needing a password.
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.