Katalog CVE

CVE-2026-103039

KrytyczneCVSS 9.8
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

Wtyczka Gravity Forms dla WordPressa w wersjach do 3.1.2 włącznie jest podatna na wstrzyknięcie obiektu PHP poprzez pole niestandardowe wpisu typu List. Wartość pola jest przekazywana do globalnej funkcji maybe_unserialize() bez ograniczeń zamiast do utwardzonej GFCommon::maybe_unserialize(), co pozwala nieuwierzytelnionemu atakującemu wstrzyknąć obiekt PHP do metadanych wpisu. Jeśli w innym pluginie lub motywie istnieje łańcuch gadgetów, może to prowadzić do zdalnego wykonania kodu.

Ocena ryzyka

W przypadku obecności łańcucha gadgetów w dodatkowych wtyczkach lub motywach atakujący może uzyskać zdalne wykonanie kodu, a w scenariuszu z mapowaniem pola na _wp_page_template WordPress sam dostarcza łańcuch prowadzący do RCE na niektórych hostach.

Rekomendacja

Zaktualizuj wtyczkę Gravity Forms do wersji nowszej niż 3.1.2 i przejrzyj inne wtyczki oraz motywy pod kątem znanych łańcuchów gadgetów PHP.

Inne podatności w Gravity Forms

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

The Gravity Forms plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 3.1.2 via a Post Custom Field whose input type is List. This is due to GFFormsModel::create_post() passing the submitted value to WordPress' unrestricted global maybe_unserialize() rather than the plugin's own hardened GFCommon::maybe_unserialize(), which was added in 3.1.1 and passes allowed_classes => false precisely to prevent object instantiation. Where the field has a content template enabled, the submitted row reaches that call verbatim. This makes it possible for unauthenticated attackers to inject a PHP object into post meta. No PHP Object Injection gadget chain is present in the plugin itself; however, if a gadget chain is present via an additional plugin or theme, it could allow the attacker to perform actions such as remote code execution. Where the custom field is mapped to the protected _wp_page_template meta key, WordPress itself supplies the chain: validate_file() accepts non-scalars, WP_Theme::__toString() then resolves an attacker-controlled path, and on hosts with a readable PEAR install and register_argc_argv enabled this yields remote code execution.

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