🇰🇷 한글 설명
Android 및 Firefox OS(MSM 및 QRD 기반)의 wma_unified_power_debug_stats_event_handler 함수에서 정수 오버플로 취약점이 발견되었습니다. 펌웨어 명령 버퍼로부터 전달받은 num_debug_register 값이 uint32 최대값에 가까울 경우, 메모리 할당 크기 계산 시 오버플로가 발생하여 버퍼 오버플로로 이어질 수 있습니다.
💡 쉬운 설명
기기가 처리할 수 있는 숫자 범위를 넘어서는 값을 입력받아 계산 오류가 발생하는 문제입니다. 이 오류를 이용해 공격자가 기기의 메모리를 넘치게 만들어 시스템을 장악할 수 있습니다.
🇺🇸 원문 (English)
In the function wma_unified_power_debug_stats_event_handler() in Android for MSM, Firefox OS for MSM, and QRD Android before 2017-10-18, if the value param_buf->num_debug_register received from the FW command buffer is close to max of uint32, then the computation performed using this variable to calculate stats_registers_len may overflow to a smaller value leading to less than required memory allocated for power_stats_results and potentially a buffer overflow while copying the FW buffer to local buffer.
📍 영향받는 시스템
Android for MSM, Firefox OS for MSM, QRD Android (2017-10-18 이전 버전)
⚔️ 공격 벡터
조작된 펌웨어 명령 버퍼를 통한 정수 오버플로 유도 및 버퍼 오버플로 공격
🛡️ 대응 방법
해당 취약점이 해결된 최신 보안 패치 및 OS 업데이트 적용
🔧 검증 코드
출력된 OS 버전 및 빌드 날짜가 2017년 10월 18일 이전인지 확인하여 취약 여부 판단
adb shell getprop ro.build.version.release && adb shell getprop ro.build.date