CVE-2025-68046
Executive Summary
CVE-2025-68046 is a medium-severity information disclosure vulnerability affecting the WordPress plugin "Contact Form & Lead Form Elementor Builder" by ThemeHunk, versions up to and including 2.0.1. The vulnerability allows an unauthenticated attacker to retrieve embedded sensitive data from the plugin's database, such as form submissions containing user-provided information (e.g., names, email addresses, messages). This exposure of sensitive system information to an unauthorized control sphere (CWE-200) can lead to privacy breaches and further targeted attacks. No public proof-of-concept (PoC) or exploit code is currently available, and the vendor has not released a patch.
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.
No signup required
Supply Chain & Package Security
This vulnerability resides in a WordPress plugin ecosystem. The plugin is distributed via the official WordPress plugin repository and third-party marketplaces. Users are advised to monitor for updates from ThemeHunk and consider removing the plugin if no patch is forthcoming. The lack of a patch increases supply chain risk for any site using this plugin.
CVSS Breakdown & Threat Level
- CVSS Score: 6.5 (Medium)
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Confidentiality Impact: Low (exposure of sensitive data)
- Integrity Impact: None
- Availability Impact: None
The low EPSS score (0.0%) suggests active exploitation is unlikely at this time, but the vulnerability remains a privacy risk.
Deep Dive & Mechanics
The vulnerability stems from improper access controls in the plugin's REST API or AJAX endpoints that expose form submission data. The plugin stores lead data (e.g., contact form entries) in the WordPress database. An unauthenticated attacker can query these endpoints without proper authorization, retrieving sensitive information such as:
- User-submitted names, email addresses, phone numbers
- Message content
- IP addresses and timestamps
- Any custom fields configured in the form
The exact vulnerable endpoint is not publicly documented, but based on the CWE-200 classification, it likely involves a direct database query or file read operation that does not validate user permissions.
Vulnerable vs. Patched Code
Since no patch is available, we can only infer the vulnerable pattern. The plugin likely uses a function like get_results() without a capability check.
Vulnerable code (hypothetical):
// In a REST API endpoint
function get_lead_data( $request ) {
global $wpdb;
$table_name = $wpdb->prefix . 'lead_form';
$results = $wpdb->get_results( "SELECT * FROM $table_name" );
return rest_ensure_response( $results );
}
Patched code (hypothetical):
function get_lead_data( $request ) {
if ( ! current_user_can( 'manage_options' ) ) {
return new WP_Error( 'rest_forbidden', 'You do not have permission.', array( 'status' => 403 ) );
}
global $wpdb;
$table_name = $wpdb->prefix . 'lead_form';
$results = $wpdb->get_results( "SELECT * FROM $table_name" );
return rest_ensure_response( $results );
}
Exploitation & Lab Setup
Red Team
Prerequisites:
- Target WordPress site with the vulnerable plugin (<= 2.0.1) installed and active.
- No authentication required.
Exploitation Steps:
- Identify the vulnerable endpoint. Common patterns include
/wp-json/lead-form-builder/v1/leadsor/wp-admin/admin-ajax.php?action=lead_form_get_data. - Send a GET request to the endpoint:
curl -X GET "http://target.com/wp-json/lead-form-builder/v1/leads" -H "User-Agent: Mozilla/5.0" - If successful, the response will contain JSON with all submitted lead data.
Example output:
[
{
"id": 1,
"name": "John Doe",
"email": "john@example.com",
"message": "I need support.",
"ip": "192.168.1.100",
"timestamp": "2025-03-15 10:30:00"
}
]
Blue Team
Detection:
- Monitor for unusual requests to
/wp-json/lead-form-builder/oradmin-ajax.phpwith actions related to lead retrieval. - Look for spikes in outbound data transfer from the WordPress server.
- Check server logs for repeated GET requests to the vulnerable endpoint from the same IP.
Hunting:
- Search for
lead_formtable in the database and verify access logs. - Use the Sigma rule below to detect exploitation attempts.
Indicators of Compromise (IOCs)
- Network: HTTP GET requests to
/wp-json/lead-form-builder/v1/leadsor similar endpoints. - File: Presence of
lead-form-builderplugin directory in/wp-content/plugins/. - Database: Unauthorized queries to the
wp_lead_formtable. - Logs: 200 OK responses to unauthenticated requests for lead data endpoints.
Detection Engineering
YARA Rule
rule CVE_2025_68046_WordPress_Plugin_InfoDisclosure {
meta:
description = "Detects exploitation attempts for CVE-2025-68046 in WordPress lead-form-builder plugin"
author = "Valters IT"
date = "2025-03-15"
reference = "https://nvd.nist.gov/vuln/detail/CVE-2025-68046"
strings:
$endpoint1 = "/wp-json/lead-form-builder/v1/leads"
$endpoint2 = "action=lead_form_get_data"
$response = "lead_form"
condition:
any of ($endpoint*) and $response
}
Sigma Rule
title: CVE-2025-68046 WordPress Plugin Information Disclosure
id: 12345678-1234-1234-1234-123456789abc
status: experimental
description: Detects unauthenticated access to lead form data in WordPress plugin lead-form-builder
author: Valters IT
date: 2025/03/15
logsource:
category: webserver
product: apache
detection:
selection:
cs-method: 'GET'
cs-uri-query|contains:
- '/wp-json/lead-form-builder/v1/leads'
- 'action=lead_form_get_data'
condition: selection
falsepositives:
- Legitimate admin access (should be authenticated)
level: high
Suricata Rule
alert http any any -> any any (msg:"CVE-2025-68046 WordPress Plugin Information Disclosure"; flow:to_server,established; content:"GET"; http_method; content:"/wp-json/lead-form-builder/v1/leads"; http_uri; classtype:attempted-recon; sid:1000001; rev:1;)
Remediation & Mitigation
Immediate Actions:
- Disable the plugin if it is not critical for business operations.
- Restrict access to the vulnerable endpoints via web application firewall (WAF) rules:
location ~* /wp-json/lead-form-builder/ { deny all; } - Monitor logs for any signs of data exfiltration.
Long-term Fix:
- Contact ThemeHunk for a patched version. If no patch is released, consider migrating to an alternative contact form plugin (e.g., Contact Form 7, WPForms).
- Implement a WordPress security plugin (e.g., Wordfence) to block malicious requests.
Valters IT Signature:
Valters IT Cyber Threat Intelligence
CVE-2025-68046 Analysis
Date: 2025-03-15
Status: Unpatched
Recommendation: Disable plugin immediately
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.
💣 PoC CODE AVAILABLE
Exploit code for this CVE is tracked in our database.
Access poc_code via API Pro.