🇰🇷 한글 설명
CodexBar 0.32.0 미만 버전의 CLI 설치 프로그램에서 권한 상승 취약점이 발견되었습니다. 임시 파일 처리 과정의 레이스 컨디션을 악용하여, 로컬 공격자가 관리자 권한으로 임의의 명령어를 실행할 수 있습니다.
💡 쉬운 설명
설치 프로그램이 임시 파일을 만드는 찰나의 순간을 이용해 파일 내용을 몰래 바꾸는 공격입니다. 이를 통해 일반 사용자가 컴퓨터의 최고 관리자 권한을 탈취할 수 있습니다.
🇺🇸 원문 (English)
CodexBar prior to 0.32.0 contains a privilege escalation vulnerability in the CLI installer that allows local attackers to execute arbitrary commands as root by exploiting a race condition in temporary file handling. The installer creates a temporary file with mktemp, writes a privileged shell payload into it, and executes it with administrator privileges via bash, allowing a same-user local process to rewrite the installer body before the administrator prompt is approved, causing attacker-controlled commands to run as root.
📍 영향받는 시스템
CodexBar 0.32.0 미만 버전
⚔️ 공격 벡터
로컬 시스템 내 임시 파일 생성 시 발생하는 레이스 컨디션(Race Condition) 악용
🛡️ 대응 방법
CodexBar를 최신 버전인 0.32.0 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 0.32.0보다 낮으면 취약한 상태입니다.
codexbar --version 2>/dev/null | grep -E '0\[.<]32\.0'