🇰🇷 한글 설명
Fully Modded phpBB (phpbbfm) 2021.4.40 이하 버전의 Teake Nutma Foing에 존재하는 원격 파일 포함(RFI) 취약점입니다. foing_root_path 파라미터를 통해 공격자가 원격에서 임의의 PHP 코드를 실행할 수 있으며, player/ 디렉토리의 여러 파일이 영향을 받습니다.
💡 쉬운 설명
웹사이트에서 특정 설정값을 통해 원격의 악의적인 파일을 로드할 수 있는 보안 결함입니다. 공격자가 이를 악용하여 서버를 제어하고 개인정보를 탈취하거나 시스템을 손상시킬 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in Teake Nutma Foing, as modified in Fully Modded phpBB (phpbbfm) 2021.4.40 and earlier, allow remote attackers to execute arbitrary PHP code via a URL in the foing_root_path parameter in (a) faq.php, (b) index.php, (c) list.php, (d) login.php, (e) playlist.php, (f) song.php, (g) gen_m3u.php, (h) view_artist.php, (i) view_song.php, (j) flash/set_na.php, (k) flash/initialise.php, (l) flash/get_song.php, (m) includes/common.php, (n) admin/nav.php, (o) admin/main.php, (p) admin/list_artists.php, (q) admin/index.php, (r) admin/genres.php, (s) admin/edit_artist.php, (t) admin/edit_album.php, (u) admin/config.php, and (v) admin/admin_status.php in player/, different vectors than CVE-2006-3045. NOTE: CVE analysis as of 20061026 indicates that files in the admin/ and flash/ directories define foing_root_path before use.
📍 영향받는 시스템
Fully Modded phpBB (phpbbfm) 버전 2021.4.40 이하의 player/ 디렉토리 내 17개 이상의 PHP 파일
⚔️ 공격 벡터
foing_root_path 파라미터에 원격 서버의 URL을 삽입하여 원격 파일 포함(RFI) 공격 수행
🛡️ 대응 방법
phpbbfm을 최신 버전으로 업그레이드하고, foing_root_path 파라미터에 대한 입력 검증 및 화이트리스트 제한 적용
🔧 검증 코드
취약한 phpbbfm 설치가 있으면 player/ 디렉토리의 PHP 파일들이 나타나며, foing_root_path를 사용하는 파일의 존재 여부로 취약 버전 여부 판단 가능합니다.
find /var/www/html -path '*/player/*.php' -exec grep -l 'foing_root_path' {} \; 2>/dev/null | head -5