🇰🇷 한글 설명
SystemTap 1.0에서 --unprivileged 옵션을 사용할 때 데이터 크기 제한이 적절히 이루어지지 않는 취약점입니다. 이를 통해 로컬 사용자가 커널 스택 오버플로우를 유발하여 서비스 거부(DoS)를 일으키거나 권한을 획득할 수 있습니다.
💡 쉬운 설명
시스템 관리 권한이 없는 사용자가 특수한 명령을 보내 컴퓨터의 핵심 부분인 커널을 마비시키거나 관리자 권한을 뺏을 수 있는 문제입니다. 잘못된 데이터 크기를 입력하여 시스템이 처리할 수 있는 범위를 넘어서게 만드는 방식입니다.
🇺🇸 원문 (English)
SystemTap 1.0, when the --unprivileged option is used, does not properly restrict certain data sizes, which allows local users to (1) cause a denial of service or gain privileges via a print operation with a large number of arguments that trigger a kernel stack overflow, (2) cause a denial of service via crafted DWARF expressions that trigger a kernel stack frame overflow, or (3) cause a denial of service (infinite loop) via vectors that trigger creation of large unwind tables, related to Common Information Entry (CIE) and Call Frame Instruction (CFI) records.
📍 영향받는 시스템
SystemTap 1.0 (unprivileged 옵션 사용 시)
⚔️ 공격 벡터
로컬 사용자가 조작된 인자값이나 DWARF 표현식을 사용하여 커널 스택 오버플로우 유발
🛡️ 대응 방법
SystemTap을 최신 버전으로 업데이트하거나 --unprivileged 옵션 사용을 제한함
🔧 검증 코드
명령어 결과에 systemtap 1.0 버전이 포함되어 있으면 해당 취약점에 노출된 상태입니다.
rpm -q systemtap 2>/dev/null | grep -E '1.0' || dpkg -l systemtap 2>/dev/null | grep -E '1.0'