Skip to main content

CVE-2024-1095: WordPress Block Pattern Auth Bypass Flaw

CVE-2024-1095 is an authorization bypass flaw in the Build & Control Block Patterns WordPress plugin that lets unauthenticated attackers export plugin settings. This article covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-1095 Overview

CVE-2024-1095 affects the Build & Control Block Patterns – Boost up Gutenberg Editor plugin for WordPress. The plugin fails to perform a capability check on the settings_export() function in all versions up to and including 1.3.5.4. Unauthenticated attackers can invoke this function over the network to export the plugin's settings. The weakness is classified as Missing Authorization [CWE-862] and carries a confidentiality-only impact.

Critical Impact

Unauthenticated remote attackers can export plugin settings from affected WordPress sites, exposing configuration data without any user interaction or credentials.

Affected Products

  • Themeperch Build & Control Block Patterns – Boost up Gutenberg Editor plugin for WordPress
  • All versions up to and including 1.3.5.4
  • WordPress sites running the vulnerable plugin on any hosting platform

Discovery Timeline

  • 2024-03-05 - CVE-2024-1095 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-1095

Vulnerability Analysis

The vulnerability resides in the settings_export() function implemented in classes/Settings/SettingsPage.php within the plugin source tree. The function is registered as an action handler but does not verify whether the caller holds the required WordPress capability to manage plugin settings. As a result, any HTTP request that reaches the handler can trigger a settings export, regardless of authentication state. The exported settings may include configuration values that attackers use to profile the target site or chain with follow-on attacks against the WordPress installation. Refer to the WordPress Plugin Settings Code for the exact source location and the Wordfence Vulnerability Analysis for additional context. The EPSS score as of 2026-10-06 is 0.471%.

Root Cause

The root cause is a missing authorization check [CWE-862]. The settings_export() function omits calls to current_user_can() and does not validate a nonce before producing output. WordPress exposes action hooks such as admin_post_* and wp_ajax_nopriv_* to unauthenticated users when developers register them without gating. Attackers who know the action name can invoke the export directly.

Attack Vector

Exploitation requires only network access to the WordPress site. The attacker sends an HTTP request to the WordPress endpoint that dispatches the vulnerable action, with no credentials, cookies, or user interaction required. The response body contains the exported settings in the format the plugin produces for administrator exports. The attack affects confidentiality only; integrity and availability are not impacted.

No verified public exploit code is available. See the Wordfence Vulnerability Analysis for a technical write-up of the handler flow.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2024-1095

Indicators of Compromise

  • Unauthenticated HTTP requests to admin-post.php or admin-ajax.php referencing the plugin's export action from unknown source IP addresses.
  • Outbound HTTP responses containing serialized or JSON-formatted plugin settings sent to clients that did not authenticate as an administrator.
  • Repeated requests targeting control-block-patterns endpoints from scanning infrastructure.

Detection Strategies

  • Review web server access logs for requests to WordPress admin endpoints that reference the Build & Control Block Patterns plugin and lack a valid authenticated session cookie.
  • Deploy Web Application Firewall rules that match the vulnerable action name and block unauthenticated callers.
  • Correlate plugin inventory data with the installed version to flag sites running 1.3.5.4 or earlier.

Monitoring Recommendations

  • Monitor WordPress plugin version telemetry across managed sites and alert when vulnerable versions appear.
  • Track response sizes from WordPress admin endpoints to detect unexpected bulk data exports to anonymous clients.
  • Enable audit logging in WordPress to record plugin administrative actions and anonymous access attempts.

How to Mitigate CVE-2024-1095

Immediate Actions Required

  • Identify every WordPress site running the Build & Control Block Patterns plugin and record the installed version.
  • Update the plugin to a version later than 1.3.5.4 as soon as a fixed release is available from the vendor.
  • If no fixed version is published, deactivate and remove the plugin until a patch is released.
  • Rotate any secrets that may have been stored in the plugin's settings and exposed through the export.

Patch Information

The vulnerability is present in all versions up to and including 1.3.5.4. Site administrators should consult the plugin page on wordpress.org and the Wordfence Vulnerability Analysis for the current remediation status. No vendor advisory URL was included in the NVD record at the time of publication.

Workarounds

  • Deactivate the Build & Control Block Patterns plugin until a fixed version is installed.
  • Add a Web Application Firewall rule that denies unauthenticated requests to the plugin's export action.
  • Restrict access to /wp-admin/ and /wp-admin/admin-ajax.php by IP where feasible, allowing only trusted administrator ranges.
  • Review and remove sensitive values from the plugin's configuration to reduce impact if the endpoint is accessed.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.