🇰🇷 한글 설명
FileRise 3.16.0 미만 버전에서 압축 해제 시 파일 확장자 검증 절차를 누락하는 취약점이 발견되었습니다. 인증된 사용자가 PHP와 같은 차단된 확장자를 포함한 ZIP 파일을 업로드하여 압축을 해제하면, 보안 정책을 우회하여 서버에 악성 파일을 저장할 수 있습니다. 이로 인해 원격 코드 실행(RCE)이 발생할 위험이 있습니다.
💡 쉬운 설명
파일 관리 프로그램에서 압축 파일을 풀 때, 원래는 올리면 안 되는 위험한 파일(예: 해킹용 코드 파일)을 걸러내야 하는데 이 과정을 건너뛰는 문제입니다. 공격자가 압축 파일 안에 몰래 위험한 파일을 넣어두면 서버에 그대로 저장되어 컴퓨터를 조종당할 수 있습니다.
🇺🇸 원문 (English)
FileRise is a self-hosted web-based file manager with multi-file upload, editing, and batch operations. Prior to 3.16.0, FileRise archive extraction does not apply UploadNamePolicy::isAllowedForWrite() before ZipArchive::extractTo() writes entries into the destination directory. An authenticated user with upload and extract permissions can place a blocked extension such as a PHP-family file inside a ZIP and cause it to be written to disk even when normal uploads reject that filename. Post-extraction metadata pruning does not remove the blocked file, so deployments that execute uploaded content may permit code execution. This issue is fixed in version 3.16.0.
📍 영향받는 시스템
FileRise 3.16.0 미만 모든 버전
⚔️ 공격 벡터
인증된 사용자가 차단된 확장자가 포함된 ZIP 파일을 업로드한 후 압축 해제 기능을 실행하여 파일을 서버에 저장
🛡️ 대응 방법
FileRise를 최신 보안 패치가 적용된 3.16.0 버전 이상으로 업데이트하십시오.
🔧 검증 코드
명령어 결과에 3.16.0 이상의 버전 정보가 출력되면 취약점이 해결된 상태입니다.
curl -s http://<target-ip>/version | grep -E '3.16.0'