Katalog CVE

CVE-2026-83627

KrytyczneCVSS 9.8
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Podwyższone ryzyko
0.82%

Percentyl 55 - wyżej niż 55% wszystkich znanych CVE

Streszczenie

Wtyczka Hummingbird dla WordPressa (wersje do 3.21.0 włącznie) pozwala na zdalne wykonanie kodu poprzez funkcję log_msg() w pliku class-page-cache.php. Nagłówek ochronny '<?php die(); ?>' w pliku logu nie jest zapisywany z powodu błędu w wywołaniu class_exists(), a nazwy ciasteczek z prefiksem wphb_cache_ trafiają do pliku bez sanityzacji, co umożliwia niezalogowanemu atakującemu zapisanie dowolnego kodu PHP i jego wykonanie.

Ocena ryzyka

Niezalogowany atakujący może zdalnie wykonać dowolny kod PHP na serwerze, co prowadzi do pełnego przejęcia witryny WordPress. Wymaga to jednak włączonej opcji Page Caching z Debug Log (nie jest to ustawienie domyślne).

Rekomendacja

Zaktualizować wtyczkę Hummingbird do wersji nowszej niż 3.21.0, a jeśli to niemożliwe — wyłączyć opcję Page Caching z Debug Log oraz usunąć pliki logów z katalogu wp-content/wphb-logs/.

Powiązane podatności

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

The Hummingbird – Speed Optimization, Caching, Minify, Compress & CDN plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 3.21.0 via the log_msg() function in core/modules/class-page-cache.php. The page-cache debug log is written to wp-content/wphb-logs/page-caching-log.php, a directly web-accessible PHP file that is supposed to be protected by a leading '<?php die(); ?>' header. That header is guarded by class_exists( 'Filesystem' ), which can never match because class_exists() resolves string arguments in the global namespace while the class is Hummingbird\Core\Filesystem; when the log is created during a front-end request the header is therefore omitted entirely. get_cookies() then writes the raw name of any cookie matching the wphb_cache_ prefix into that file without sanitization. This makes it possible for unauthenticated attackers to write arbitrary PHP into the log file with a single anonymous request and execute it by requesting the file directly, resulting in full remote code execution. Exploitation requires the site administrator to have enabled Page Caching with the Debug Log option (non-default), and the log file to be created during a front-end request — a state reached by the plugin's own 'Clear logs' action, any cache flush, or unattended via the plugin's daily log-rotation cron, which can strip the protective header from an existing log file.

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