🇰🇷 한글 설명
PHPGurukul Online Course Registration 3.1 이하 버전의 학생 프로필 편집 페이지(/admin/edit-student-profile.php)에서 photo 파라미터 조작으로 인한 무제한 파일 업로드 취약점입니다. 공격자가 원격에서 임의의 파일을 업로드하여 서버를 장악할 수 있으며, 공개된 익스플로잇이 존재합니다.
💡 쉬운 설명
학생 프로필 사진 업로드 기능에서 파일 검증이 없어서, 악의적인 사용자가 위험한 프로그램 파일을 업로드할 수 있습니다. 업로드된 파일이 실행되면 서버가 완전히 장악될 수 있습니다.
🇺🇸 원문 (English)
A vulnerability was found in PHPGurukul Online Course Registration up to 3.1. This issue affects some unknown processing of the file /admin/edit-student-profile.php of the component Student Registration Page. The manipulation of the argument photo results in unrestricted upload. The attack may be launched remotely. The exploit has been made public and could be used.
📍 영향받는 시스템
PHPGurukul Online Course Registration 버전 3.1 이하
⚔️ 공격 벡터
원격 인증 없이 /admin/edit-student-profile.php의 photo 파라미터에 악성 파일(webshell 등)을 업로드하여 실행
🛡️ 대응 방법
PHPGurukul을 최신 버전으로 업그레이드하거나, 파일 업로드 시 확장자/MIME 타입 검증, 업로드 디렉토리 실행 권한 제거, 관리자 페이지 접근 제한 적용
🔧 검증 코드
명령어 결과로 파일이 출력되면 PHPGurukul이 설치되어 있으며, 해당 파일의 소유자와 권한을 확인해서 웹 서버가 쓰기 권한을 가지고 있는지 점검하세요.
find / -path '*/admin/edit-student-profile.php' 2>/dev/null | head -1