🇰🇷 한글 설명
phpBB Plus 1.53 및 1.53a 버전에서 register_globals 활성화 시 언어 파일의 phpbb_root_path 파라미터를 통한 원격 파일 포함(RFI) 취약점입니다. 공격자는 이를 악용하여 임의의 PHP 코드를 서버에서 실행할 수 있습니다.
💡 쉬운 설명
구 버전의 phpBB Plus 포럼 소프트웨어에 설정 오류가 있어서 공격자가 악의적인 파일을 강제로 실행시킬 수 있는 결함입니다. 특정 서버 설정(register_globals)에서만 악용 가능합니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in phpBB Plus 1.53, and 1.53a before 20070922, when register_globals is enabled, allow remote attackers to execute arbitrary PHP code via a URL in the phpbb_root_path parameter to (1) language/lang_german/lang_admin_album.php, (2) language/lang_english/lang_main_album.php, and (3) language/lang_english/lang_admin_album.php, different vectors than CVE-2007-5009.
📍 영향받는 시스템
phpBB Plus 1.53, 1.53a (2007년 9월 22일 이전) - register_globals 활성화된 환경
⚔️ 공격 벡터
HTTP 요청의 phpbb_root_path 파라미터에 원격 파일 URL을 삽입하여 언어 파일(lang_admin_album.php, lang_main_album.php 등)을 포함시킴
🛡️ 대응 방법
phpBB Plus를 최신 버전으로 업그레이드하고 php.ini에서 register_globals = Off로 설정
🔧 검증 코드
결과에서 phpbb_root_path가 include/require 문에서 직접 사용되면 취약점이 있을 수 있으며, register_globals 활성화 여부는 php -r 'echo ini_get("register_globals");'로 확인 가능합니다.
grep -r 'phpbb_root_path' /var/www/html/phpbb* 2>/dev/null | grep -E 'include|require' | head -3