🇰🇷 한글 설명
Facil Helpdesk 2.3 Lite의 index.php에 있는 PHP 원격 파일 포함(RFI) 취약점으로, lng 파라미터를 통해 원격 URL 또는 로컬 파일(.. 경로 사용)을 포함하여 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
웹 애플리케이션의 언어 설정 기능에 보안 검증이 없어서, 해커가 악의적인 파일을 실행시킬 수 있습니다. 이는 전체 시스템을 제어당할 수 있는 심각한 문제입니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in index.php in Cromosoft Technologies Facil Helpdesk 2.3 Lite allows remote attackers to execute arbitrary PHP code via a URL in the lng parameter. NOTE: this can also be leveraged to include and execute arbitrary local files via .. (dot dot) sequences.
📍 영향받는 시스템
Facil Helpdesk 2.3 Lite
⚔️ 공격 벡터
HTTP GET 요청의 lng 파라미터에 원격 URL(예: http://attacker.com/shell.php) 또는 로컬 경로(예: ../../../../etc/passwd)를 입력
🛡️ 대응 방법
최신 버전으로 즉시 업그레이드하거나, 최소한 lng 파라미터에 대한 입력값 검증, 화이트리스트 기반 필터링, 리모트 파일 인클루젼 비활성화(php.ini의 allow_url_include = Off 설정)
🔧 검증 코드
명령어 실행 후 경로가 표시되면 취약한 Facil Helpdesk가 설치된 것이고, 'not_found'이면 해당 애플리케이션이 설치되지 않은 것입니다.
find / -name index.php 2>/dev/null | xargs grep -l 'lng' | grep -i facil 2>/dev/null || echo 'not_found'