🇰🇷 한글 설명
Pineapple Technologies Lore 1의 PHPMailer, Smarty 등 서드파티 라이브러리에서 원격 파일 포함(RFI) 취약점이 발견되었습니다. 공격자가 lang_path나 get_plugin_file_path 파라미터를 통해 악의적인 URL을 주입하여 임의의 PHP 코드를 원격으로 실행할 수 있습니다.
💡 쉬운 설명
웹 애플리케이션이 특정 매개변수의 파일을 안전하지 않게 포함시켜 공격자가 원격 서버의 악성 코드를 실행하도록 할 수 있습니다. 이를 통해 웹 서버 전체가 장악될 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in Pineapple Technologies Lore 1 allow remote attackers to execute arbitrary PHP code via a URL in the (1) lang_path parameter to third_party/phpmailer/class.phpmailer.php or the (2) get_plugin_file_path parameter to third_party/smarty/libs/plugins/function.html_checkboxes.php. NOTE: the affected files might be from other software packages, so this might not be a vulnerability in Lore itself. NOTE: (1) might be the same issue as CVE-2006-5734.4.
📍 영향받는 시스템
Pineapple Technologies Lore 1 및 포함된 PHPMailer, Smarty 라이브러리
⚔️ 공격 벡터
HTTP 요청으로 lang_path 또는 get_plugin_file_path 파라미터에 공격자 제어 URL 주입
🛡️ 대응 방법
Lore와 PHPMailer/Smarty를 최신 패치 버전으로 업그레이드하고 remote URL 포함 비활성화
🔧 검증 코드
결과가 나타나면 원격 파일 포함 가능성이 있으며, 결과가 없으면 패치되었을 가능성이 있음
grep -r 'include\|require' /path/to/lore/third_party/ 2>/dev/null | grep -E '\$_GET|\$_REQUEST|lang_path|get_plugin_file_path'