Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-3107: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in brainstormforce Spectra – WordPress Gutenberg Blocks

0
Medium
VulnerabilityCVE-2024-3107cvecve-2024-3107cwe-22
Published: Thu May 02 2024 (05/02/2024, 16:51:46 UTC)
Source: CVE Database V5
Vendor/Project: brainstormforce
Product: Spectra – WordPress Gutenberg Blocks

Description

CVE-2024-3107 is a medium-severity path traversal vulnerability in the Spectra – WordPress Gutenberg Blocks plugin (up to version 2. 12. 6). It allows authenticated users with contributor-level or higher permissions to read sensitive files named attributes. php on the server via the get_block_default_attributes function. The vulnerability does not require user interaction but does require authentication with limited privileges. Exploitation could lead to disclosure of sensitive configuration or code details, potentially aiding further attacks. No known exploits are currently reported in the wild. The vulnerability affects all versions up to 2. 12.

AI-Powered Analysis

AILast updated: 02/26/2026, 06:03:37 UTC

Technical Analysis

CVE-2024-3107 is a path traversal vulnerability classified under CWE-22 found in the Spectra – WordPress Gutenberg Blocks plugin, a widely used plugin that extends WordPress's Gutenberg editor capabilities. The flaw exists in the get_block_default_attributes function, which improperly limits pathname inputs, allowing an authenticated attacker with contributor-level permissions or higher to traverse directories and read the contents of any file named attributes.php on the server. This file can contain sensitive information such as configuration details or code attributes that could facilitate further exploitation or reconnaissance. The vulnerability requires authentication but no user interaction, making it easier to exploit for insiders or compromised accounts. The CVSS v3.1 base score is 4.3, reflecting a medium severity due to limited impact on confidentiality and no impact on integrity or availability. No patches or exploits are currently publicly available, but the vulnerability affects all versions up to and including 2.12.6. Given the plugin's popularity in WordPress environments, this vulnerability poses a notable risk to many websites globally.

Potential Impact

The primary impact of CVE-2024-3107 is unauthorized disclosure of sensitive files named attributes.php, which may contain configuration data or code attributes critical to the security posture of the affected WordPress site. This information disclosure can aid attackers in crafting more targeted attacks, including privilege escalation or further exploitation of the site. Since the vulnerability requires contributor-level authentication, the risk is higher in environments where user accounts are less strictly controlled or where attackers have already compromised low-privilege accounts. The vulnerability does not directly affect system integrity or availability but can lead to indirect impacts through information leakage. Organizations running WordPress sites with the Spectra plugin are at risk, especially those with multiple contributors or less stringent access controls. The medium severity score reflects the moderate risk posed by this vulnerability.

Mitigation Recommendations

To mitigate CVE-2024-3107, organizations should immediately update the Spectra – WordPress Gutenberg Blocks plugin to a version beyond 2.12.6 once a patch is released. Until a patch is available, restrict contributor-level permissions to trusted users only and audit existing contributor accounts for suspicious activity. Implement strict access controls and monitor logs for unusual file access attempts, particularly targeting attributes.php files. Employ web application firewalls (WAFs) with custom rules to detect and block path traversal attempts targeting this plugin's endpoints. Additionally, consider disabling or limiting the use of the vulnerable plugin if it is not essential. Regularly review and harden WordPress user roles and permissions to minimize the risk of exploitation by low-privilege users. Finally, maintain up-to-date backups and monitor security advisories from the plugin vendor and WordPress security communities.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-03-29T20:03:20.976Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6c8cb7ef31ef0b566268

Added to database: 2/25/2026, 9:41:32 PM

Last enriched: 2/26/2026, 6:03:37 AM

Last updated: 2/26/2026, 8:09:00 AM

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats