Skip to main content

CVE-2024-0975: WordPress Access Control Info Disclosure Flaw

CVE-2024-0975 is an information disclosure vulnerability in the WordPress Access Control plugin that allows unauthenticated attackers to bypass restrictions and view protected content. This article covers technical details, affected versions, security impact, and mitigation strategies.

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-0975 Overview

The WordPress Access Control plugin developed by brandonwamboldt contains a sensitive information exposure vulnerability in all versions up to and including 4.0.13. The flaw resides in the plugin's handling of the WordPress REST API. Unauthenticated attackers can bypass the plugin's "Make Website Members Only" feature when that option is unset, allowing them to view restricted page and post content. The vulnerability is classified under CWE-284 as an Improper Access Control weakness.

Critical Impact

Remote unauthenticated attackers can read restricted WordPress content that should only be accessible to authenticated site members.

Affected Products

  • Brandonwamboldt WordPress Access Control plugin, all versions up to and including 4.0.13
  • WordPress sites relying on the plugin's "Make Website Members Only" gate for content restriction
  • Deployments where the members-only setting is unset while other access rules are enforced

Discovery Timeline

  • 2024-02-28 - CVE-2024-0975 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-0975

Vulnerability Analysis

The WordPress Access Control plugin enforces content restrictions at the traditional page rendering layer. When a visitor requests a protected post through the standard WordPress front-end, the plugin evaluates access rules and blocks unauthorized viewers.

The plugin does not extend the same enforcement to the WordPress REST API surface. As a result, requests to endpoints such as /wp-json/wp/v2/posts and /wp-json/wp/v2/pages return content that the front-end would otherwise gate. The vulnerability specifically manifests when the "Make Website Members Only" toggle is unset, leaving REST responses ungoverned.

The issue represents a broken access control condition [CWE-284]. Confidentiality is impacted while integrity and availability remain untouched, which aligns with the disclosure describing read-only exposure of restricted posts and pages.

Root Cause

The plugin's access control logic hooks into WordPress template loading rather than into REST API request handlers. The restriction check referenced in the plugin source at line 289 does not filter REST responses, so protected object data bypasses the members-only gate.

Attack Vector

An unauthenticated remote attacker sends HTTP GET requests to the target site's REST API endpoints. The endpoints return the JSON representation of restricted posts and pages, including title, content, and metadata. No credentials, user interaction, or elevated privileges are required. See the Wordfence Vulnerability Report for additional exploitation context.

No verified proof-of-concept code is published for this CVE. Refer to the vendor code review link above for the vulnerable code path.

Detection Methods for CVE-2024-0975

Indicators of Compromise

  • Unauthenticated HTTP GET requests to /wp-json/wp/v2/posts or /wp-json/wp/v2/pages returning HTTP 200 responses with content bodies
  • Spikes in REST API traffic from a small number of source IP addresses enumerating post identifiers
  • Web server access logs showing sequential requests to wp-json endpoints without preceding authentication cookies

Detection Strategies

  • Compare front-end HTTP response codes for restricted URLs against the corresponding wp-json REST responses for the same content identifiers
  • Alert on anonymous REST API queries that return post content marked as members-only in the site's content model
  • Track the installed version of the WordPress Access Control plugin across managed WordPress hosts and flag any instance at or below 4.0.13

Monitoring Recommendations

  • Enable WordPress and web server access logging with full request URIs and user-agent capture for all /wp-json/ paths
  • Forward WordPress and reverse-proxy logs to a centralized analytics platform to baseline REST API usage and identify enumeration behavior
  • Review plugin inventories on a recurring cadence and correlate versions against public vulnerability feeds

How to Mitigate CVE-2024-0975

Immediate Actions Required

  • Identify every WordPress site running the Access Control plugin and confirm the installed version
  • Upgrade the plugin to a version later than 4.0.13 or remove the plugin if a fixed release is not yet available
  • Restrict unauthenticated access to the WordPress REST API at the web server or WAF layer until the plugin is updated

Patch Information

The vulnerability affects all versions up to and including 4.0.13. Site administrators should monitor the plugin's WordPress.org page for a patched release and apply updates through the WordPress admin plugin manager. If no maintained fix is available, replace the plugin with an actively supported access control solution.

Workarounds

  • Enable the plugin's "Make Website Members Only" toggle so the setting is set rather than unset, which the advisory identifies as the exposed configuration state
  • Use a WordPress filter or functions.php snippet to require authentication for REST API requests to wp/v2/posts and wp/v2/pages
  • Deploy a WAF rule or reverse proxy policy that blocks anonymous access to /wp-json/wp/v2/posts and /wp-json/wp/v2/pages
bash
# Nginx configuration example: require authentication for WordPress REST API content endpoints
location ~ ^/wp-json/wp/v2/(posts|pages) {
    if ($http_cookie !~* "wordpress_logged_in") {
        return 401;
    }
    try_files $uri $uri/ /index.php?$args;
}

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.