🇰🇷 한글 설명
V-webmail 1.6.4에서 CONFIG[pear_dir]과 CONFIG[includes] 파라미터에 대한 원격 파일 포함 취약점이 존재합니다. 인증되지 않은 공격자가 이 파라미터에 외부 URL을 입력하여 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
V-webmail 이메일 프로그램에서 특정 설정 값에 악의적인 웹 주소를 입력하면 공격자가 서버에서 자신의 코드를 실행할 수 있습니다. 이는 웹사이트 해킹, 사용자 정보 탈취 등으로 이어질 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in V-webmail 1.6.4 allow remote attackers to execute arbitrary PHP code via a URL in the (1) CONFIG[pear_dir] parameter to (a) Mail/RFC822.php, (b) Net/Socket.php, (c) XML/Parser.php, (d) XML/Tree.php, (e) Mail/mimeDecode.php, (f) Console/Getopt.php, (g) System.php, (h) Log.php, and (i) File.php in includes/pear/; the CONFIG[pear_dir] parameter to (j) includes/prepend.php, and (k) includes/cachedConfig.php; and the (2) CONFIG[includes] parameter to (l) prepend.php and (m) email.list.search.php in includes/. NOTE: the CONFIG[pear_dir] parameter to includes/mailaccess/pop3.php is already covered by CVE-2006-2666.
📍 영향받는 시스템
V-webmail 버전 1.6.4 및 그 이하
⚔️ 공격 벡터
CONFIG 파라미터에 원격 파일 URL을 주입하여 include() 함수로 외부 PHP 코드 실행
🛡️ 대응 방법
V-webmail을 1.6.5 이상으로 업그레이드하거나, CONFIG 파라미터 입력값 검증 및 file inclusion 기능 비활성화
🔧 검증 코드
V-webmail 설치 디렉토리에서 취약한 CONFIG[pear_dir] 파라미터를 사용하는 PHP 파일들이 발견되면 해당 버전이 영향받는 것으로 확인됨
find /var/www -name '*.php' -type f | xargs grep -l 'CONFIG\[pear_dir\]' 2>/dev/null | head -5