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-6835 Overview
CVE-2024-6835 affects the Ivory Search – WordPress Search Plugin in all versions up to and including 5.5.6. The vulnerability resides in the ajax_load_posts function, which fails to enforce access controls on password-protected post content. Unauthenticated attackers can abuse the AJAX search form to run boolean-based inference attacks against protected posts. This allows adversaries to extract text data from content that should remain restricted. The flaw is classified as Information Exposure under [CWE-200]. The plugin vendor shipped a fix in changeset 3145289 on the WordPress plugin repository.
Critical Impact
Unauthenticated remote attackers can extract text content from password-protected WordPress posts through boolean-based inference against the plugin's AJAX search endpoint.
Affected Products
- Ivory Search – WordPress Search Plugin versions <= 5.5.6
- WordPress sites using the add-search-to-menu plugin package
- Any site relying on WordPress password-protected posts alongside Ivory Search
Discovery Timeline
- 2024-09-05 - CVE-2024-6835 published to the National Vulnerability Database (NVD)
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-6835
Vulnerability Analysis
The Ivory Search plugin exposes an AJAX endpoint that returns search results through the ajax_load_posts handler defined in public/class-is-ajax.php. The handler queries the WordPress post store and renders matching entries via public/partials/is-ajax-results.php without filtering password-protected posts from boolean search matching. Attackers submit crafted search terms and observe whether a protected post appears in the result count or snippet rendering. Each query confirms or denies the presence of specific substrings in the protected content. By iterating character-by-character or token-by-token, an attacker reconstructs text data without supplying the post password.
Root Cause
The plugin treats search matching as a public operation and reflects match status back to unauthenticated clients. The query layer does not exclude posts with post_password set, and the result rendering path leaks match presence information. WordPress core enforces password gating only at the content display stage, so the search-indexing path remains an inference oracle. This is a classic Information Exposure flaw [CWE-200] driven by missing authorization checks on sensitive content.
Attack Vector
Exploitation requires only network access to the WordPress site and no authentication or user interaction. An attacker issues repeated requests to the plugin's AJAX endpoint, varying the search payload across a dictionary or character space. The response differential, such as the presence or absence of a protected post in the result set, confirms substring matches. The attacker scripts this loop to reconstruct password-protected post contents. See the Wordfence Vulnerability Report and the vulnerable WordPress Plugin Class File for the source references.
Detection Methods for CVE-2024-6835
Indicators of Compromise
- High-volume POST requests to admin-ajax.php with the Ivory Search action parameter from a single source IP within a short window.
- Sequential search queries that iterate through alphabet characters, common dictionary terms, or incrementing substrings.
- Access log entries showing hundreds or thousands of AJAX search requests with varied s or search payloads but similar request fingerprints.
Detection Strategies
- Monitor WordPress access logs for repeated calls to admin-ajax.php carrying the Ivory Search action and alert on request rates above normal user search behavior.
- Deploy a Web Application Firewall (WAF) rule that rate-limits unauthenticated AJAX search requests and flags boolean-pattern enumeration.
- Correlate search endpoint spikes with the existence of password-protected posts to prioritize investigation.
Monitoring Recommendations
- Enable verbose logging on the plugin endpoints and forward WordPress logs to a centralized SIEM for retention and query.
- Track plugin version inventory across managed WordPress deployments and alert when hosts run Ivory Search <= 5.5.6.
- Review analytics for anomalous search session depth from unauthenticated visitors.
How to Mitigate CVE-2024-6835
Immediate Actions Required
- Update the Ivory Search plugin to a version later than 5.5.6 that includes the fix from WordPress Changeset 3145289.
- Audit WordPress sites for the add-search-to-menu plugin and prioritize patching instances hosting password-protected content.
- Rotate passwords on any posts suspected of exposure if logs show enumeration activity against the AJAX search endpoint.
Patch Information
The vendor addressed the issue in the WordPress plugin repository through WordPress Changeset 3145289. Administrators should upgrade through the WordPress plugin manager or by replacing the plugin directory with the patched release. Confirm the installed version is above 5.5.6 after the update.
Workarounds
- Disable or uninstall the Ivory Search plugin until the patched version is deployed.
- Restrict access to admin-ajax.php for unauthenticated users at the WAF layer or via server-level rate limiting.
- Remove password protection from posts and apply membership-based access controls that do not rely on the search index for secrecy.
# Example WP-CLI command to upgrade the plugin to the patched release
wp plugin update add-search-to-menu
wp plugin get add-search-to-menu --field=version
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

