{"id":"CVE-2023-51596","state":"PUBLISHED","title":"BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability","description":"BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of BlueZ. User interaction is required to exploit this vulnerability in that the target must connect to a malicious Bluetooth device.\n\nThe specific flaw exists within the handling of the Phone Book Access profile. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-20939.","publishedAt":"2024-05-03T02:15:24.617Z","updatedAt":"2024-08-02T22:40:33.961Z","severity":{"score":7.1,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"zdi"},"assigner":"zdi","products":["BlueZ BlueZ"],"affected":[{"vendor":"BlueZ","product":"BlueZ","defaultStatus":"unknown","versions":[{"version":"5.66","status":"affected"}]}],"references":["https://www.zerodayinitiative.com/advisories/ZDI-23-1902/"],"weaknesses":["CWE-122"],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/51xxx/CVE-2023-51596.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-51596","state":"PUBLISHED","datePublished":"2024-05-03T02:15:24.617Z","dateUpdated":"2024-08-02T22:40:33.961Z","assignerShortName":"zdi","assignerOrgId":"99f1926a-a320-47d8-bbb5-42feb611262e","dateReserved":"2023-12-20T20:38:20.871Z"},"containers":{"cna":{"title":"BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability","descriptions":[{"lang":"en","value":"BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of BlueZ. User interaction is required to exploit this vulnerability in that the target must connect to a malicious Bluetooth device.\n\nThe specific flaw exists within the handling of the Phone Book Access profile. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-20939."}],"affected":[{"vendor":"BlueZ","product":"BlueZ","defaultStatus":"unknown","versions":[{"version":"5.66","status":"affected"}]}],"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-23-1902/","name":"ZDI-23-1902","tags":["x_research-advisory"]}],"metrics":[{"format":"CVSS","cvssV3_0":{"version":"3.0","vectorString":"CVSS:3.0/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":7.1,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","lang":"en","description":"CWE-122: Heap-based Buffer Overflow","type":"CWE"}]}],"providerMetadata":{"shortName":"zdi","orgId":"99f1926a-a320-47d8-bbb5-42feb611262e","dateUpdated":"2024-05-03T02:15:24.617Z"},"dateAssigned":"2023-12-20T20:45:49.405Z","datePublic":"2023-12-22T00:05:05.106Z","source":{"lang":"en","value":"Lucas Leong (@_wmliang_) of Trend Micro Zero Day Initiative"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"bluez","product":"bluez","defaultStatus":"unknown","versions":[{"version":"5.66","status":"affected"}],"cpes":["cpe:2.3:a:bluez:bluez:5.66:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2023-51596","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2024-05-30T19:27:08.405069Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:20:29.419Z"}},{"title":"CVE Program Container","references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-23-1902/","name":"ZDI-23-1902","tags":["x_research-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T22:40:33.961Z"}}]}}}