🇰🇷 한글 설명
vtiger CRM 5.2.1 이전 버전에서 include/utils/utils.php의 return_application_language 함수에 디렉토리 트래버설 취약점이 존재합니다. 공격자는 phprint.php의 lang_crm 파라미터나 graph.php의 current_language 파라미터를 통해 '..' 문자열을 주입하여 서버의 임의 파일을 포함하고 실행할 수 있습니다.
💡 쉬운 설명
vtiger CRM에서 언어 설정 기능에 보안 검증이 부족해 서버의 다른 파일을 접근할 수 있습니다. 공격자는 이를 악용해 서버 내 파일을 읽거나 실행할 수 있습니다.
🇺🇸 원문 (English)
Multiple directory traversal vulnerabilities in the return_application_language function in include/utils/utils.php in vtiger CRM before 5.2.1 allow remote attackers to include and execute arbitrary local files via a .. (dot dot) in (1) the lang_crm parameter to phprint.php or (2) the current_language parameter in an Accounts Import action to graph.php.
📍 영향받는 시스템
vtiger CRM < 5.2.1
⚔️ 공격 벡터
HTTP GET/POST 요청을 통한 디렉토리 트래버설 패턴 주입 (..\\..\\등)
🛡️ 대응 방법
vtiger CRM을 5.2.1 이상으로 업그레이드
🔧 검증 코드
utils.php 파일이 반환되면 해당 경로의 vtiger CRM 버전을 확인하고, 디렉토리 트래버설 방지 로직(예: str_replace('..','), basename() 등)이 있는지 코드로 검증
find /opt -name 'utils.php' -type f 2>/dev/null | xargs grep -l 'return_application_language' 2>/dev/null