Katalog CVE

CVE-2026-100159

ŚrednieCVSS 4.8
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

Wtyczka Popup Box dla WordPress w wersjach 6.4.1 do 6.4.2 jest podatna na dowolne wykonanie shortcode'ów. Funkcja ays_popup_get_user_ip() odczytuje nagłówki Client-IP / X-Forwarded-For / Forwarded / X-Forwarded / Forwarded-For, sanityzuje je tylko przez sanitize_text_field(), podstawia do treści popupu w miejscu tokenu %%user_ip_address%%, a następnie przekazuje do do_shortcode(), co pozwala nieuwierzytelnionym atakującym na wykonanie dowolnych zarejestrowanych shortcode'ów.

Ocena ryzyka

Nieuwierzytelniony atakujący może wykonać dowolne shortcode'y z atrybutami, co może prowadzić do odczytu danych lub innych działań. Wymaga to dodania tokenu %%user_ip_address%% do treści popupu przez administratora.

Rekomendacja

Zaktualizuj wtyczkę Popup Box do wersji nowszej niż 6.4.2. Usuń token %%user_ip_address%% z treści popupów do czasu aktualizacji.

Powiązane podatności

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

The Popup Box plugin for WordPress is vulnerable to Arbitrary Shortcode Execution in versions 6.4.1 to 6.4.2. This is due to the ays_popup_get_user_ip() function reading the client-controlled Client-IP / X-Forwarded-For / Forwarded / X-Forwarded / Forwarded-For request headers, sanitizing them only with sanitize_text_field() (which does not strip the bracket, quote, space, or '=' characters used by shortcode syntax), substituting the value into a popup body wherever the %%user_ip_address%% token appears (a raw str_replace with no escaping in Ays_Pb_Data::replace_message_variables()), and then passing the resulting body to do_shortcode() in Ays_Pb_Public::ays_autoembed() at output on the wp_footer hook. This makes it possible for unauthenticated attackers to execute arbitrary registered shortcodes with attacker-supplied attributes on the server whenever an administrator has added the %%user_ip_address%% token to a popup's Custom Content body, which can be leveraged to read arbitrary data or perform other actions exposed by shortcodes installed on the site.

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