🇰🇷 한글 설명
free5GC v4.0.1의 AMF 구성 요소에서 발생하는 배열 인덱스 범위 초과 취약점입니다. 공격자가 조작된 5GS 모바일 ID를 포함한 NAS 등록 요청 메시지를 보내면 GetSUCI 메서드에서 런타임 패닉이 발생하여 AMF 서비스가 중단될 수 있습니다.
💡 쉬운 설명
특수하게 제작된 가짜 신분증 정보를 담은 메시지를 보내면 시스템이 처리 과정에서 오류를 일으켜 멈추게 됩니다. 이로 인해 통신 서비스가 중단되는 서비스 거부(DoS) 상태가 발생할 수 있습니다.
🇺🇸 원문 (English)
An array index out of bounds vulnerability in the AMF component of free5GC v4.0.1 allows remote attackers to cause a denial of service via a crafted 5GS Mobile Identity in a NAS Registration Request message. The issue occurs in the GetSUCI method (NAS_MobileIdentity5GS.go) when accessing index 5 of a 5-element array, leading to a runtime panic and AMF crash.
📍 영향받는 시스템
free5GC v4.0.1 (AMF component)
⚔️ 공격 벡터
조작된 5GS Mobile Identity를 포함한 NAS Registration Request 메시지를 통한 원격 공격
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전으로 업데이트하거나, 입력값 검증 로직을 포함한 패치를 적용해야 합니다.
🔧 검증 코드
출력된 태그 버전이 v4.0.1인지 확인하여 취약한 버전 여부를 판단합니다.
git clone https://github.com/free5GC/free5GC && cd free5GC && git describe --tags