🇰🇷 한글 설명
CVAT의 2.5.0부터 2.66.0 버전 사이에서 어노테이션 가이드 자산을 통해 XSS 취약점이 발생합니다. 공격자가 파일의 Content-Type을 조작하여 브라우저가 파일을 HTML로 인식하게 함으로써 악성 자바스크립트를 실행할 수 있습니다.
💡 쉬운 설명
사용자가 올린 파일을 웹사이트가 잘못된 형식으로 읽게 만들어, 해커가 심어놓은 악성 코드가 실행될 수 있는 문제입니다. 이를 통해 사용자의 정보를 훔치거나 웹사이트를 조작할 수 있습니다.
🇺🇸 원문 (English)
CVAT is an open source interactive video and image annotation tool for computer vision. Versions 2.5.0 through 2.66.0 contain a XSS vulnerability that can be accessed through annotation guide assets. When CVAT serves the files attached to an annotation guide, it labels them with a media type ( Content-Type ) that the attacker can influence, so instead of treating an uploaded file as plain data, the victim's browser can be told to treat it as an HTML page and run any JavaScript inside it. This issue has been fixed in version 2.67.0.
📍 영향받는 시스템
CVAT 버전 2.5.0 ~ 2.66.0
⚔️ 공격 벡터
어노테이션 가이드에 조작된 Content-Type을 가진 파일을 업로드하여 브라우저에서 스크립트 실행 유도
🛡️ 대응 방법
CVAT를 최신 버전인 2.67.0 이상으로 업데이트하십시오.
🔧 검증 코드
명령어 결과에 취약한 버전 범위(2.5.x ~ 2.66.x)가 나타나면 보안 업데이트가 필요합니다.
curl -s http://<CVAT_HOST>/api/version | grep -E '"version": "(2\.[5-9]\.|2\.[1-9][0-9]|2\.[6][0-6][0-9])"'