🇰🇷 한글 설명
Gallo 0.1.0의 core/includes/gfw_smarty.php 파일에 존재하는 PHP 원격 파일 포함 취약점으로, magic_quotes_gpc가 비활성화된 환경에서 config[gfwroot] 매개변수의 URL을 통해 임의의 PHP 코드 실행이 가능합니다.
💡 쉬운 설명
웹사이트에 특수한 URL을 입력하면 공격자가 악의적인 코드를 실행할 수 있는 문제입니다. 특히 서버 설정이 특정 보안 기능(magic_quotes_gpc)을 끄고 있을 때 위험합니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in core/includes/gfw_smarty.php in Gallo 0.1.0, when magic_quotes_gpc is disabled, allows remote attackers to execute arbitrary PHP code via a URL in the config[gfwroot] parameter.
⚔️ 공격 벡터
원격 - HTTP 요청을 통해 config[gfwroot] 매개변수에 외부 파일 URL 주입
🛡️ 대응 방법
Gallo를 최신 버전으로 업그레이드하거나, PHP에서 magic_quotes_gpc를 활성화하고, config[gfwroot] 매개변수 입력 검증 추가
🔧 검증 코드
결과가 반환되면 Gallo가 설치된 것이고, 파일 경로를 확인 후 권한 확인 및 업그레이드 필요
find / -name 'gfw_smarty.php' 2>/dev/null | head -5