🇰🇷 한글 설명
Kiwi TCMS의 파일 업로드 검증 로직이 불완전하여 악성 파일을 업로드할 수 있으며, Nginx 리버스 프록시 사용 시 헤더가 누락되어 보안 정책이 무력화될 수 있습니다. 이로 인해 브라우저에서 임의의 자바스크립트가 실행되는 XSS 공격이 가능합니다. 해당 취약점은 버전 12.4에서 해결되었습니다.
💡 쉬운 설명
파일 업로드 제한을 우회하여 악성 코드를 심을 수 있는 보안 구멍이 발견되었습니다. 또한 웹 서버 설정 문제로 인해 브라우저를 보호하는 보안 장치가 작동하지 않을 수 있습니다.
🇺🇸 원문 (English)
Kiwi TCMS is an open source test management system for both manual and automated testing. Kiwi TCMS allows users to upload attachments to test plans, test cases, etc. Earlier versions of Kiwi TCMS had introduced upload validators in order to prevent potentially dangerous files from being uploaded and Content-Security-Policy definition to prevent cross-site-scripting attacks. The upload validation checks were not 100% robust which left the possibility to circumvent them and upload a potentially dangerous file which allows execution of arbitrary JavaScript in the browser. Additionally we've discovered that Nginx's `proxy_pass` directive will strip some headers negating protections built into Kiwi TCMS when served behind a reverse proxy. This issue has been addressed in version 12.4. Users are advised to upgrade. Users unable to upgrade who are serving Kiwi TCMS behind a reverse proxy should make sure that additional header values are still passed to the client browser. If they aren't redefining them inside the proxy configuration.
📍 영향받는 시스템
Kiwi TCMS 12.4 미만 버전
⚔️ 공격 벡터
검증되지 않은 파일 업로드 및 리버스 프록시를 통한 보안 헤더 누락 악용
🛡️ 대응 방법
Kiwi TCMS를 12.4 버전 이상으로 업그레이드하거나, 리버스 프록시 설정에서 필요한 보안 헤더가 클라이언트에 전달되도록 재설정하십시오.
🔧 검증 코드
출력된 버전 번호가 12.4 미만이면 취약한 상태입니다.
python3 -c 'import kiwi; print(kiwi.__version__)' 2>/dev/null || echo 'Kiwi TCMS not found'