Adjacent code execution via BLE section-count overflow
Published Mar 14, 2023 · Updated Jan 1, 2025
Integer overflow in Microsoft Windows Bluetooth services allows physically proximate attackers to execute code via crafted BLE advertisements. BthLeLib_ADValidateBasic stores the advertisement-section count in an unsigned 8-bit value, so 256-plus sections wrap the allocation count and cause heap out-of-bounds writes during copying. Remote reachability requires Bluetooth 5 extended advertising with at least 514 bytes and an active scan, a paired BLE device, or Swift Pair.
Summary
What happened
Integer overflow in Microsoft Windows Bluetooth services allows physically proximate attackers to execute code via crafted BLE advertisements. BthLeLib_ADValidateBasic stores the advertisement-section count in an unsigned 8-bit value, so 256-plus sections wrap the allocation count and cause heap out-of-bounds writes during copying. Remote reachability requires Bluetooth 5 extended advertising with at least 514 bytes and an active scan, a paired BLE device, or Swift Pair.
The record
- CVE
- CVE-2023-24871
- Published
- Mar 14, 2023
- Updated
- Jan 1, 2025
- Vendor
- Microsoft
- Product
- Windows 11 version 21H2
- Classifications
- CWE-190, T1210, T1068
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 14, 2023CVE publishedPublication date reported by the CVE source.
- Jan 1, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=10.0.0 <10.0.22000.1696
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Bluetooth Support Service LPE exploitfunctional · demonstrated
- BLE advertisement RCE proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo