🇰🇷 한글 설명
phpCollegeExchange 0.1.5c에서 register_globals가 활성화된 경우, home 파라미터를 통해 원격 파일 포함(RFI) 취약점이 발생합니다. 공격자가 악의적인 URL을 입력하여 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
phpCollegeExchange라는 웹 애플리케이션의 설정 오류로 인해 외부 악성 파일을 실행할 수 있습니다. 공격자가 이를 악용하면 웹 서버를 완전히 제어할 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in phpCollegeExchange 0.1.5c, when register_globals is enabled, allow remote attackers to execute arbitrary PHP code via a URL in the home parameter to (1) i_head.php, (2) i_nav.php, (3) user_new_2.php, or (4) house/myrents.php; or (5) allbooks.php, (6) home.php, or (7) mybooks.php in books/. NOTE: house/myrents.php was also separately reported as a local file inclusion issue.
📍 영향받는 시스템
phpCollegeExchange 0.1.5c (register_globals=On 설정인 PHP 환경)
⚔️ 공격 벡터
i_head.php, i_nav.php, user_new_2.php, house/myrents.php 등의 home 파라미터에 원격 PHP 파일 URL 입력
🛡️ 대응 방법
phpCollegeExchange 업그레이드 + PHP에서 register_globals=Off로 설정 + 입력값 검증 강화
🔧 검증 코드
VULNERABLE이 출력되면 즉시 php.ini를 수정하여 register_globals = Off로 변경하고 Apache/PHP를 재시작해야 합니다.
php -r 'echo ini_get("register_globals") ? "VULNERABLE: register_globals ON" : "SAFE: register_globals OFF";'