PT-2026-86312 · WordPress · Hummingbird
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Hummingbird versions prior to 3.21.1
Description
Remote Code Execution is possible via the
log msg() function in core/modules/class-page-cache.php. The page-cache debug log is written to a web-accessible PHP file that fails to maintain a protective header due to an incorrect class exists() check for the HummingbirdCoreFilesystem class. Consequently, the get cookies() function writes the raw name of any cookie starting with the wphb cache prefix into the log file without sanitization. This allows unauthenticated attackers to inject and execute arbitrary PHP code by sending a request and then accessing the log file directly. This issue requires the Page Caching Debug Log option to be enabled and the log file to be generated during a front-end request, which can occur during cache flushes, the Clear logs action, or daily log-rotation cron tasks.Recommendations
Update to a version newer than 3.21.0.
Disable the Page Caching Debug Log option to prevent the creation of the vulnerable log file.
Fix
RCE
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Hummingbird