🇰🇷 한글 설명
Support Incident Tracker (SiT!) 3.65의 ftp_upload_file.php에 제한되지 않은 파일 업로드 취약점이 존재합니다. 인증된 사용자가 PHP 파일을 업로드 후 직접 접근하여 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
웹 프로그램이 업로드되는 파일을 제대로 검사하지 않아 악의적인 코드를 업로드할 수 있습니다. 업로드된 파일을 직접 실행할 수 있어 시스템 전체가 위험해집니다.
🇺🇸 원문 (English)
Unrestricted file upload vulnerability in ftp_upload_file.php in Support Incident Tracker (aka SiT!) 3.65 allows remote authenticated users to execute arbitrary PHP code by uploading a PHP file, then accessing it via a direct request to the file in an unspecified directory.
📍 영향받는 시스템
Support Incident Tracker (SiT!) 3.65 및 이전 버전
⚔️ 공격 벡터
인증된 사용자가 ftp_upload_file.php를 통해 PHP 파일을 업로드하고 웹 브라우저에서 직접 접근하여 실행
🛡️ 대응 방법
SiT!를 최신 버전으로 업그레이드하거나 업로드 디렉토리에서 PHP 실행 비활성화 및 파일 확장자 화이트리스트 검증 추가
🔧 검증 코드
명령어가 SiT! 설치 디렉토리를 반환하면 해당 버전의 업로드 기능이 존재하며, ftp_upload_file.php 파일이 있으면 취약점 존재 가능성이 높습니다.
find /var/www -name 'ftp_upload_file.php' -o -name 'sit' -type d 2>/dev/null | grep -E '(sit|upload)' | head -5