🔍 CVE-2007-5156

7.5
CVSS Score
HIGH
2007-10-01
2026-06-16 22:45
✅ 완료

🇰🇷 한글 설명

FCKeditor의 파일 업로드 필터링 로직 부족으로 인해 '.php.'를 포함한 파일명으로 PHP 코드를 업로드 및 실행할 수 있는 취약점입니다. Apache 웹 서버의 파일 확장자 처리 방식을 악용하여 필터링을 우회합니다.

💡 쉬운 설명

웹사이트 파일 업로드 기능의 검사 방식이 불완전해서, 특수한 이름으로 악의적인 파일을 업로드할 수 있습니다. 악의적 사용자가 서버에서 임의의 코드를 실행하고 제어할 수 있게 됩니다.

🇺🇸 원문 (English)

Incomplete blacklist vulnerability in editor/filemanager/upload/php/upload.php in FCKeditor, as used in SiteX CMS 0.7.3.beta, La-Nai CMS, Syntax CMS, Cardinal Cms, and probably other products, allows remote attackers to upload and execute arbitrary PHP code via a file whose name contains ".php." and has an unknown extension, which is recognized as a .php file by the Apache HTTP server, a different vulnerability than CVE-2006-0658 and CVE-2006-2529.

📍 영향받는 시스템

FCKeditor, SiteX CMS 0.7.3.beta, La-Nai CMS, Syntax CMS, Cardinal CMS 등

⚔️ 공격 벡터

특수한 파일명(예: shell.php.)으로 PHP 파일을 업로드하여 서버의 필터링을 우회하고 원격 코드 실행 수행

🛡️ 대응 방법

FCKeditor를 최신 버전으로 업그레이드하거나, 화이트리스트 기반 파일 확장자 검증 및 Apache 설정에서 다중 확장자 파일 실행 방지

🔧 검증 코드

FCKeditor의 업로드 스크립트를 찾아 존재 여부와 검증 로직 확인; 결과가 없으면 시스템에 설치되지 않은 것으로 판단

Shell / Script
find /var/www -name 'upload.php' 2>/dev/null | xargs grep -l 'FCKeditor\|blacklist' 2>/dev/null

📊 CVSS Vector String

CVSS Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

💻 영향받는 소프트웨어

Apache HTTP Server