🔍 CVE-2026-5589

6.3
CVSS Score
MEDIUM
2026-06-04
2026-10-15 23:17
✅ 완료

🇰🇷 한글 설명

Bluetooth Mesh solicitation 처리 과정 중 bt_mesh_sol_recv() 함수에서 정수 언더플로우가 발생하여 경계 외 쓰기(out-of-bounds write)가 유발됩니다. CONFIG_BT_MESH_OD_PRIV_PROXY_SRV 설정이 활성화된 경우, 공격자가 조작한 광고 페이로드의 길이 값을 처리할 때 검증되지 않은 뺄셈 연산으로 인해 메모리 손상 및 서비스 거부 또는 임의 코드 실행이 가능해집니다.

💡 쉬운 설명

블루투스 기기가 데이터를 읽을 때 숫자를 계산하는 과정에서 오류가 발생하여, 정해진 메모리 범위를 벗어나 잘못된 데이터를 기록할 수 있는 취약점입니다. 이를 통해 공격자는 기기를 멈추게 하거나 기기를 제어할 수도 있습니다.

🇺🇸 원문 (English)

An integer underflow in bt_mesh_sol_recv() in the Bluetooth Mesh solicitation handling (subsys/bluetooth/mesh/solicitation.c) leads to an out-of-bounds write. When CONFIG_BT_MESH_OD_PRIV_PROXY_SRV is enabled, the function parses solicitation PDUs from raw BLE advertising payloads. The AD parsing loop reads an attacker-controlled length byte (reported_len) and computes reported_len - 3 without checking that reported_len >= 3. When reported_len is less than 3, the subtraction is performed in signed int arithmetic and yields a negative value that bypasses the length guard and is then implicitly converted to a very large size_t when passed to net_buf_simple_pull_mem(). In builds without assertions, this wraps the buffer length and advances the data pointer far out of bounds, so subsequent reads dereference invalid memory. A nearby BLE device can trigger this with a non-connectable advertisement carrying a UUID16 AD structure and a crafted length byte, with no pairing or prior association required, potentially leading to denial of service or arbitrary code execution.

📍 영향받는 시스템

CONFIG_BT_MESH_OD_PRIV_PROXY_SRV 옵션이 활성화된 Bluetooth Mesh 스택 기반 시스템

⚔️ 공격 벡터

페어링이나 연결 없이 근처의 블루투스 기기로부터 조작된 광고(Advertisement) 패킷을 전송하여 공격

🛡️ 대응 방법

Bluetooth Mesh 스택을 최신 보안 패치가 적용된 버전으로 업데이트하거나, 사용하지 않는 경우 CONFIG_BT_MESH_OD_PRIV_PROXY_SRV 설정을 비활성화

🔧 검증 코드

명령어 결과에 해당 설정이 'y'로 나타나면 취약한 설정이 활성화되어 있는 상태입니다.

Shell / Script
grep -r "CONFIG_BT_MESH_OD_PRIV_PROXY_SRV=y" .

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

💻 영향받는 소프트웨어

Windows Bluetooth Service