🇰🇷 한글 설명
PHPEcho CMS 2.0의 원격 파일 포함(RFI) 취약점으로, smarty/internals/core.load_pulgins.php의 _plugin_file 파라미터 또는 index.php의 root_path 파라미터를 통해 공격자가 외부에서 PHP 코드를 포함시켜 임의 코드를 실행할 수 있습니다.
💡 쉬운 설명
웹사이트 관리 소프트웨어(PHPEcho CMS)가 외부 파일을 불러올 때 제대로 검증하지 않아, 해커가 악성 코드가 들어있는 파일을 강제로 로드시킬 수 있는 문제입니다. 이를 통해 서버를 완전히 장악할 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in PHPEcho CMS 2.0 allow remote attackers to execute arbitrary PHP code via a URL in the (1) _plugin_file parameter to smarty/internals/core.load_pulgins.php or the (2) root_path parameter to index.php. NOTE: CVE disputes (1) because the inclusion occurs within a function that is not called during a direct request. CVE disputes (2) because root_path is defined in config.php before use
📍 영향받는 시스템
PHPEcho CMS 2.0 및 이전 버전
⚔️ 공격 벡터
HTTP 요청에서 _plugin_file 또는 root_path 파라미터에 원격 URL을 주입하여 악성 PHP 파일 실행
🛡️ 대응 방법
PHPEcho CMS를 최신 버전으로 즉시 업그레이드하고, 입력 검증 및 파일 포함 함수 사용을 제한
🔧 검증 코드
PHPEcho CMS 설치 경로가 출력되면 해당 버전을 확인하여 2.0 이상이면 취약함. 파일이 없으면 설치되지 않음.
find / -name 'core.load_pulgins.php' -o -name 'index.php' 2>/dev/null | grep -i phpeecho | head -5