linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BlueZ PATCH 0/2] HID and HOGP connections from non-bonded devices.
@ 2020-03-10  2:35 Alain Michaud
  2020-03-10  2:35 ` [BlueZ PATCH 1/2] HOGP must only accept data from bonded devices Alain Michaud
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Alain Michaud @ 2020-03-10  2:35 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Alain Michaud

It was discovered that BlueZ's HID and HOGP profiles implementations
don't specifically require bonding between the device and the host.

This creates an opportunity for an malicious device to connect to a
target host to either impersonate an existing HID device without
security or to cause an SDP or GATT service discovery to take place
which would allow HID reports to be injected to the input subsystem from
a non-bonded source.

This patch series addresses the issue by ensuring that only connections
from devices that are bonded are accepted by the HID and HOGP profile
implementation.

More information about the vulnerability is available here:
https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00352.html

Alain Michaud (2):
  HOGP must only accept data from bonded devices.
  HID accepts bonded device connections only.

 profiles/input/device.c   | 23 ++++++++++++++++++++++-
 profiles/input/device.h   |  1 +
 profiles/input/hog.c      |  4 ++++
 profiles/input/input.conf |  8 ++++++++
 profiles/input/manager.c  | 13 ++++++++++++-
 5 files changed, 47 insertions(+), 2 deletions(-)

-- 
2.25.1.481.gfbce0eb801-goog


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-03-10 17:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-10  2:35 [BlueZ PATCH 0/2] HID and HOGP connections from non-bonded devices Alain Michaud
2020-03-10  2:35 ` [BlueZ PATCH 1/2] HOGP must only accept data from bonded devices Alain Michaud
2020-03-10  6:04   ` Luiz Augusto von Dentz
2020-03-10  2:35 ` [BlueZ PATCH 2/2] HID accepts bonded device connections only Alain Michaud
2020-03-10  6:22   ` Luiz Augusto von Dentz
2020-03-10  5:24 ` [BlueZ PATCH 0/2] HID and HOGP connections from non-bonded devices Marcel Holtmann
2020-03-10  6:27   ` Luiz Augusto von Dentz
2020-03-10 12:30     ` Alain Michaud
2020-03-10 17:12       ` Luiz Augusto von Dentz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).