🇰🇷 한글 설명
Vtiger CRM 8.4.0 미만 버전에서 인증된 저권한 사용자가 .phar 확장자를 이용해 임의의 PHP 코드를 업로드하여 원격 코드 실행(RCE)을 수행할 수 있는 취약점입니다. config.inc.php의 확장자 차단 목록에 .phar가 누락되어 있으며, Apache 2.4 환경에서 잘못 설정된 .htaccess가 무시되는 점을 악용하여 업로드된 파일을 직접 실행할 수 있습니다.
💡 쉬운 설명
권한이 낮은 사용자가 허용되지 않은 파일 형식을 교묘하게 업로드하여 서버를 마음대로 조종할 수 있는 보안 구멍입니다. 서버 설정 오류로 인해 업로드된 악성 파일이 실행될 수 있는 상태입니다.
🇺🇸 원문 (English)
Vtiger CRM before 8.4.0 contains an authenticated file upload vulnerability that allows low-privileged users to achieve remote code execution by uploading a .phar file containing arbitrary PHP code through the Documents module, bypassing the extension denylist in config.inc.php which omits the .phar extension. The uploaded file is stored with its original .phar extension under the web-accessible storage directory, and a misconfigured .htaccess using Apache 2.2 syntax is silently ignored on Apache 2.4 deployments, allowing unauthenticated HTTP requests to directly execute the uploaded PHP payload.
📍 영향받는 시스템
Vtiger CRM version before 8.4.0
⚔️ 공격 벡터
Documents 모듈을 통한 .phar 파일 업로드 및 Apache 설정 오류를 이용한 직접 실행
🛡️ 대응 방법
Vtiger CRM을 8.4.0 이상 버전으로 업데이트하고, Apache 2.4 환경에 맞게 .htaccess 설정을 수정하십시오.
🔧 검증 코드
설정 파일 내의 확장자 차단 목록(denylist)에 .phar가 포함되어 있는지 확인하십시오.
curl -s http://<target_ip>/vtiger/config.inc.php | grep -i 'extension_denylist' || echo 'Manual check required'