CVE-2022-24665CWE-94

Remote Code Execution by by Contributor+ users via WordPress gutenberg block

Critical · published February 16, 2022

CVSS v3.1
9.9
EPSS
3%
Percentile
85.4
In the wild
Unconfirmed
What it is

🔥 A single user with post-editing privileges can run arbitrary PHP code on your site! This sneaky flaw in PHP Everywhere up to version 2.0.3 is a gaping hole just waiting for trouble. ⚡ Think of it like handing a restaurant key to anyone who walks in, allowing them to whip up whatever dish they fancy in the kitchen! This not only jeopardizes the menu but could lead to a chaotic kitchen disaster. An attacker could exploit this vulnerability to execute malicious PHP code, potentially compromising your entire WordPress site. This could lead to unauthorized access, data theft, or even the complete takeover of the site — absolutely devastating for your online presence!

Put simply

Think of it like handing a restaurant key to anyone who walks in, allowing them to whip up whatever dish they fancy in the kitchen! This not only jeopardizes the menu but could lead to a chaotic kitchen disaster. This vulnerability allows any user who can edit posts to inject and run PHP code snippets through a Gutenberg block, bypassing normal security checks and creating a significant risk to site integrity.

What to do

An attacker could exploit this vulnerability to execute malicious PHP code, potentially compromising your entire WordPress site. This could lead to unauthorized access, data theft, or even the complete takeover of the site — absolutely devastating for your online presence! Immediately update PHP Everywhere to version 2.0.4 or later to close this dangerous loophole. Additionally, review user permissions to ensure only trusted users can edit posts. Regular monitoring of site activity is also advisable to catch any suspicious behavior. You've got this! Follow these steps and you'll be well on your way to securing your site from this vulnerability. 🛡️

The record
Technical detail
CVSS v3.1
9.9 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02622 · 85.4th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2022-02-16T16:38Z
EPSS history
Timeline
  • 16 FEB 16:38Z
    Remote Code Execution by by Contributor+ users via WordPress gutenberg block
    cvelistv5