CVE-2025-49987
Executive Summary
CVE-2025-49987 is a Missing Authorization vulnerability in the WPFactory CRM ERP Business Solution WordPress plugin, affecting versions up to and including 1.13. This flaw allows unauthenticated attackers to exploit incorrectly configured access control security levels, potentially leading to unauthorized access to sensitive business data. The vulnerability is classified under CWE-862 (Missing Authorization) and carries a CVSS score of 5.3 (Medium). As of this report, no official patch has been released, and no public proof-of-concept (PoC) or exploit code is available. The EPSS score is 0.0%, indicating low exploitation likelihood in the wild, but the risk remains significant for organizations using this plugin.
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 affects a WordPress plugin distributed via the official WordPress plugin repository. Organizations should verify the integrity of the plugin package and monitor for updates. Since no patch is available, consider disabling or removing the plugin until a fix is released.
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 (AV:N) – Exploitable remotely.
- Attack Complexity: Low (AC:L) – No special conditions required.
- Privileges Required: None (PR:N) – No authentication needed.
- User Interaction: None (UI:N) – No user action required.
- Scope: Unchanged (S:U) – Vulnerability affects only the vulnerable component.
- Confidentiality Impact: Low (C:L) – Limited information disclosure.
- Integrity Impact: None (I:N) – No data modification.
- Availability Impact: None (A:N) – No denial of service.
Threat Level: Medium. While the CVSS score is moderate, the lack of authentication requirements and the potential for data leakage make this a serious concern for businesses relying on this CRM solution.
Deep Dive & Mechanics
The vulnerability stems from missing authorization checks in the WPFactory CRM ERP Business Solution plugin. The plugin likely exposes REST API endpoints or AJAX actions that fail to verify user permissions before processing requests. An unauthenticated attacker can send crafted HTTP requests to these endpoints to access sensitive CRM data, such as customer records, sales orders, or employee information.
Root Cause: The plugin does not implement proper capability checks (e.g., current_user_can()) in functions handling data retrieval or modification. This allows any visitor to the site to invoke these functions without authentication.
Attack Vector: The attacker sends a specially crafted HTTP request (GET or POST) to a vulnerable endpoint. For example:
GET /wp-admin/admin-ajax.php?action=crm_get_customers&nonce=123 HTTP/1.1
Host: target-site.com
If the nonce check is missing or bypassed, the server returns customer data.
Impact: Unauthorized disclosure of business-critical data, potentially leading to competitive intelligence gathering, privacy violations, or further attacks.
Vulnerable vs. Patched Code
Since no patch is available, we can only hypothesize the vulnerable code pattern. The following is a typical example of missing authorization in WordPress plugins:
Vulnerable Code (PHP):
add_action('wp_ajax_nopriv_crm_get_customers', 'crm_get_customers');
function crm_get_customers() {
global $wpdb;
$results = $wpdb->get_results("SELECT * FROM {$wpdb->prefix}crm_customers");
wp_send_json($results);
}
This code registers an AJAX action for unauthenticated users (nopriv) and directly queries the database without checking user capabilities.
Patched Code (Hypothetical):
add_action('wp_ajax_crm_get_customers', 'crm_get_customers');
function crm_get_customers() {
if (!current_user_can('manage_options')) {
wp_die('Unauthorized', 403);
}
global $wpdb;
$results = $wpdb->get_results("SELECT * FROM {$wpdb->prefix}crm_customers");
wp_send_json($results);
}
The patched version removes the nopriv action and adds a capability check (manage_options) to restrict access to administrators.
Exploitation & Lab Setup
Red Team (Exploitation)
Prerequisites:
- A WordPress site with the vulnerable plugin (version <= 1.13) installed and activated.
- Network access to the target.
Steps:
- Identify vulnerable endpoints by analyzing the plugin's source code or using a tool like WPScan.
- Send a crafted request to a known AJAX action or REST route. Example using
curl:curl -X GET "http://target-site.com/wp-admin/admin-ajax.php?action=crm_get_customers" - If the endpoint returns data without authentication, the vulnerability is confirmed.
- Extract sensitive data (e.g., customer names, emails, phone numbers).
Note: No public exploit code is available; this is a conceptual demonstration.
Blue Team (Detection & Defense)
Detection:
- Monitor for unusual AJAX requests to
admin-ajax.phpwith actions related to the CRM plugin. - Look for requests from IPs not associated with authenticated users.
- Use the Sigma rule provided in the Detection Engineering section.
Defense:
- Immediately disable or remove the plugin until a patch is released.
- Implement a Web Application Firewall (WAF) rule to block requests to known vulnerable endpoints.
- Restrict access to
wp-adminandwp-jsonendpoints via IP whitelisting or VPN.
Indicators of Compromise (IOCs)
- Network IOCs:
- HTTP requests to
/wp-admin/admin-ajax.phpwith action parameters likecrm_get_customers,crm_get_orders, or similar. - Unusual GET/POST requests to
/wp-json/crm/v1/endpoints.
- HTTP requests to
- File IOCs:
- Presence of the plugin directory:
/wp-content/plugins/crm-erp-business-solution/ - Version file:
/wp-content/plugins/crm-erp-business-solution/readme.txtcontaining version <= 1.13.
- Presence of the plugin directory:
- Log IOCs:
- WordPress debug logs showing unauthorized access attempts to AJAX actions.
- Web server logs with 200 responses to unauthenticated AJAX requests.
Detection Engineering
YARA Rule
rule CVE_2025_49987_WordPress_CRM_Missing_Auth {
meta:
description = "Detects vulnerable WPFactory CRM ERP Business Solution plugin files"
author = "Valters IT"
date = "2025-04-10"
cve = "CVE-2025-49987"
strings:
$vuln_func = "wp_ajax_nopriv_" nocase
$crm_prefix = "crm_" nocase
$db_query = "$wpdb->get_results" nocase
condition:
all of them
}
Sigma Rule
title: CVE-2025-49987 - Unauthenticated CRM Data Access
id: 8a3f7c2e-5d1b-4a9f-8c6e-2b1d3f4a5c6d
status: experimental
description: Detects unauthenticated access attempts to WPFactory CRM ERP Business Solution endpoints
author: Valters IT
date: 2025/04/10
logsource:
category: webserver
product: apache
detection:
selection:
cs-method: 'GET'
cs-uri-query|contains:
- 'action=crm_get_customers'
- 'action=crm_get_orders'
- 'action=crm_get_leads'
condition: selection
falsepositives:
- Legitimate admin requests (should be rare)
level: high
Suricata Rule
alert http any any -> $HOME_NET any (
msg:"CVE-2025-49987 - Unauthenticated CRM Data Access Attempt";
flow:to_server,established;
content:"GET"; http_method;
content:"/wp-admin/admin-ajax.php"; http_uri;
content:"action=crm_"; http_uri;
classtype:attempted-recon;
sid:1000001;
rev:1;
)
Remediation & Mitigation
Immediate Actions:
- Disable the plugin – Deactivate and delete the WPFactory CRM ERP Business Solution plugin until a patch is released.
- Implement WAF rules – Block requests to
admin-ajax.phpwith action parameters containingcrm_unless from authenticated users. - Monitor logs – Review web server and WordPress logs for unauthorized access attempts.
Long-term Fix:
- The vendor must release a patched version that adds proper capability checks (e.g.,
current_user_can('manage_options')) to all AJAX and REST endpoints. - Consider migrating to a supported CRM solution with active security maintenance.
Workaround:
- If the plugin is critical, restrict access to
wp-adminvia.htaccess:<FilesMatch "admin-ajax.php"> Require ip 192.168.1.0/24 </FilesMatch>
Valters IT
💣 PoC CODE AVAILABLE
Exploit code for this CVE is tracked in our database.
Access poc_code via API Pro.