Skip to content
Memory corruption Advisory Advanced CVE-2023-27352

(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.

Toan Pham Follow

Originally disclosed on Zero Day Initiative

High 8.8 View original

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.

Toan (suto) Pham and Tri Dang from Qrious Secure, on the Zero Day Initiative

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.

More by Toan Pham

View all

1 more disclosed report, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.