🇰🇷 한글 설명
Keep It Simple Guest Book (KISGB)의 authenticate.php에서 PHP CGI 실행 시 Remote File Inclusion (RFI) 취약점이 존재합니다. default_path_to_themes 파라미터를 통해 공격자가 원격 URL의 PHP 파일을 포함시켜 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
웹사이트가 외부 파일을 안전하지 않게 불러오는 문제입니다. 공격자가 악의적인 코드가 있는 URL을 입력하면 서버에서 그 코드가 실행될 수 있습니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in authenticate.php in Keep It Simple Guest Book (KISGB), when executing PHP through CGI, allows remote attackers to execute arbitrary PHP code via a URL in the default_path_to_themes parameter.
📍 영향받는 시스템
Keep It Simple Guest Book (KISGB) - 특정 버전 미명시
⚔️ 공격 벡터
HTTP GET/POST 요청을 통해 default_path_to_themes 파라미터에 원격 PHP 파일 URL 전달
🛡️ 대응 방법
KISGB를 최신 버전으로 업데이트하거나, 입력값 검증 강화 및 allow_url_include 비활성화
🔧 검증 코드
파일이 발견되면 해당 시스템에 KISGB가 설치된 상태입니다. 버전 확인 후 보안 업데이트 필요 여부를 판단해야 합니다.
find / -name 'authenticate.php' 2>/dev/null | xargs grep -l 'default_path_to_themes' 2>/dev/null