🇰🇷 한글 설명
BandSite CMS 1.1.4의 adminpanel/scripts/addphotos.php에서 인증된 관리자가 제한 없이 파일을 업로드할 수 있는 취약점입니다. 악의적인 관리자가 PHP 실행 파일을 업로드하여 임의의 PHP 코드를 실행할 수 있으며, 업로드된 파일은 images/gallery/ 디렉토리를 통해 직접 접근 가능합니다.
💡 쉬운 설명
BandSite CMS 관리자 패널이 사진 업로드 시 파일 종류를 제대로 검증하지 않습니다. 악의적인 관리자는 위험한 PHP 파일을 업로드하여 웹사이트에서 악의적인 코드를 실행할 수 있습니다.
🇺🇸 원문 (English)
Unrestricted file upload vulnerability in adminpanel/scripts/addphotos.php in BandSite CMS 1.1.4 allows remote authenticated administrators to execute arbitrary PHP code by uploading a file with an executable extension via an addphotos action to adminpanel/index.php, and then accessing the file via a direct request with an images/gallery/ directory name. NOTE: some of these details are obtained from third party information.
📍 영향받는 시스템
BandSite CMS 1.1.4
⚔️ 공격 벡터
인증된 관리자가 adminpanel/index.php의 addphotos 액션을 통해 PHP 실행 파일을 업로드하고 images/gallery/ 경로로 직접 접근하여 코드 실행
🛡️ 대응 방법
BandSite CMS를 최신 버전으로 업그레이드하거나 파일 업로드 검증 강화 및 images/gallery/ 디렉토리의 PHP 실행 권한 제거
🔧 검증 코드
명령어가 파일 경로를 반환하면 BandSite CMS가 설치되어 있으며, 해당 버전이 1.1.4인지 확인하여 취약성 존재 여부 판단
find /var/www -name "addphotos.php" 2>/dev/null | head -1