CVE-2023-45866
Publication date 6 December 2023
Last updated 24 July 2024
Ubuntu priority
Cvss 3 Severity Score
Bluetooth HID Hosts in BlueZ may permit an unauthenticated Peripheral role HID Device to initiate and establish an encrypted connection, and accept HID keyboard reports, potentially permitting injection of HID messages when no user interaction has occurred in the Central role to authorize such access. An example affected package is bluez 5.64-0ubuntu1 in Ubuntu 22.04LTS. NOTE: in some cases, a CVE-2020-0556 mitigation would have already addressed this Bluetooth HID Hosts issue.
From the Ubuntu Security Team
It was discovered that BlueZ did not properly restrict non-bonded devices from injecting HID events into the input subsystem. This could allow a physically proximate attacker to inject keystrokes and execute arbitrary commands whilst the device is discoverable.
Mitigation
In `/etc/bluetooth/input.conf` set `ClassicBondedOnly=true` and then `systemctl restart bluetooth`. Setting `ClassicBondedOnly=false` will re-enable legacy device support (like the PS3 controller) and the vulnerability.
Status
Package | Ubuntu Release | Status |
---|---|---|
bluez | 24.04 LTS noble |
Fixed 5.70-0ubuntu3
|
22.04 LTS jammy |
Fixed 5.64-0ubuntu1.1
|
|
20.04 LTS focal |
Fixed 5.53-0ubuntu3.7
|
|
18.04 LTS bionic |
Fixed 5.48-0ubuntu3.9+esm1
|
|
16.04 LTS xenial |
Fixed 5.37-0ubuntu5.3+esm3
|
|
14.04 LTS trusty | Ignored end of standard support |
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu ProNotes
Severity score breakdown
Parameter | Value |
---|---|
Base score | 6.3 · Medium |
Attack vector | Adjacent |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | Low |
Integrity impact | Low |
Availability impact | Low |
Vector | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
References
Related Ubuntu Security Notices (USN)
- USN-6540-1
- BlueZ vulnerability
- 7 December 2023