CVE-2023-5201 OpenHook <= 4.3.0 - Authenticated (Subscriber+) Remote Code Execution via Shortcode

Critical 9.9 Published Updated

Authenticated attackers can execute arbitrary code on the server via the PHP shortcode if enabled.

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-5201?

CVE-2023-5201 is a critical code injection vulnerability in brazenlygeek OpenHook, published on 30 Sep 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The OpenHook plugin for WordPress is vulnerable to Remote Code Execution in versions up to, and including, 4.3.0 via the 'php' shortcode. This allows authenticated attackers with subscriber-level permissions or above, to execute code on the server. This requires the [php] shortcode setting to be enabled on the vulnerable site.

Weakness: CWE-94

Which versions are affected by CVE-2023-5201?

It affects 1 product.

Products include Rickbeckman Openhook.

How do I fix CVE-2023-5201?

No fix has been published for CVE-2023-5201 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-5201 being exploited?

There is no known exploitation of CVE-2023-5201 in the wild and no public exploit code.

Sources

Also known as GHSA-52wg-h24c-3wgr.

Is CVE-2023-5201 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free