🇰🇷 한글 설명
WordPress Gwolle Guestbook 플러그인 1.5.4 이전 버전의 원격 파일 포함 취약점으로, allow_url_include 활성화 시 인증된 사용자가 abspath 매개변수를 통해 임의의 PHP 코드 실행 가능. 디렉토리 순회를 이용하면 allow_url_include 비활성화 상태에서도 로컬 파일 실행 가능.
💡 쉬운 설명
해킹된 WordPress 계정으로 방명록 플러그인의 파일 포함 취약점을 이용해 서버에서 악성 코드를 실행시킬 수 있습니다. 이는 웹사이트 전체 장악으로 이어질 수 있습니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in the Gwolle Guestbook plugin before 1.5.4 for WordPress, when allow_url_include is enabled, allows remote authenticated users to execute arbitrary PHP code via a URL in the abspath parameter to frontend/captcha/ajaxresponse.php. NOTE: this can also be leveraged to include and execute arbitrary local files via directory traversal sequences regardless of whether allow_url_include is enabled.
📍 영향받는 시스템
WordPress Gwolle Guestbook 플러그인 1.5.3 이하
⚔️ 공격 벡터
인증된 공격자가 frontend/captcha/ajaxresponse.php의 abspath 파라미터에 악의적 원격 URL 또는 디렉토리 순회 경로 전달
🛡️ 대응 방법
Gwolle Guestbook 플러그인을 1.5.4 이상으로 업데이트 또는 PHP php.ini에서 allow_url_include 비활성화
🔧 검증 코드
출력된 버전이 1.5.4 미만이면 취약한 상태. 해당 플러그인 디렉토리가 없으면 설치되지 않은 상태.
grep -r 'Version:' wp-content/plugins/gwolle-guestbook/ 2>/dev/null | grep -oP '\d+\.\d+\.\d+' | head -1