🇰🇷 한글 설명
SugarCRM Sugar Sales 2.0.1c 이전 버전에 디렉토리 트래버설 취약점이 존재하여, 공격자가 index.php와 Login.php의 module, action, theme 파라미터에 '..' 시퀀스를 입력하면 임의의 파일을 읽을 수 있습니다. 이를 통해 원격에서 임의의 PHP 코드까지 실행 가능한 극도로 위험한 취약점입니다.
💡 쉬운 설명
SugarCRM 시스템의 특정 입력란에 특수문자(../)를 넣으면 접근하면 안 되는 폴더의 파일을 열람할 수 있는 보안 문제입니다. 공격자가 이를 악용하면 중요 파일 노출 및 악성 코드 실행까지 가능합니다.
🇺🇸 원문 (English)
Directory traversal vulnerability in SugarCRM Sugar Sales 2.0.1c and earlier allows remote attackers to read arbitrary files and possibly execute arbitrary PHP code via .. (dot dot) sequences in the (1) module, (2) action, or (3) theme parameters to index.php, (4) the theme parameter to Login.php, and possibly other parameters or scripts.
📍 영향받는 시스템
SugarCRM Sugar Sales 2.0.1c 및 이전 모든 버전
⚔️ 공격 벡터
index.php의 module/action/theme 파라미터 또는 Login.php의 theme 파라미터에 '../' 시퀀스를 삽입하여 상위 디렉토리 접근
🛡️ 대응 방법
SugarCRM을 2.0.2 이상으로 즉시 업그레이드하거나, 입력값 검증을 강화하여 '../' 패턴을 차단
🔧 검증 코드
결과에서 SugarCRM 패키지나 디렉토리가 나타나면 설치 상태이며, 버전 정보를 확인하여 2.0.1c 이하 여부를 판단합니다.
dpkg -l 2>/dev/null | grep -i sugarcrm || find /opt /var/www /home -name 'SugarCRM*' -type d 2>/dev/null | head -1