🇰🇷 한글 설명
ZPanel 2.0의 PHP 원격 파일 포함(RFI) 취약점으로, body 또는 page 파라미터를 통해 공격자가 원격 PHP 파일을 실행할 수 있습니다. 인증 없이 임의의 PHP 코드 실행이 가능하며 시스템 전체 제어로 이어질 수 있습니다.
💡 쉬운 설명
ZPanel 웹 호스팅 관리 도구에서 특정 입력값을 통해 해커가 자신의 서버에 있는 악성 PHP 파일을 실행시킬 수 있는 문제입니다. 이를 통해 시스템을 완전히 장악당할 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in ZPanel 2.0 allow remote attackers to execute arbitrary PHP code via a URL in (1) the body parameter to templates/ZPanelV2/template.php or (2) the page parameter to zpanel.php. NOTE: the zpanel.php vector may overlap CVE-2005-0793.2. NOTE: the provenance of this information is unknown; the details are obtained solely from third party information.
📍 영향받는 시스템
ZPanel 2.0 및 그 이전 버전
⚔️ 공격 벡터
URL 파라미터를 통한 원격 파일 포함(RFI) - body 또는 page 파라미터에 원격 URL 주입
🛡️ 대응 방법
ZPanel을 최신 버전으로 업그레이드하고, allow_url_fopen=Off 및 allow_url_include=Off로 PHP 설정 변경
🔧 검증 코드
allow_url_fopen과 allow_url_include이 Off로 설정되어 있으면 안전, On이면 취약한 상태입니다.
grep -E '^allow_url_(fopen|include)' /etc/php.ini 2>/dev/null || grep -r 'allow_url_fopen\|allow_url_include' /etc/php*/ 2>/dev/null | grep -v '^;'