🇰🇷 한글 설명
PHP register_globals 활성화 상태에서 BASE 1.2.4 이전 버전의 BASE_path 파라미터를 통한 원격 파일 포함(RFI) 취약점이 존재합니다. 공격자가 악의적인 URL을 전달하여 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
BASE라는 분석 도구에서 외부 파일을 불러올 때 보안 검사를 하지 않아, 해커가 악성 파일을 실행시킬 수 있습니다. 이는 PHP의 register_globals 설정이 활성화되어 있을 때만 가능합니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in Basic Analysis and Security Engine (BASE) 1.2.4 and earlier, with register_globals enabled, allows remote attackers to execute arbitrary PHP code via a URL in the BASE_path parameter to (1) base_qry_common.php, (2) base_stat_common.php, and (3) includes/base_include.inc.php.
📍 영향받는 시스템
Basic Analysis and Security Engine (BASE) 1.2.4 이전 버전 (register_globals 활성화된 환경)
⚔️ 공격 벡터
base_qry_common.php, base_stat_common.php, base_include.inc.php의 BASE_path 파라미터에 원격 PHP 파일 URL 삽입
🛡️ 대응 방법
BASE를 1.2.5 이상으로 업그레이드하거나 PHP register_globals를 비활성화(php.ini에서 register_globals = Off로 설정)
🔧 검증 코드
BASE_path가 사용되는 파일들이 나열되면 해당 버전 확인 후 1.2.4 이하면 패치 필요
grep -r 'BASE_path' /var/www/base/ 2>/dev/null | head -5