CVE-2022-24665 Remote Code Execution by by Contributor+ users via WordPress gutenberg block
Contributor-level users can execute arbitrary PHP code via Gutenberg blocks in the PHP Everywhere plugin, leading to remote code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-24665?
CVE-2022-24665 is a critical code injection vulnerability in Alexander Fuchs PHP Everywhere, published on 16 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
PHP Everywhere <= 2.0.3 included functionality that allowed execution of PHP Code Snippets via a WordPress gutenberg block by any user able to edit posts.
Weakness: CWE-94
Which versions are affected by CVE-2022-24665?
It affects 1 product.
Products include Php Everywhere Project Php Everywhere.
How do I fix CVE-2022-24665?
No fix has been published for CVE-2022-24665 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2022-24665 being exploited?
There is no known exploitation of CVE-2022-24665 in the wild and no public exploit code.
Other vulnerabilities in Alexander Fuchs PHP Everywhere
Sources
Also known as GHSA-6gmw-4w3r-gwc2.