🇰🇷 한글 설명
Irokez CMS 0.7.1 이하에서 register_globals가 활성화된 PHP 환경에서 여러 PHP 파일의 GLOBALS 매개변수를 통한 원격 파일 포함(RFI) 취약점이 존재합니다. 공격자가 악의적인 원격 파일을 포함시켜 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
오래된 웹사이트 제작 도구(Irokez CMS)에서 특정 PHP 설정이 잘못되어 있으면, 누구나 인터넷에서 악의적인 코드를 실행할 수 있습니다. 이는 구형 PHP 설정(register_globals)이 켜져 있을 때만 가능합니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in Irokez CMS 0.7.1 and earlier, when register_globals is enabled, allow remote attackers to execute arbitrary PHP code via a URL in the (1) GLOBALS[PTH][func] parameter in (a) scripts/gallery.scr.php; the (2) GLOBALS[PTH][spaw] parameter in (b) scripts/xtextarea.scr.php; and the (3) GLOBALS[PTH][classes] parameter in (c) sitemap.scr.php, (d) news.scr.php, (e) polls.scr.php, (f) rss.scr.php, (g) search.scr.php in scripts/, and (h) form.fun.php, (i) general.func.php, (j) groups.func.php, (k) js.func.php, (l) sections.func.php, and (m) users.func.php in functions/.
📍 영향받는 시스템
Irokez CMS 0.7.1 이하 (register_globals가 활성화된 PHP 환경)
⚔️ 공격 벡터
gallery.scr.php, xtextarea.scr.php 등 여러 PHP 파일의 GLOBALS[PTH] 매개변수에 악의적인 URL을 삽입하여 원격 파일 포함 및 코드 실행
🛡️ 대응 방법
Irokez CMS를 최신 버전으로 업그레이드하거나 PHP의 register_globals 설정을 Off로 변경
🔧 검증 코드
ENABLED 출력 시 취약점 노출 상태, DISABLED 출력 시 안전한 상태
php -r "echo 'register_globals: '.(ini_get('register_globals') ? 'ENABLED (vulnerable)' : 'DISABLED (safe)');" 2>/dev/null || echo 'PHP CLI unavailable'