🇰🇷 한글 설명
GeekLog 1.4의 여러 PHP 파일에서 _CONF[path] 매개변수가 제대로 검증되지 않아 발생하는 원격 파일 포함(RFI) 취약점입니다. 공격자는 악의적인 URL을 전달하여 임의의 PHP 코드를 실행할 수 있으며, 플러그인 디렉토리의 15개 이상의 파일이 영향을 받습니다.
💡 쉬운 설명
웹사이트가 외부 파일 경로를 입력받을 때 검증 없이 그대로 실행하는 보안 오류입니다. 공격자가 자신의 악성 코드 위치를 경로로 입력하면 서버가 실행하게 됩니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in GeekLog 1.4 allow remote attackers to execute arbitrary code via a URL in the _CONF[path] parameter to (1) links/functions.inc, (2) polls/functions.inc, (3) spamx/BlackList.Examine.class.php, (4) spamx/DeleteComment.Action.class.php, (5) spamx/EditIPofURL.Admin.class.php, (6) spamx/MTBlackList.Examine.class.php, (7) spamx/MassDelete.Admin.class.php, (8) spamx/MailAdmin.Action.class.php, (9) spamx/MassDelTrackback.Admin.class.php, (10) spamx/EditHeader.Admin.class.php, (11) spamx/EditIP.Admin.class.php, (12) spamx/IPofUrl.Examine.class.php, (13) spamx/Import.Admin.class.php, (14) spamx/LogView.Admin.class.php, and (15) staticpages/functions.inc, in the plugins/ directory.
📍 영향받는 시스템
GeekLog 1.4 (플러그인: links, polls, spamx, staticpages)
⚔️ 공격 벡터
HTTP 요청의 _CONF[path] 파라미터에 공격자가 제어하는 원격 서버의 PHP 파일 URL 삽입
🛡️ 대응 방법
GeekLog 1.4.x 최신 패치 적용 또는 상위 버전으로 업그레이드, 모든 파일 포함 문에 경로 검증 추가
🔧 검증 코드
결과가 나오면 해당 경로의 파일들이 취약점을 포함하고 있으며, 패치 또는 업그레이드 필요
grep -r "include.*_CONF\[path\]" /var/www/geeklog/ 2>/dev/null