🔍 CVE-2026-78006

9.8
CVSS Score
CRITICAL
2026-09-12
2026-09-14 20:16
✅ 완료

🇰🇷 한글 설명

WordPress용 The Events Calendar 플러그인의 is_safe_widget_instance 함수에서 원격 코드 실행(RCE) 취약점이 발견되었습니다. 공격자는 인증 없이도 특수하게 조작된 댓글 데이터를 통해 서버에서 임의의 코드를 실행할 수 있습니다. 이 취약점은 PHP의 매직 메서드와 플러그인의 데이터 무결성 검증 우회 메커니즘을 악용합니다.

💡 쉬운 설명

해커가 로그인하지 않고도 게시물 댓글창을 통해 웹사이트 서버를 마음대로 조종할 수 있는 매우 위험한 보안 구멍입니다. 댓글을 다는 행위만으로도 서버에 악성 명령을 내릴 수 있어 즉각적인 조치가 필요합니다.

🇺🇸 원문 (English)

The The Events Calendar plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 6.17.4 via the is_safe_widget_instance function. This is due to insufficient protection in is_safe_widget_instance, which can be bypassed because PHP fires magic methods during its pre-parse, combined with enable_rendering_widget_copied() forging a valid wp_hash integrity attribute before unserialize() is reached. This makes it possible for unauthenticated attackers to execute code on the server. This is exploitable without authentication or approval because the plugin's V2 single-event template runs do_blocks() over buffered comment HTML, and WordPress returns a moderation-hash URL that allows an unauthenticated commenter to immediately view their own pending comment, delivering the injected block markup to the vulnerable code path before any moderation occurs. This does require comments to be enabled and visible on events.

📍 영향받는 시스템

The Events Calendar plugin for WordPress (버전 6.17.4 및 그 이하 모든 버전)

⚔️ 공격 벡터

인증되지 않은 공격자가 이벤트 페이지의 댓글 기능을 통해 조작된 블록 마크업을 주입하여 RCE 수행

🛡️ 대응 방법

The Events Calendar 플러그인을 최신 보안 패치 버전으로 즉시 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 6.17.4와 같거나 그보다 낮은 숫자인 경우 취약한 상태입니다.

Shell / Script
wp plugin list --name events-calendar --format=json | grep -oP '(?<=version\":\)"[^"]+'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

PHP