🇰🇷 한글 설명
Barry Nauta BRIM 1.2.1 이전 버전의 template.tpl.php 파일에서 renderer 매개변수를 통한 원격 파일 포함(RFI) 취약점입니다. 공격자가 악의적인 URL을 통해 임의의 PHP 코드를 원격에서 실행할 수 있습니다. 여러 템플릿 디렉토리의 경로가 영향을 받으므로 광범위한 공격이 가능합니다.
💡 쉬운 설명
BRIM이라는 PHP 프로그램에서 외부 파일을 불러올 때 검증을 제대로 하지 않아 악의적인 코드가 실행될 수 있습니다. 공격자가 원격 서버의 파일을 로드하도록 속일 수 있어 서버 보안이 위협받습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in Barry Nauta BRIM 1.2.1 and earlier allow remote attackers to execute arbitrary PHP code via a URL in the renderer parameter in template.tpl.php in (1) templates/barrel/, (2) templates/sidebar/, (3) templates/text-only, (4) templates/slashdot/, (5) templates/penguin/, (6) templates/pda/, (7) templates/oerdec/, (8) templates/nifty/, (9) templates/mylook, and (10) templates/barry/.
📍 영향받는 시스템
Barry Nauta BRIM 1.2.1 및 이전 모든 버전
⚔️ 공격 벡터
template.tpl.php의 renderer 매개변수에 악의적인 URL을 입력하여 원격 PHP 파일을 포함시키고 실행
🛡️ 대응 방법
BRIM을 최신 버전으로 업그레이드하거나, 입력값 검증 및 파일 포함 제한을 적용하며, 원격 파일 포함(RFI) 필터 설정으로 차단
🔧 검증 코드
BRIM 설치 경로와 template.tpl.php 파일 위치가 반환되면 해당 버전을 확인하여 1.2.1 이하인지 점검
find / -name 'template.tpl.php' -o -name 'BRIM*' 2>/dev/null | head -20