🇰🇷 한글 설명
Segue CMS 1.5.9 이하에서 magic_quotes_gpc가 활성화된 상태에서 theme 매개변수를 통한 원격 파일 포함(RFI) 취약점이 존재합니다. 원격 공격자가 themesettings.php 또는 index.php의 theme 매개변수에 악의적인 URL을 입력하여 임의의 PHP 코드를 실행할 수 있습니다. PHP 보안 기능이 우회되어 서버 전체가 손상될 수 있습니다.
💡 쉬운 설명
웹사이트 테마 선택 부분에 악의적인 링크를 넣으면 공격자가 웹 서버에서 원하는 명령을 실행할 수 있는 취약점입니다. 예전 PHP 보안 설정이 켜져 있어도 이 결함을 통해 우회됩니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in Segue CMS 1.5.9 and earlier, when magic_quotes_gpc is enabled, allow remote attackers to execute arbitrary PHP code via a URL in the theme parameter to (1) themesettings.php or (2) index.php, a different vector than CVE-2006-5497. NOTE: the provenance of this information is unknown; the details are obtained solely from third party information.
📍 영향받는 시스템
Segue CMS 버전 1.5.9 및 이전 (magic_quotes_gpc 활성화된 환경)
⚔️ 공격 벡터
theme 매개변수에 원격 파일 경로(URL)를 입력하여 PHP 코드 실행 유도
🛡️ 대응 방법
Segue CMS를 1.6.0 이상으로 업그레이드하고 모든 사용자 입력값에 대한 검증 및 필터링 강화
🔧 검증 코드
결과에서 Segue CMS 관련 파일이 발견되면 해당 파일의 theme 매개변수 처리 코드를 검토하여 입력값 검증 로직 존재 여부 확인
find / -type f -name 'themesettings.php' -o -type f -name 'index.php' 2>/dev/null | xargs grep -l 'theme' | head -10