🇰🇷 한글 설명
EGroupware와 EPL의 철자 검사기 페이지에서 aspell_path 또는 spellchecker_lang 파라미터에 shell 메타문자를 삽입하여 원격에서 임의의 명령을 실행할 수 있는 취약점입니다. 입력값이 충분히 검증되지 않아 공격자가 시스템 명령을 주입할 수 있습니다.
💡 쉬운 설명
웹 애플리케이션의 철자 검사 기능이 사용자 입력을 제대로 검증하지 않아서, 악의적인 명령어를 포함한 요청을 보내면 서버에서 그 명령이 실행됩니다. 이를 통해 공격자는 서버를 완전히 제어할 수 있습니다.
🇺🇸 원문 (English)
phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/serverscripts/spellchecker.php in EGroupware 1.4.001+.002; 1.6.001+.002 and possibly other versions before 1.6.003; and EPL 9.1 before 9.1.20100309 and 9.2 before 9.2.20100309; allows remote attackers to execute arbitrary commands via shell metacharacters in the (1) aspell_path or (2) spellchecker_lang parameters.
📍 영향받는 시스템
EGroupware 1.4.001~1.6.002, EPL 9.1 (9.1.20100309 이전), EPL 9.2 (9.2.20100309 이전)
⚔️ 공격 벡터
HTTP GET/POST 요청으로 spellchecker.php의 aspell_path 또는 spellchecker_lang 파라미터에 shell 메타문자(예: ;, |, &&, `, $()) 포함
🛡️ 대응 방법
EGroupware는 1.6.003 이상, EPL은 9.1.20100309 이상 또는 9.2.20100309 이상으로 업그레이드하거나 해당 파일에 입력 검증 및 이스케이프 처리 적용
🔧 검증 코드
spellchecker.php 파일이 존재하고 취약한 파라미터가 포함되어 있으면 시스템이 영향을 받을 수 있습니다. 파일이 없거나 최신 버전이면 안전합니다.
find / -name 'spellchecker.php' 2>/dev/null | head -5; grep -l 'aspell_path\|spellchecker_lang' /path/to/egroupware/phpgwapi/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/serverscripts/spellchecker.php 2>/dev/null