CVE-2024-5709 WPBakery <= 7.7 - Authenticated (Author+) Local File Inclusion

High 8.8 Published Updated

Authenticated attackers with Author access can exploit a Local File Inclusion vulnerability in WPBakery to execute arbitrary PHP code and read sensitive data.

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-2024-5709?

CVE-2024-5709 is a high-severity path traversal vulnerability in WPBakery Page Builder, published on 6 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The WPBakery Visual Composer plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 7.7 via the 'layout_name' parameter. This makes it possible for authenticated attackers, with Author-level access and above, and with post permissions granted by an Administrator, to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.

Weakness: CWE-22

Which versions are affected by CVE-2024-5709?

It affects 1 product.

Products include Wpbakery Page Builder.

How do I fix CVE-2024-5709?

No fix has been published for CVE-2024-5709 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-5709 being exploited?

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

Sources

Also known as GHSA-8wgf-r9xp-xr3r.

Is CVE-2024-5709 in your software?

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

Check your SBOMs for free