PT-2019-6138 · Linux+2 · Bluez+2

Julian Rauchberger

·

Published

2019-02-25

·

Updated

2025-02-12

·

CVE-2019-8921

CVSS v3.1

6.5

Medium

VectorAV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions BlueZ versions through 5.48
Description The issue is related to the implementation of the SDP service in the Bluetooth protocol stack for Linux BlueZ, which is associated with insufficient authentication of data. This can allow a remote attacker to disclose protected information. The vulnerability lies in the handling of a SVC ATTR REQ by the SDP implementation, where crafting a malicious CSTATE can trick the server into returning more bytes than the buffer holds, resulting in the leaking of arbitrary heap data. The root cause is found in the service attr req function of sdpd-request.c, where the server does not check if the CSTATE data is the same in consecutive requests and instead trusts that it is the same.
Recommendations For BlueZ versions through 5.48, consider disabling the service attr req function in sdpd-request.c as a temporary workaround until a patch is available. Restrict access to the SDP implementation to minimize the risk of exploitation. Avoid using the CSTATE data in consecutive requests until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Insufficient Verification of Data Authenticity

Weakness Enumeration

Related Identifiers

BDU:2021-06165
CVE-2019-8921
DLA-2827-1
DLA-3157-1
SUSE-SU-2022:3687-1
SUSE-SU-2022:3691-1
SUSE-SU-2022:3718-1
SUSE-SU-2022_3687-1
SUSE-SU-2022_3691-1
USN-7265-1

Affected Products

Bluez
Suse
Ubuntu