CVE-2023-4994 Allow PHP in Posts and Pages <= 3.0.4 - Authenticated (Subscriber+) Remote Code Execution via Shortcode
Authenticated subscribers can execute arbitrary PHP code on the server via a shortcode in the Allow PHP in Posts and Pages plugin.
- 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-2023-4994?
CVE-2023-4994 is a critical code injection vulnerability in hit-reach Allow PHP in Posts and Pages, published on 16 Sep 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Allow PHP in Posts and Pages plugin for WordPress is vulnerable to Remote Code Execution in versions up to, and including, 3.0.4 via the 'php' shortcode. This allows authenticated attackers with subscriber-level permissions or above, to execute code on the server.
Weakness: CWE-94
Which versions are affected by CVE-2023-4994?
It affects 1 product.
Products include Hitreach Allow Php in Posts and Pages.
How do I fix CVE-2023-4994?
No fix has been published for CVE-2023-4994 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-2023-4994 being exploited?
There is no known exploitation of CVE-2023-4994 in the wild and no public exploit code.
Sources
Also known as GHSA-9rpf-8285-qqrv.