🇰🇷 한글 설명
BASE (Basic Analysis and Security Engine) 1.4.5에서 BASE_path 매개변수 등 여러 입력값을 통한 원격 파일 포함(RFI) 취약점이 존재합니다. 공격자가 악의적인 URL을 전달하여 임의의 PHP 코드를 원격에서 실행할 수 있습니다. 39개 이상의 PHP 파일이 영향을 받습니다.
💡 쉬운 설명
BASE 보안 소프트웨어에서 특정 입력값을 통해 공격자가 악의적인 코드를 실행할 수 있는 구멍이 있습니다. 인터넷이 연결된 웹 서버가 이 소프트웨어를 실행 중이면 누구든지 원격에서 공격할 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in Basic Analysis and Security Engine (BASE) 1.4.5 allow remote attackers to execute arbitrary PHP code via a URL in the (1) BASE_path parameter to base_ag_main.php, (2) base_db_setup.php, (3) base_graph_common.php, (4) base_graph_display.php, (5) base_graph_form.php, (6) base_graph_main.php, (7) base_local_rules.php, (8) base_logout.php, (9) base_main.php, (10) base_maintenance.php, (11) base_payload.php, (12) base_qry_alert.php, (13) base_qry_common.php, (14) base_qry_main.php, (15) base_stat_alerts.php, (16) base_stat_class.php, (17) base_stat_common.php, (18) base_stat_ipaddr.php, (19) base_stat_iplink.php, (20) base_stat_ports.php, (21) base_stat_sensor.php, (22) base_stat_time.php, (23) base_stat_uaddr.php, (24) base_user.php, (25) index.php, (26) admin/base_roleadmin.php, (27) admin/base_useradmin.php, (28) admin/index.php, (29) help/base_setup_help.php, (30) includes/base_action.inc.php, (31) includes/base_cache.inc.php, (32) includes/base_db.inc.php, (33) includes/base_db.inc.php, (34) includes/base_include.inc.php, (35) includes/base_output_html.inc.php, (36) includes/base_output_query.inc.php, (37) includes/base_state_criteria.inc.php, (38) includes/base_state_query.inc.php or (39) setup/base_conf_contents.php; (40) GLOBALS[user_session_path] parameter to includes/base_state_common.inc.php; (41) BASE_Language parameter to setup/base_conf_contents.php; or (42) ado_inc_php parameter to setup/setup2.php.
📍 영향받는 시스템
Basic Analysis and Security Engine (BASE) 버전 1.4.5
⚔️ 공격 벡터
BASE_path, GLOBALS[user_session_path], BASE_Language, ado_inc_php 등의 매개변수에 원격 파일 경로를 주입하여 PHP 코드 실행
🛡️ 대응 방법
BASE를 최신 버전으로 즉시 업그레이드하고, 웹 서버 접근 제한을 설정하여 신뢰할 수 있는 네트워크에서만 접속 허용
🔧 검증 코드
BASE 설치 경로를 찾은 후 해당 디렉토리의 버전 파일을 확인하여 1.4.5 버전이면 즉시 업그레이드 필요, 최신 버전이면 안전
find /var/www -name 'base_main.php' -o -name 'index.php' 2>/dev/null | xargs grep -l 'BASE\|VERSION' 2>/dev/null | head -1