🔍 CVE-2026-54413

8.2
CVSS Score
HIGH
2026-06-14
2026-07-24 12:10
✅ 완료

🇰🇷 한글 설명

driftregion iso14229 0.9.0 버전의 Handle_0x27_SecurityAccess() 함수에서 정수 언더플로우 및 경계 외 읽기 취약점이 발견되었습니다. 공격자가 특수하게 조작된 1바이트 SecurityAccess 요청을 보내면 UDS 서버가 충돌하거나 수신 버퍼를 초과하는 메모리 데이터를 읽을 수 있습니다.

💡 쉬운 설명

보안 인증을 요청하는 과정에서 데이터 길이를 잘못 계산하는 오류가 있어 발생합니다. 이를 통해 해커가 기기를 멈추게 하거나 기기 내부의 중요한 정보를 몰래 훔쳐볼 수 있습니다.

🇺🇸 원문 (English)

driftregion iso14229 through 0.9.0 contains an integer underflow and downstream out-of-bounds read in the Handle_0x27_SecurityAccess() function in iso14229.c that allows a remote unauthenticated attacker to crash a UDS server and potentially read memory past the receive buffer by sending a single-byte 0x27 SecurityAccess request that follows any earlier well-formed 0x27 message. The handler reads the SecurityAccess subFunction from recv_buf[1] without first checking that recv_len is at least 2, then computes the key-data length as the unsigned subtraction (uint16_t)(recv_len - UDS_0X27_REQ_BASE_LEN); when recv_len equals 1 the result underflows to 65535 and is passed as args.len to the application's SecAccessValidateKey or SecAccessRequestSeed callback, which typically iterates or copies that many bytes from the 4-KB receive buffer. Every other UDS sub-function handler in the library (0x10, 0x11, 0x14, 0x19, 0x22, 0x23, 0x28, and others) performs an explicit recv_len lower-bound check before indexing; Handle_0x27_SecurityAccess is the sole outlier. The vulnerable handler reaches over CAN bus, OBD-II, ISO-TP, and DoIP transports and is exposed in the default diagnostic session without prior authentication; deployments on automotive ECUs, industrial controllers, and IoT devices that ship iso14229 as their UDS server are affected.

📍 영향받는 시스템

driftregion iso14229 0.9.0 이하 버전 (automotive ECUs, industrial controllers, IoT devices)

⚔️ 공격 벡터

CAN, OBD-II, ISO-TP, DoIP 통신을 통해 인증 없이 단일 바이트(0x27) 요청 전송

🛡️ 대응 방법

iso14229 라이브러리를 최신 보안 패치 버전으로 업데이트하거나, SecurityAccess 요청 전 recv_len에 대한 하한선 검증 로직을 추가해야 합니다.

🔧 검증 코드

해당 함수가 포함된 소스 코드를 확인하고, recv_len이 2 미만인지 검사하는 로직이 누락되었는지 점검합니다.

Shell / Script
grep -r "Handle_0x27_SecurityAccess" /path/to/iso14229/src/iso14229.c

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM WebSphere Application Server