🇰🇷 한글 설명
OpenDock Easy Gallery 1.4 이전 버전에서 register_globals가 활성화되어 있을 때 발생하는 원격 파일 포함(RFI) 취약점입니다. 공격자는 doc_directory 파라미터를 통해 악성 PHP 파일을 원격에서 실행할 수 있습니다.
💡 쉬운 설명
웹사이트 갤러리 소프트웨어의 오래된 버전에서 공격자가 외부의 악성 파일을 실행시킬 수 있는 허점이 있습니다. 이는 설정 실수로 인해 낯선 사람이 컴퓨터에 접근할 수 있게 된 것과 같습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in OpenDock Easy Gallery 1.4 and earlier, when register_globals is enabled, allow remote attackers to execute arbitrary PHP code via a URL in the doc_directory parameter in (1) file.php; (2) find_user.php, (3) lib_user.php, (4) lib_form_user.php, and (5) user.php in sw/lib_user/; (6) find_session.php and (7) session.php in sw/lib_session/; (8) comment.php and (9) lib_comment.php in sw/lib_comment/; and other unspecified PHP scripts.
📍 영향받는 시스템
OpenDock Easy Gallery 1.4 및 이전 버전 (register_globals 활성화된 환경)
⚔️ 공격 벡터
doc_directory 파라미터에 악의적인 원격 PHP 파일 URL 주입을 통한 코드 실행
🛡️ 대응 방법
소프트웨어를 최신 버전으로 업그레이드하거나 PHP의 register_globals 설정 비활성화
🔧 검증 코드
register_globals가 On으로 설정되어 있으면 취약한 상태입니다. Off 또는 deprecated 메시지가 나타나면 안전합니다.
grep -r 'register_globals\s*=\s*On' /etc/php* 2>/dev/null || php -i 2>/dev/null | grep register_globals