🇰🇷 한글 설명
Snipe Gallery 3.1.5의 cfg_admin_path 파라미터에서 입력값 검증 부재로 인한 원격 파일 포함(RFI) 취약점입니다. 공격자는 악의적인 원격 URL을 입력하여 서버에서 임의의 PHP 코드를 실행할 수 있으며, 10개의 주요 파일이 영향받습니다. 시스템 전체 장악으로 이어질 수 있는 고위험 취약점입니다.
💡 쉬운 설명
갤러리 관리 도구에서 공격자가 악의적인 파일 주소를 입력하여 나쁜 코드를 실행시킬 수 있습니다. 이를 통해 서버 전체를 장악당할 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in Snipe Gallery 3.1.5 allow remote attackers to execute arbitrary PHP code via a URL in the cfg_admin_path parameter to (1) index.php, (2) view.php, (3) image.php, (4) search.php, (5) admin/index.php, (6) admin/gallery/index.php, (7) admin/gallery/view.php, (8) admin/gallery/gallery.php, (9) admin/gallery/image.php, and (10) admin/gallery/crop.php.
📍 영향받는 시스템
Snipe Gallery 3.1.5 이하 모든 버전
⚔️ 공격 벡터
cfg_admin_path 파라미터에 원격 파일 URL을 삽입하여 PHP 코드 실행 유도
🛡️ 대응 방법
Snipe Gallery를 최신 버전으로 업그레이드하거나 입력값의 엄격한 검증 및 원격 파일 포함 기능 비활성화
🔧 검증 코드
Snipe Gallery 설치 디렉토리에서 3.1.0~3.1.5 버전 정보가 나타나면 취약함 (출력이 없으면 미설치 또는 다른 버전)
find / -name 'Snipe*' -type d 2>/dev/null | head -1 | xargs -I {} grep -r 'version.*3\.1\.[0-5]' {}/include/ 2>/dev/null | head -1