Katalog CVE

CVE-2026-104798

KrytyczneCVSS 9.8
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

Wtyczka My Calendar – Accessible Event Manager dla WordPressa (wersje do 3.8.7 włącznie) jest podatna na eskalację uprawnień. Parametr mcs jest odzwierciedlany bez sanityzacji, co pozwala nieuwierzytelnionemu atakującemu wstrzyknąć zagnieżdżony shortcode [my_calendar above=...], a następnie wywołać dowolne funkcje PHP poprzez call_user_func(), w tym edit_user(), co prowadzi do przejęcia konta administratora.

Ocena ryzyka

Nieuwierzytelniony atakujący może przejąć konto administratora (ID 1) i uzyskać pełny dostęp do wp-admin. Luka jest łatwo osiągalna poprzez publicznie dostępną stronę /my-calendar/.

Rekomendacja

Natychmiast zaktualizuj wtyczkę My Calendar do wersji nowszej niż 3.8.7. Jeśli to niemożliwe, wyłącz wtyczkę do czasu wydania poprawki.

Inne podatności w My Calendar

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

The My Calendar – Accessible Event Manager plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 3.8.7. The public `mcs` GET parameter is reflected into post content unsanitized before WordPress core's `do_shortcode` filter runs, allowing an unauthenticated attacker to inject a nested `[my_calendar above=...]` shortcode; `mc_generate_calendar_nav()` then splits the `above` attribute on commas and dispatches each element via `call_user_func()` with no authentication, authorization, or callable allowlist check. This makes it possible for unauthenticated attackers to invoke arbitrary loaded PHP functions, enabling a call chain in which the shortcode `$params` array is passed to `edit_user()` — which PHP coerces to integer `1` as the `$user_id` argument — overwriting the credentials of the initial Administrator account (user ID 1) and granting the attacker full wp-admin access. Exploitation is trivially reachable via the plugin's auto-generated `/my-calendar/` page, which is publicly accessible by default upon plugin activation.

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