(Pwn2Own) Sonos One Speaker libsmb2 Use-After-Free Remote Code Execution Vulnerability
A use-after-free flaw in the libsmb2 component of Sonos One Speaker allows network-adjacent attackers to execute arbitrary code as root without authentication. The vulnerability arises from improper validation of an object's existence before operations on it.
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Sonos One Speaker. 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 the SMB directory query handling, 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 root on the speaker, but only if they can reach the SMB service on the local network.
What the attacker needed
Network-adjacent access to the speaker
The fix
The vulnerability was fixed in software version 15.1 (S2) and 11.7.1 (S1).
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 a special SMB request to the speaker and run their own code with the highest privileges, 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.