🇰🇷 한글 설명
Joomla CMS 3.6.5 이전 버전의 JFilterInput::isFileSafe() 함수가 PHP 대체 확장자(.php6, .php7, .phtml, .phpt)를 검증하지 않아, 공격자가 이러한 확장자의 PHP 파일을 업로드하고 실행할 수 있는 취약점입니다.
💡 쉬운 설명
Joomla 웹사이트의 파일 업로드 기능이 특정 PHP 파일 형식을 제대로 차단하지 못했습니다. 악의적 사용자가 이를 악용하여 파일을 업로드하고 서버에서 악성 코드를 실행할 수 있습니다.
🇺🇸 원문 (English)
The file scanning mechanism of JFilterInput::isFileSafe() in Joomla! CMS before 3.6.5 does not consider alternative PHP file extensions when checking uploaded files for PHP content, which enables a user to upload and execute files with the `.php6`, `.php7`, `.phtml`, and `.phpt` extensions. Additionally, JHelperMedia::canUpload() did not blacklist these file extensions as uploadable file types.
📍 영향받는 시스템
Joomla CMS 버전 3.6.4 이하
⚔️ 공격 벡터
웹사이트 파일 업로드 기능을 통해 .php6, .php7, .phtml, .phpt 확장자 파일을 업로드한 후 브라우저에서 접근하여 PHP 코드 실행
🛡️ 대응 방법
Joomla를 3.6.5 이상으로 업그레이드하고, 웹 서버 설정에서 대체 PHP 확장자 실행 비활성화 확인
🔧 검증 코드
출력된 버전이 3.6.5 이상이면 패치됨, 3.6.4 이하면 취약점 노출 상태
grep -r 'JOOMLA_VERSION' /var/www /home/*/public_html 2>/dev/null | head -1