cbcvebase.
CVE-2017-1000251
published 2017-09-12

CVE-2017-1000251: The native Bluetooth stack in the Linux Kernel (BlueZ), starting at the Linux kernel version 2.6.32 and up to and including 4.13.1, are vulnerable to a stack…

PriorityP262high8CVSS 3.1
AVAACLPRLUINSUCHIHAH
EXPLOIT
EPSS
16.18%
96.6th percentile
The native Bluetooth stack in the Linux Kernel (BlueZ), starting at the Linux kernel version 2.6.32 and up to and including 4.13.1, are vulnerable to a stack overflow vulnerability in the processing of L2CAP configuration responses resulting in Remote code execution in kernel space.

Affected

57 ranges· showing 25
VendorProductVersion rangeFixed in
debiandebian_linux
debiandebian_linux
debianlinux< linux 4.14.7-1 (bookworm)linux 4.14.7-1 (bookworm)
debianlinux< linux 4.12.13-1 (bookworm)linux 4.12.13-1 (bookworm)
linuxlinux_kernel< 4.154.15
linuxlinux_kernel
linuxlinux_kernel>= 0 < 4.14.7-14.14.7-1
linuxlinux_kernel>= 0 < 4.12.13-14.12.13-1
linuxlinux_kernel>= 0 < 4.14.7-14.14.7-1
linuxlinux_kernel>= 0 < 4.12.13-14.12.13-1
linuxlinux_kernel>= 0 < 4.14.7-14.14.7-1
linuxlinux_kernel>= 0 < 4.12.13-14.12.13-1
linuxlinux_kernel>= 0 < 4.14.7-14.14.7-1
linuxlinux_kernel>= 0 < 4.12.13-14.12.13-1
linuxlinux_kernel>= 0 < 3.13.0-132.1813.13.0-132.181
linuxlinux_kernel>= 0 < 4.4.0-96.1194.4.0-96.119
linuxlinux_kernel>= 2.6.32 < 3.2.943.2.94
linuxlinux_kernel>= 3.17 < 3.18.713.18.71
linuxlinux_kernel>= 3.19 < 4.1.454.1.45
linuxlinux_kernel>= 3.3 < 3.16.493.16.49
linuxlinux_kernel>= 4.10 < 4.12.134.12.13
linuxlinux_kernel>= 4.13 < 4.13.24.13.2
linuxlinux_kernel>= 4.2 < 4.4.884.4.88
linuxlinux_kernel>= 4.5 < 4.9.504.9.50
nvidiajetson_tk1

Detection & IOCsextracted from sources · hover to see the quote

commandpkt = L2CAP_CmdHdr(code=4)/L2CAP_ConfReq(type=0x06,length=16,identifier=1,servicetype=0x0,sdusize=0xffff,sduarrtime=0xffffffff,accesslat=0xffffffff,flushtime=0xffffffff)
commandpkt1 = L2CAP_CmdHdr(code=5)/L2CAP_ConfResp(result=0x04,...)
filenamebluebornexploit.py
filenamebluetoothsrv.py
  • Detect L2CAP ConfigRequest (code=4) packets with EFS option type=0x06, length=16 carrying max-value SDU fields (sdusize=0xffff, sduarrtime/accesslat/flushtime=0xffffffff) — this is the specific malformed EFS element used to trigger the stack buffer overflow.
  • The vulnerability is a stack buffer overflow in the Linux kernel Bluetooth L2CAP layer triggered by handling L2CAP configuration responses. Monitor for kernel panics or system crashes on Linux hosts with active Bluetooth, especially on kernel versions from v3.3-rc1 onward.
  • Use Tenable plugin 43830 (WMI Bluetooth Network Adapter Enumeration) to enumerate Bluetooth-capable Windows hosts as potential targets for BlueBorne/CVE-2017-1000251.
  • The exploit uses Scapy's BluetoothL2CAPSocket to send raw L2CAP packets. Presence of Scapy-based Bluetooth tooling (scapy/layers/bluetooth.py modifications with custom L2CAP_ConfReq/L2CAP_ConfResp classes) on a host may indicate exploit preparation.
  • ·The PoC (exploit-db 42762) is explicitly labeled crash-only / unarmed / unweaponized with no payload — it demonstrates denial-of-service but not full RCE. Full weaponization would require chaining with an info-leak such as CVE-2017-1000410 to bypass KASLR and stack canaries.
  • ·Combining CVE-2017-1000251 with CVE-2017-1000410 (L2CAP EFS info-leak) may allow RCE even against kernels built with KASLR and stack canary mitigations, as both pointers and canaries can be leaked via the companion vulnerability.
  • ·The vulnerability affects Linux kernel v3.3-rc1 and all later versions up to the patch. The PoC was tested on Linux 4.4.0-93-generic #116.

CVSS provenance

nvdv3.18.0HIGHCVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.7HIGHAV:A/AC:L/Au:S/C:C/I:C/A:C
osv8.0HIGH
vendor_debian8.0HIGH
vendor_redhat8.0HIGH
vendor_ubuntu8.0HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.