🇰🇷 한글 설명
Emlog 2.6.2 및 이전 버전의 admin/plugin.php 파일에서 로컬 파일 포함(LFI) 취약점이 발견되었습니다. GET 요청의 $plugin 파라미터가 적절한 검증 없이 require_once 경로에 사용되어, CSRF 토큰 검증을 우회할 경우 서버 내 임의의 PHP 파일을 실행할 수 있습니다.
💡 쉬운 설명
웹사이트 관리자 페이지의 특정 경로를 통해 서버 내부의 비밀 파일을 읽거나 실행할 수 있는 취약점입니다. 공격자가 조작된 링크를 통해 서버의 제어권을 획득할 위험이 있습니다.
🇺🇸 원문 (English)
Emlog is an open source website building system. In versions 2.6.2 and prior, a Local File Inclusion (LFI) vulnerability exists in admin/plugin.php at line 80. The $plugin parameter from the GET request is directly used in a require_once path without proper sanitization. If the CSRF token check can be bypassed (see potential bypass conditions), an attacker can include arbitrary PHP files from the server filesystem, leading to code execution. At time of publication, there are no publicly available patches.
📍 영향받는 시스템
Emlog 버전 2.6.2 및 그 이전 버전
⚔️ 공격 벡터
조작된 GET 요청의 $plugin 파라미터를 이용한 로컬 파일 포함(LFI) 공격
🛡️ 대응 방법
입력 파라미터에 대한 엄격한 화이트리스트 검증 로직을 추가하거나 최신 보안 업데이트를 적용하십시오.
🔧 검증 코드
명령어 실행 결과 80행 부근에서 $plugin 변수가 포함된 require_once 구문이 확인되면 취약한 상태입니다.
grep -n "require_once.*\$plugin" admin/plugin.php