🇰🇷 한글 설명
Madirish Webmail 2.0의 PHP 원격 파일 포함(RFI) 취약점으로, GLOBALS[basedir] 파라미터를 통해 악의적인 공격자가 임의의 PHP 코드를 실행할 수 있습니다. calendar.php, compose.php, index.php 파일이 영향을 받습니다.
💡 쉬운 설명
웹메일 소프트웨어의 설정 경로를 입력받는 부분에서 외부 파일을 불러올 수 있는 결함이 있습니다. 이를 악용하면 서버에서 공격자가 원하는 코드를 실행할 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in Madirish Webmail 2.0 allow remote attackers to execute arbitrary PHP code via a URL in the GLOBALS[basedir] parameter to (1) calendar.php, (2) compose.php, and (3) index.php, different vectors than CVE-2007-2826. NOTE: the provenance of this information is unknown; the details are obtained solely from third party information.
📍 영향받는 시스템
Madirish Webmail 2.0 및 이전 버전
⚔️ 공격 벡터
GLOBALS[basedir] 파라미터에 원격 PHP 파일 URL 입력하여 calendar.php, compose.php, index.php를 통한 코드 실행
🛡️ 대응 방법
Madirish Webmail을 최신 버전으로 업그레이드하거나, 해당 파라미터 입력값 검증 및 원격 파일 포함 비활성화(allow_url_include=Off)
🔧 검증 코드
명령 결과로 파일이 나타나면 Madirish Webmail이 설치되어 있으며, 버전 확인 후 2.0 이하이면 취약합니다.
find /var/www /opt -type f \( -name 'calendar.php' -o -name 'compose.php' \) 2>/dev/null | grep -i madirish