🇰🇷 한글 설명
GGCMS 1.1.0 RC1 이전 버전의 admin/subpages.php에서 발견된 디렉토리 순회 취약점으로, 공격자가 subpageName 파라미터에 '..' 시퀀스를 주입하여 임의의 파일에 PHP 코드를 삽입할 수 있습니다. 특히 템플릿 파일을 대상으로 공격하여 웹 애플리케이션 전체를 제어할 수 있습니다.
💡 쉬운 설명
GGCMS 웹 관리자 페이지의 버그로, 해커가 '../' 기호를 이용해 상위 폴더로 이동한 후 악성 PHP 코드를 삽입할 수 있습니다. 이를 통해 웹사이트 전체가 장악될 수 있습니다.
🇺🇸 원문 (English)
Directory traversal vulnerability in admin/subpages.php in GGCMS 1.1.0 RC1 and earlier allows remote attackers to inject arbitrary PHP code into arbitrary files via ".." sequences in the subpageName parameter, as demonstrated by injecting PHP code into a template file.
📍 영향받는 시스템
GGCMS 1.1.0 RC1 and earlier versions
⚔️ 공격 벡터
HTTP request to admin/subpages.php with directory traversal sequences (..) in subpageName parameter to write arbitrary PHP code into template files
🛡️ 대응 방법
Upgrade to patched GGCMS version or implement strict input validation and filtering to reject '..' sequences and path traversal attempts in subpageName parameter
🔧 검증 코드
파일이 발견되면 취약한 GGCMS 설치 확인; 파일 내용을 확인하여 입력값 검증 로직이 없으면 취약 상태
find / -name 'subpages.php' -path '*/admin/*' 2>/dev/null | xargs grep -l 'subpageName' 2>/dev/null | head -1