🇰🇷 한글 설명
PHP 자원봉사 관리 시스템 v1.0.2의 문서 업로드 기능에서 파일 유형 제한이 없어 악의적인 파일을 업로드할 수 있습니다. 공개적으로 접근 가능한 uploads 디렉토리에 PHP 셸을 업로드한 후 직접 요청으로 실행할 수 있으며, 기본 자격증명으로 인해 쉽게 악용될 수 있습니다.
💡 쉬운 설명
이 프로그램은 누구나 악성 파일을 업로드할 수 있는 보안 문제가 있습니다. 이를 통해 공격자가 웹 서버를 완전히 제어할 수 있습니다.
🇺🇸 원문 (English)
PHP Volunteer Management System v1.0.2 contains an arbitrary file upload vulnerability in its document upload functionality. Authenticated users can upload files to the mods/documents/uploads/ directory without any restriction on file type or extension. Because this directory is publicly accessible and lacks execution controls, attackers can upload a malicious PHP payload and execute it remotely. The application ships with default credentials, making exploitation trivial. Once authenticated, the attacker can upload a PHP shell and trigger it via a direct GET request.
📍 영향받는 시스템
PHP Volunteer Management System v1.0.2
⚔️ 공격 벡터
기본 자격증명으로 로그인 후 문서 업로드 기능을 통해 PHP 웹셸 업로드 및 직접 요청으로 원격 코드 실행
🛡️ 대응 방법
최신 버전으로 업그레이드하고 기본 자격증명 변경 및 업로드 디렉토리 PHP 실행 비활성화 (.htaccess에 php_flag engine off 추가)
🔧 검증 코드
200 상태 코드 반환 시 디렉토리가 공개적으로 접근 가능하며 실제 업로드 취약점 존재 가능성 높음
curl -s -o /dev/null -w '%{http_code}' http://target/mods/documents/uploads/ | grep -q '200' && echo 'VULNERABLE: Directory accessible' || echo 'Directory not accessible'