🇰🇷 한글 설명
MiGCMS 2.0.5의 register_globals 설정 활성화 시 발생하는 원격 파일 포함(RFI) 취약점입니다. GLOBALS[application][app_root] 파라미터를 조작하여 원격 PHP 코드를 실행할 수 있습니다. lib/obj/ 디렉토리의 collection.class.php와 content_image.class.php 파일이 영향을 받습니다.
💡 쉬운 설명
MiGCMS라는 웹사이트 관리 프로그램의 이전 버전에서 웹 주소를 조작하여 악의적인 코드를 실행할 수 있는 문제입니다. 특정 설정(register_globals)이 켜져있을 때만 이 공격이 가능합니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in MiGCMS 2.0.5, when register_globals is enabled, allow remote attackers to execute arbitrary PHP code via a URL in the GLOBALS[application][app_root] parameter to (1) collection.class.php and (2) content_image.class.php in lib/obj/.
📍 영향받는 시스템
MiGCMS 2.0.5 이하, register_globals 활성화 상태
⚔️ 공격 벡터
GET/POST 요청으로 GLOBALS[application][app_root] 파라미터에 원격 PHP 파일 URL 삽입
🛡️ 대응 방법
MiGCMS 업그레이드, register_globals 비활성화, 파라미터 입력값 검증 강화
🔧 검증 코드
MiGCMS가 설치된 위치에서 취약한 파일이 존재하고 app_root 변수를 사용 중인지 확인합니다. 파일이 발견되고 app_root이 있으면 수동 코드 검토 필요
find /var/www -name 'collection.class.php' 2>/dev/null | head -1 | xargs grep -l 'app_root' 2>/dev/null