🇰🇷 한글 설명
ZeroBoard 4.1pl5 이전 버전의 print_category.php, login.php, setup.php, ask_password.php, error.php에서 dir 매개변수 검증 부재로 인한 원격 파일 포함(RFI) 취약점입니다. 공격자가 dir 매개변수를 조작하여 원격 서버의 악성 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
ZeroBoard 웹 프로그램이 사용자 입력을 제대로 검증하지 않아 해커가 인터넷에서 악의적인 코드를 마음대로 실행시킬 수 있는 취약점입니다. 웹서버 전체가 장악될 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in (1) print_category.php, (2) login.php, (3) setup.php, (4) ask_password.php, or (5) error.php in ZeroBoard 4.1pl5 and earlier allow remote attackers to execute arbitrary PHP code by modifying the dir parameter to reference a URL on a remote web server that contains the code.
📍 영향받는 시스템
ZeroBoard 4.1pl5 이전 버전
⚔️ 공격 벡터
HTTP 요청을 통해 dir 파라미터를 외부 URL로 설정하여 원격 PHP 파일을 포함시켜 실행
🛡️ 대응 방법
ZeroBoard를 4.1pl6 이상으로 업그레이드하고 dir 파라미터에 대한 입력값 화이트리스트 검증 구현
🔧 검증 코드
ZeroBoard 설치 여부 및 웹페이지 응답에서 버전 정보를 확인하여 취약한 버전(4.1pl5 이하) 여부를 판단
curl -s http://localhost/zeroboard/ 2>/dev/null | grep -i 'zeroboard\|version' | head -1