🇰🇷 한글 설명
Sflog! CMS 1.0은 기본 자격증명(admin:secret)을 포함하고 있으며, manage.php의 파일 업로드 기능에서 파일 타입 검증이 부재합니다. 공격자는 인증 후 PHP 백도어를 웹 접근 가능한 blogs/download/uploads/ 디렉토리에 업로드하여 원격 코드 실행이 가능합니다.
💡 쉬운 설명
기본 비밀번호로 로그인한 후 파일 업로드 기능을 악용해 악성 파일을 서버에 설치할 수 있습니다. 설치 후 공격자가 서버 전체를 제어할 수 있게 됩니다.
🇺🇸 원문 (English)
Sflog! CMS 1.0 contains an authenticated arbitrary file upload vulnerability in the blog management interface. The application ships with default credentials (admin:secret) and allows authenticated users to upload files via manage.php. The upload mechanism fails to validate file types, enabling attackers to upload a PHP backdoor into a web-accessible directory (blogs/download/uploads/). Once uploaded, the file can be executed remotely, resulting in full remote code execution.
📍 영향받는 시스템
Sflog! CMS 1.0 및 그 이전 버전
⚔️ 공격 벡터
기본 자격증명(admin:secret)으로 manage.php 접근 후 파일 타입 검증 우회하여 PHP 파일 업로드 및 원격 실행
🛡️ 대응 방법
최신 버전으로 업그레이드, 기본 자격증명 즉시 변경, 파일 업로드 검증 강화 및 PHP 파일 실행 제한
🔧 검증 코드
uploads 디렉토리가 존재하면 Sflog! CMS 설치 확인, 디렉토리의 파일 쓰기 권한 확인으로 취약점 존재 여부 판단
find / -path '*/blogs/download/uploads' -type d 2>/dev/null