🇰🇷 한글 설명
Segue CMS 1.3.6 이전 버전에서 Apache HTTP Server가 .phtml 파일을 PHP로 처리할 때 발생하는 제한 없는 파일 업로드 취약점입니다. 공격자는 userfiles/ 디렉토리에 PHP 코드가 포함된 .phtml 파일을 업로드하여 임의의 코드를 실행할 수 있습니다.
💡 쉬운 설명
Segue CMS 웹사이트에서 사용자 파일 업로드를 제대로 검증하지 않아, 공격자가 악의적인 PHP 코드를 업로드할 수 있습니다. 업로드된 파일이 웹 서버에서 실행되면 공격자가 서버를 완전히 장악하게 됩니다.
🇺🇸 원문 (English)
Unrestricted file upload vulnerability in Segue CMS before 1.3.6, when the Apache HTTP Server handles .phtml files with the PHP interpreter, allows remote attackers to upload and execute arbitrary PHP code by placing .phtml files in the userfiles/ directory.
📍 영향받는 시스템
Segue CMS 1.3.6 이전 버전 (Apache HTTP Server + PHP 인터프리터 환경)
⚔️ 공격 벡터
공격자가 PHP 코드를 포함한 .phtml 파일을 userfiles/ 디렉토리로 업로드한 후 웹 브라우저에서 접근하여 실행
🛡️ 대응 방법
Segue CMS를 1.3.6 이상으로 업그레이드하거나 파일 업로드 검증 강화 및 .phtml 확장자 실행 차단
🔧 검증 코드
Segue CMS 설치 경로가 반환되면 존재 확인, 패키지 정보가 반환되면 버전 번호 확인하여 1.3.6 미만이면 취약
find /var/www -name segue -type d 2>/dev/null | head -1 || dpkg -l 2>/dev/null | grep segue || rpm -qa 2>/dev/null | grep segue