返回资讯中心
外部精选
软件工程
#开发者实时流

Bluetooth2shell – One tap of pairing is all it takes

CVE-2026-9001 lets an attacker get a root shell on any host that

Hacker News 最新sidneythekidney2026/11/23 · 今天4 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

CVE-2026-9001 lets an attacker get a root shell on any host that says yes to a Bluetooth pairing prompt. No password, no cable, no prior access.

The bug is in service discovery. After a normal pairing, the host exposes a serial port profile over RFCOMM and trusts the link key without checking that the other device is what it claims to be. An attacker who finishes that handshake can open the channel and type into a PTY. Several stacks hand the stream to a shell and treat it as a feature.

Classic Bluetooth, about ten meters. No Wi-Fi, no account, no prior access.

The host shows a normal “Device wants to pair?” prompt. Saying yes writes a valid link key, the same way it would for a keyboard or a watch. If both sides show PIN 0000, they match. They always match.

A well-formed service declaration is enough. The host binds the channel to a pseudo-terminal instead of ignoring it.

Commands typed into the RFCOMM stream come back as output from root@victim-laptop. A second bug in the same daemon skips the user session and lands in a root PTY.

A capture of the pairing, the channel bind, and the first commands on the resulting root shell.

ATTACKER

VICTIM HOST

SDP: SPP service claim

Pairing accepted (PIN 0000)

RFCOMM CONNECT ch=0x0A

PTY bind triggered (bug)

printf("id\n")

uid=0(root) gid=0(root)

Legitimate BT traffic Vulnerability trigger Shell I/O

root@victim-laptop — session open

03 / AFFECTED

Who’s affected

Any device that can pair and also has a shell. That is most of them.

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →