🇰🇷 한글 설명
ProjectSend r100~r561 버전의 process-upload.php에서 파일 업로드 검증이 불충분하여 PHP 파일을 업로드한 후 직접 접근으로 임의의 PHP 코드를 실행할 수 있습니다. 공격자는 upload/files/ 또는 upload/temp/ 디렉토리의 업로드된 PHP 파일에 접근하여 서버에서 임의 명령을 실행할 수 있습니다.
💡 쉬운 설명
ProjectSend의 파일 업로드 기능이 PHP 파일 업로드를 제대로 차단하지 못해 공격자가 악성 PHP 파일을 업로드하고 웹에서 실행할 수 있습니다. 이를 통해 서버 전체가 장악될 수 있습니다.
🇺🇸 원문 (English)
Unrestricted file upload vulnerability in process-upload.php in ProjectSend (formerly cFTP) r100 through r561 allows remote attackers to execute arbitrary PHP code by uploading a file with a PHP extension, then accessing it via a direct request to the file in the upload/files/ or upload/temp/ directory.
📍 영향받는 시스템
ProjectSend r100 ~ r561 모든 버전
⚔️ 공격 벡터
ProjectSend 파일 업로드 기능을 통해 PHP 파일 업로드 후 upload/files/ 또는 upload/temp/ 경로로 직접 HTTP 접근
🛡️ 대응 방법
ProjectSend를 r562 이상의 최신 버전으로 업그레이드하거나 웹서버의 업로드 디렉토리에서 PHP 실행 비활성화
🔧 검증 코드
process-upload.php 파일이 발견되면 해당 버전 확인 필요하며, 파일이 없으면 ProjectSend가 설치되지 않았거나 다른 경로에 위치함
find /var/www -name 'process-upload.php' 2>/dev/null | xargs grep -l 'version\|VERSION' | head -1