🇰🇷 한글 설명
Blinko 1.8.8 이하 버전에서 installPlugin 기능을 통해 디렉토리 트래버설 취약점이 발생합니다. 인증된 사용자가 파일 경로에 ../ 시퀀스를 포함하여 루트 권한의 시작 파일을 덮어쓸 수 있으며, 이를 통해 루트 권한으로 원격 코드 실행(RCE)이 가능합니다.
💡 쉬운 설명
로그인한 사용자가 시스템의 중요한 파일을 마음대로 조작할 수 있는 보안 구멍이 발견되었습니다. 공격자가 이 구멍을 이용해 서버의 관리자 권한을 통째로 탈취할 수 있어 매우 위험합니다.
🇺🇸 원문 (English)
Blinko through 1.8.8 allows directory traversal, overwriting startup files as root, via installPlugin. It builds the plugin install path from an unsanitized name in server/routerTrpc/plugin.ts, and the plugin.installPlugin tRPC procedure is open to any authenticated user. Thus, a name containing ../ sequences writes the downloaded plugin files outside the plugins directory. Because the official Docker image runs as root, an authenticated attacker overwrites a root-owned startup file and achieves remote code execution as root. Self-registration for an account may be possible.
📍 영향받는 시스템
Blinko 1.8.8 및 그 이전 버전
⚔️ 공격 벡터
인증된 사용자가 플러그인 설치 시 파일 이름에 경로 조작 문자(../)를 삽입하여 공격
🛡️ 대응 방법
Blinko를 최신 보안 패치가 적용된 버전으로 즉시 업데이트하고, 불필요한 사용자 권한을 제한하십시오.
🔧 검증 코드
출력된 버전 정보가 1.8.8 이하인 경우 해당 취약점에 노출된 상태입니다.
curl -s http://<target-ip>/api/version | grep -E '1.8.8|1.8.7|1.8.6'