Katalog CVE

CVE-2026-78006

KrytyczneCVSS 9.8
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

Wtyczka The Events Calendar dla WordPressa w wersjach do 6.17.4 włącznie jest podatna na zdalne wykonanie kodu poprzez funkcję is_safe_widget_instance. Ochrona w tej funkcji może zostać obejta, ponieważ PHP uruchamia magiczne metody podczas wstępnego przetwarzania, a enable_rendering_widget_copied() fałszuje prawidłowy atrybut integralności wp_hash przed osiągnięciem unserialize(). Atakujący bez uwierzytelnienia może wykonać kod na serwerze, ponieważ szablon V2 pojedynczego wydarzenia uruchamia do_blocks() na buforowanym HTML komentarza, a WordPress zwraca URL z hashem moderacji pozwalający na natychmiastowe wyświetlenie własnego oczekującego komentarza.

Ocena ryzyka

Podatność umożliwia nieuwierzytelnionemu atakującemu wykonanie dowolnego kodu na serwerze bez zatwierdzenia komentarza, co może skutkować pełnym przejęciem witryny. Wymaga jedynie włączonych i widocznych komentarzy do wydarzeń.

Rekomendacja

Zaktualizuj wtyczkę The Events Calendar do wersji nowszej niż 6.17.4. Do czasu aktualizacji rozważ wyłączenie lub ukrycie komentarzy do wydarzeń.

Inne podatności w The Events Calendar

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

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.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS