🇰🇷 한글 설명
FCKeditor 2.2의 파일 업로드 기능에서 파일 타입 검증이 부족하여, ZIP 헤더로 위장한 PHP 코드를 업로드한 후 직접 접근하여 임의 코드를 실행할 수 있습니다. Falt4 CMS, Nuke ET 등 다양한 웹 애플리케이션에 영향을 미치는 심각한 원격 코드 실행 취약점입니다.
💡 쉬운 설명
웹사이트의 파일 편집기 기능에서 파일 업로드 시 타입 검증이 제대로 되지 않아, 악의적인 사용자가 위험한 코드를 서버에서 실행하도록 만들 수 있습니다. ZIP 파일로 위장한 PHP 코드를 업로드하면 웹 서버가 그것을 실행해버립니다.
🇺🇸 원문 (English)
Unrestricted file upload vulnerability in editor/filemanager/browser/default/connectors/php/connector.php in FCKeditor 2.2, as used in Falt4 CMS, Nuke ET, and other products, allows remote attackers to execute arbitrary code by creating a file with PHP sequences preceded by a ZIP header, uploading this file via a FileUpload action with the application/zip content type, and then accessing this file via a direct request to the file in UserFiles/File/, probably a related issue to CVE-2005-4094. NOTE: some of these details are obtained from third party information.
📍 영향받는 시스템
FCKeditor 2.2 및 이전 버전, Falt4 CMS, Nuke ET, HTML editor를 통합한 CMS/블로그
⚔️ 공격 벡터
PHP 코드가 포함된 파일을 ZIP 헤더로 위장하여 application/zip 타입으로 업로드 후 UserFiles/File/ 경로로 직접 접근
🛡️ 대응 방법
FCKeditor를 2.3 이상으로 업그레이드하거나 파일 업로드 검증 강화 및 업로드 폴더의 실행 권한 제거
🔧 검증 코드
FCKeditor의 connector.php 파일이 발견되고 2.2 버전이면 취약함 (파일 없으면 안전)
find /var/www /home -path '*fckeditor*' -name 'connector.php' 2>/dev/null | xargs grep -l '2.2' 2>/dev/null