🇰🇷 한글 설명
xbtitFM 4.1.18에서 파일 업로드 취약점이 발견되어 인증된 공격자가 관리자 권한을 이용하여任意의 PHP 코드를 업로드하고 실행할 수 있습니다. 공격자는 파일 유형 제한을 피하기 위해 Content-Type 헤더를 image/gif으로 수정하고, GIF89a 매직 바이트를 추가하며, 대체 PHP 태그를 사용하여 웹 쉘을 업로드하여 시스템 명령을 실행할 수 있습니다.
💡 쉬운 설명
xbtitFM 4.1.18에서 파일 업로드 취약점이 발견되어 공격자가 관리자 권한을 이용하여 任意의 PHP 코드를 업로드하고 실행할 수 있습니다. 공격자는 파일 유형 제한을 피할 수 있습니다. 이는 시스템의 보안을 위협할 수 있습니다.
🇺🇸 원문 (English)
xbtitFM 4.1.18 contains an insecure file upload vulnerability that allows authenticated attackers with administrative privileges to upload and execute arbitrary PHP code through the file_hosting feature. Attackers can bypass file type restrictions by modifying the Content-Type header to image/gif, adding GIF89a magic bytes, and using alternate PHP tags to upload web shells that execute system commands.
📍 영향받는 시스템
xbtitFM 4.1.18
⚔️ 공격 벡터
인증된 공격자가 관리자 권한을 이용하여 파일 업로드 기능을 악용
🛡️ 대응 방법
최신 버전의 xbtitFM을 업데이트하거나, 파일 업로드 기능을 제한하거나, 웹 쉘 업로드를 방지하는 보안 조치를 취합니다.
🔧 검증 코드
로컬에서 Python을 실행하여 xbtitFM 버전을 확인합니다. 예제 URL은 실제 시스템의 URL로 교체해야 합니다. Python 3.x 이상이 설치되어 있어야 합니다.
python -c "import requests; response = requests.get('https://example.com/xbtitFM/version'); if '4.1.18' in response.text: print('{"result": "취약", "reason": "xbtitFM 4.1.18 버전"}'); else: print('{"result": "양호", "reason": "최신 버전"}')"