🇰🇷 한글 설명
ClipBucket v5(빌드 5.5.2 #145 이하)의 비디오 및 사진 메타데이터 필드에서 저장형 XSS 취약점이 발견되었습니다. 공격자가 태그나 장르 등의 필드에 악성 스크립트를 삽입하면, 해당 콘텐츠를 보는 일반 사용자나 관리자의 권한으로 원치 않는 동작을 수행하거나 관리자 페이지 정보를 탈취할 수 있습니다.
💡 쉬운 설명
동영상이나 사진의 제목, 태그 등을 입력할 때 악성 코드를 몰래 심을 수 있는 보안 약점입니다. 이 코드가 심어진 게시물을 누군가 클릭하면, 공격자가 관리자 권한을 이용해 사이트를 조작하거나 정보를 빼낼 수 있습니다.
🇺🇸 원문 (English)
ClipBucket v5 is an open source video sharing platform. ClipBucket v5 through build 5.5.2 #145 allows stored cross-site scripting (XSS) in multiple video and photo metadata fields. For videos the Tags field and the Genre, Actors, Producer, Executive Producer, and Director fields in Movieinfos accept user supplied values without adequate sanitization. For photos the Photo Title and Photo Tags fields accept user supplied values without adequate sanitization. A regular user who can edit a video or photo can inject script (for example by supplying a value such as a closing delimiter followed by a script element). The injected script executes when any user, including an unauthenticated visitor or an administrator, views the affected video or photo page. Although cookies are set with the HttpOnly attribute and cannot be read directly, the injected script can issue fetch requests to endpoints such as admin_area pages and exfiltrate their contents or trigger unintended actions. Version 5.5.2 build #146 and later contain a fix. Update to build 5.5.2 #146 or later. No known workarounds exist.
📍 영향받는 시스템
ClipBucket v5 (build 5.5.2 #145 이하 버전)
⚔️ 공격 벡터
비디오/사진의 메타데이터 필드(Tags, Genre, Title 등)에 악성 스크립트를 삽입하여 저장하는 방식
🛡️ 대응 방법
ClipBucket v5.5.2 build #146 이상 버전으로 업데이트
🔧 검증 코드
출력 결과에 취약한 버전인 5.5.2 #145 이하의 빌드 번호가 포함되어 있다면 해당 시스템은 취약합니다.
curl -s http://<target_ip>/version.php | grep -E '5.5.2 #14[0-5]'