🇰🇷 한글 설명
Extreme PHPBB2 3.0 Pre Final에서 phpbb_root_path 파라미터를 통한 원격 파일 포함(RFI) 취약점입니다. 공격자가 악의적인 PHP 코드를 원격 서버에서 로드하여 서버에서 실행할 수 있습니다.
💡 쉬운 설명
웹 포럼 프로그램의 설정값(phpbb_root_path)을 조작해서 인터넷 어디서든 악성 파일을 가져와 실행할 수 있습니다. 이를 통해 공격자가 서버 전체를 제어할 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in Extreme PHPBB2 3.0 Pre Final allow remote attackers to execute arbitrary PHP code via a URL in the phpbb_root_path parameter to (1) functions.php or (2) functions_portal.php in includes/.
📍 영향받는 시스템
Extreme PHPBB2 3.0 Pre Final
⚔️ 공격 벡터
includes/functions.php 또는 includes/functions_portal.php의 phpbb_root_path 파라미터에 원격 URL을 입력하여 악성 PHP 파일 실행
🛡️ 대응 방법
Extreme PHPBB2를 보안 패치가 적용된 버전으로 업그레이드하거나 phpbb_root_path 파라미터 입력 검증 추가
🔧 검증 코드
검색된 파일이 3.0 Pre Final 버전의 PHPBB2에 속하면 취약점 확인, 파일 내용에서 phpbb_root_path의 입력 검증(filter_var, realpath 등) 부재 여부 확인
find /var/www -name functions.php -path '*/includes/*' 2>/dev/null | xargs grep -l phpbb_root_path | head -1