🇰🇷 한글 설명
Contiki Operating System 3.0의 httpd-simple.c에서 use-after-free 취약점이 발견되었습니다. 연결 종료 시 http_state 구조가 제대로 해제되지 않아 NULL 포인터 역참조가 발생하고 보드가 충돌합니다. 이를 통해 서비스 거부(DoS) 공격을 수행할 수 있습니다.
💡 쉬운 설명
웹 서버가 사용자 연결을 종료할 때 메모리를 제대로 정리하지 않아서 나중에 접근할 때 충돌합니다. 이를 이용하면 공격자가 디바이스를 강제로 재부팅하게 할 수 있습니다.
🇺🇸 원문 (English)
An issue was discovered in Contiki Operating System 3.0. A use-after-free vulnerability exists in httpd-simple.c in cc26xx-web-demo httpd, where upon a connection close event, the http_state structure was not deallocated properly, resulting in a NULL pointer dereference in the output processing function. This resulted in a board crash, which can be used to perform denial of service.
📍 영향받는 시스템
Contiki Operating System 3.0 (cc26xx-web-demo 포함)
⚔️ 공격 벡터
HTTP 연결을 반복해서 종료하여 메모리 누수를 유발하고 NULL 포인터 역참조 트리거
🛡️ 대응 방법
Contiki OS를 패치된 버전으로 업그레이드하거나 httpd-simple.c의 메모리 할당 해제 로직 수정
🔧 검증 코드
Contiki OS 또는 cc26xx 관련 파일이 발견되면 설치되어 있는 것이고, 아무것도 표시되지 않으면 미설치 상태입니다
find / -name 'contiki*' -o -name 'cc26xx*' 2>/dev/null | head -5