CVE-2024-3107 Spectra – WordPress Gutenberg Blocks <= 2.12.6 - Authenticated (Contributor+) Path Traversal

Medium 4.3 Published Updated

Authenticated contributors can read sensitive attributes.php files on the server via path traversal in the Spectra WordPress 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-2024-3107?

CVE-2024-3107 is a medium-severity path traversal vulnerability in brainstormforce Spectra Gutenberg Blocks – Website Builder for the Block Editor, published on 2 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Spectra – WordPress Gutenberg Blocks plugin for WordPress is vulnerable to Path Traversal in versions up to, and including, 2.12.6 via the get_block_default_attributes function. This allows authenticated attackers, with contributor-level permissions and above, to read the contents of any files named attributes.php on the server, which can contain sensitive information.

Weakness: CWE-22

Which versions are affected by CVE-2024-3107?

It affects 1 product.

Products include Brainstormforce Spectra.

How do I fix CVE-2024-3107?

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

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

Sources

Also known as GHSA-r88h-5mx3-fj3x.

Is CVE-2024-3107 in your software?

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

Check your SBOMs for free