用 Python 编写的 Fast Pair CVE-2025-36911 漏洞利用工具,用于测试我们的设备
作者: Sébastien Dudek (@FlUxIuS) @ Penthertz
致谢: whisperpair.eu 发现该漏洞,以及 @ZalexDev 提供的这个出色的 APK,缩短了实现时间 wpair-app
仅限授权安全研究。 仅在你拥有的设备上测试。
CVE-2025-36911 影响全球数百万蓝牙音频设备上的 Google Fast Pair 实现。
正常行为: 设备应仅在配对模式(按住按钮、打开充电盒等)下接受配对请求。
漏洞行为: 设备随时接受基于密钥的配对(Key-Based Pairing, KBP)请求,即使处于空闲状态或已配对。
# Install
pip install bleak cryptography
git clone https://github.com/Penthertz/CVE-2025-36911-exploit.git
cd CVE-2025-36911-exploit
# Scan for targets
python3 whisperpair-cli.py scan
# Test if vulnerable
python3 whisperpair-cli.py test AA:BB:CC:DD:EE:FF
# Exploit
python3 whisperpair-cli.py exploit --quick
┌─────────────────────────────────────────────────────────────┐
│ ATTACKER VULNERABLE DEVICE │
│ │
│ 1. BLE Scan ─────────────────────► Fast Pair Advertisement │
│ (Find target) (Model ID visible) │
│ │
│ 2. Connect ──────────────────────► GATT Connection │
│ │
│ 3. KBP Request ──────────────────► Key-Based Pairing Char │
│ (Should be rejected ✗ NOT REJECTED! │
│ when not in pairing mode) (CVE-2025-36911) │
│ │
│ 4. Parse Response ◄────────────── BR/EDR Address │
│ │
│ 5. Write Account Key ────────────► Account Key Char │
│ (Persistent access) ✓ ACCEPTED │
│ │
│ 6. Classic BT Pair ──────────────► Audio Profiles (A2DP) │
│ (Game over) │
└─────────────────────────────────────────────────────────────┘
该工具会自动尝试多种策略:
已测试存在漏洞(请检查固件更新):
| Command | Description |
|---|
scan | 实时更新的 Fast Pair 设备 BLE 扫描 |
scan -a | 扫描所有 BLE 设备 |
info <addr> | 显示 GATT 服务/特征 |
test <addr> | 非侵入式漏洞检测 |
exploit <addr> | 完整漏洞利用链 |
exploit -q | 自动扫描并利用第一个目标 |
| Brand | Models |
|---|
| Pixel Buds Pro 2(但通过 Pixel 手机能很快获得更新) | |
| Sony | WH-1000XM4、WH-1000XM5/XM6、LinkBuds S、WH-CH520 |
| JBL | JBL TUNE BEAM |
| Anker | Soundcore Liberty 4 NC |
| Jabra | Elite 8 Active |
| + 更多 | whisperpair.eu |