cbcvebase.
CVE-2017-13258
published 2018-04-04

CVE-2017-13258: In bnep_data_ind of bnep_main.cc, there is a possible out of bounds read due to a missing bounds check. This could lead to remote information disclosure with…

PriorityP356high7.5CVSS 3.0
AVNACLPRNUINSUCHINAN
EXPLOIT
EPSS
7.40%
93.7th percentile
In bnep_data_ind of bnep_main.cc, there is a possible out of bounds read due to a missing bounds check. This could lead to remote information disclosure with no additional execution privileges needed. User interaction is not needed for exploitation. Product: Android. Versions: 5.1.1, 6.0, 6.0.1, 7.0, 7.1.1, 7.1.2, 8.0, 8.1. Android ID: A-67863755.

Affected

17 ranges
VendorProductVersion rangeFixed in
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
googleandroid
google_incandroid
google_incandroid
google_incandroid
google_incandroid
google_incandroid
google_incandroid
google_incandroid
google_incandroid

Detection & IOCsextracted from sources · hover to see the quote

bytes
type_and_ext_present = BNEP_FRAME_COMPRESSED_ETHERNET | 0x80 (0x82), ext = 0x80
  • The vulnerable code path is in bnep_data_ind() (bnep_main.cc) and bnep_process_control_packet() (bnep_utils.cc) in the com.android.bluetooth process; look for anomalous heap reads or crashes in that process on affected AOSP versions 5.1.1–8.1.
  • Exploitation requires no user interaction and no additional privileges — any Bluetooth-range device can trigger the bug without pairing; alert on repeated short BNEP control packets from the same source BD address.
  • ·The heap-disclosure exploit performs 20 leak attempts by default (LEAK_ATTEMPTS = 20), iterating the length byte from 0 to 19; a single attempt may not be sufficient to leak useful data, so detection logic should account for repeated short BNEP packets in rapid succession.
  • ·The exploit requires the attacker to bind a raw L2CAP BluetoothSocket and must be run as root on the attacking device; this limits the attacker profile but does not affect the victim-side detection surface.

CVSS provenance

nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
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.