🔍 CVE-2008-2645

7.5
CVSS Score
HIGH
2008-06-10
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

Brim (구 Booby) 1.0.1에서 여러 PHP 원격 파일 포함 취약점이 발견되었습니다. 공격자는 템플릿 디렉토리의 template.tpl.php 파일의 renderer 파라미터를 악용하여 임의의 PHP 코드를 실행할 수 있습니다. 디렉토리 순회 시퀀스를 통해 임의의 로컬 파일도 포함 및 실행 가능합니다.

💡 쉬운 설명

웹사이트 제작 도구인 Brim에서 공격자가 악성 파일을 실행시킬 수 있는 심각한 보안 결함입니다. 이를 통해 서버 전체를 제어당할 수 있습니다.

🇺🇸 원문 (English)

Multiple PHP remote file inclusion vulnerabilities in Brim (formerly Booby) 1.0.1 allow remote attackers to execute arbitrary PHP code via a URL in the renderer parameter to template.tpl.php in (1) barrel/, (2) barry/, (3) mylook/, (4) oerdec/, (5) penguin/, (6) sidebar/, (7) slashdot/, and (8) text-only/ in templates/. NOTE: this can also be leveraged to include and execute arbitrary local files via directory traversal sequences.

📍 영향받는 시스템

Brim (formerly Booby) 1.0.1 - barrel, barry, mylook, oerdec, penguin, sidebar, slashdot, text-only 템플릿 디렉토리의 template.tpl.php

⚔️ 공격 벡터

template.tpl.php의 renderer 파라미터에 원격 파일 URL 또는 디렉토리 순회를 포함한 로컬 파일 경로 입력으로 PHP 코드 실행 유도

🛡️ 대응 방법

Brim을 최신 버전으로 업그레이드하고 renderer 파라미터 입력값 검증, 화이트리스트 적용, 원격 파일 포함(allow_url_include) 비활성화

🔧 검증 코드

Brim의 취약한 template.tpl.php 파일이 시스템에 존재하면 결과가 출력되며, 파일이 없으면 이미 패치되었거나 설치되지 않은 상태입니다.

Shell / Script
find / -path '*/templates/*' -name 'template.tpl.php' 2>/dev/null | xargs grep -l 'renderer' 2>/dev/null

📊 CVSS Vector String

CVSS Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

💻 영향받는 소프트웨어

PHP