CVE-2025-30896
Executive Summary
CVE-2025-30896 is a Missing Authorization vulnerability in the WP ERP plugin for WordPress, developed by weDevs. This flaw affects all versions up to and including 1.13.4. The vulnerability allows an authenticated attacker (with low privileges) to exploit incorrectly configured access control security levels, potentially leading to unauthorized access to sensitive ERP data or actions. The CVSS score is 5.4 (Medium), and the EPSS probability is 0.0%, indicating low active exploitation in the wild. No public proof-of-concept (PoC) or exploit code has been released, and no official patch is available from the vendor.
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 the WordPress plugin ecosystem. WP ERP is a widely used business management plugin for WordPress, handling sensitive data such as employee records, accounting, and CRM. The missing authorization flaw could allow an attacker to escalate privileges or access restricted endpoints. Since no patch exists, users must rely on workarounds or disable the plugin until a fix is released.
CVSS Breakdown & Threat Level
- CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- Base Score: 5.4 (Medium)
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: Low (authenticated user)
- User Interaction: None
- Scope: Unchanged
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: None
Threat Level: Medium. The vulnerability requires authentication but can be exploited by any low-privileged user (e.g., subscriber or customer). The impact is limited to low confidentiality and integrity loss, but in the context of an ERP system, this could expose sensitive business data.
Deep Dive & Mechanics
The vulnerability stems from missing authorization checks in WP ERP's REST API endpoints or AJAX handlers. The plugin fails to verify that the current user has the required capabilities (e.g., manage_options, edit_others_posts) before executing sensitive operations. This allows an authenticated attacker to:
- Access employee records, payroll data, or CRM contacts.
- Modify non-critical settings or data.
- Enumerate user roles and permissions.
The flaw is classified under CWE-862: Missing Authorization. The affected component is likely the erp plugin's REST API routes, which do not enforce proper capability checks. For example, an endpoint like /wp-json/erp/v1/employees might return data without verifying the user's role.
Vulnerable vs. Patched Code
Since no patch is available, the vulnerable code pattern is described below. A hypothetical fix would add capability checks.
Vulnerable Code (PHP):
add_action('rest_api_init', function () {
register_rest_route('erp/v1', '/employees', array(
'methods' => 'GET',
'callback' => 'erp_get_employees',
'permission_callback' => '__return_true' // Missing authorization
));
});
function erp_get_employees($request) {
// Returns all employees without checking user role
return get_users(array('role__in' => array('employee')));
}
Patched Code (Hypothetical):
add_action('rest_api_init', function () {
register_rest_route('erp/v1', '/employees', array(
'methods' => 'GET',
'callback' => 'erp_get_employees',
'permission_callback' => function () {
return current_user_can('manage_options'); // Proper capability check
}
));
});
function erp_get_employees($request) {
// Only returns employees if user has manage_options capability
return get_users(array('role__in' => array('employee')));
}
Exploitation & Lab Setup
Red Team
Prerequisites:
- WordPress instance with WP ERP <= 1.13.4 installed.
- Valid low-privileged user account (e.g., subscriber).
Exploitation Steps:
- Authenticate to WordPress as a low-privileged user.
- Send a crafted GET request to the vulnerable REST API endpoint:
GET /wp-json/erp/v1/employees HTTP/1.1 Host: target.com Cookie: wordpress_logged_in_<hash>=<session> - If successful, the response will contain sensitive employee data (names, emails, roles).
Example cURL Command:
curl -X GET "https://target.com/wp-json/erp/v1/employees" \
-H "Cookie: wordpress_logged_in_abc123=session_token"
Blue Team
Detection & Prevention:
- Monitor for unusual REST API requests to
/wp-json/erp/v1/*from low-privileged users. - Implement Web Application Firewall (WAF) rules to block unauthorized access to ERP endpoints.
- Disable the WP ERP plugin until a patch is available.
- Use a WordPress security plugin to enforce role-based access controls.
Indicators of Compromise (IOCs)
- Network IOCs:
- HTTP requests to
/wp-json/erp/v1/employeesor similar endpoints from non-admin users. - Unusual data exfiltration patterns (e.g., large JSON responses containing employee data).
- HTTP requests to
- File IOCs:
- Modified WordPress user roles or capabilities in the database.
- Unexpected entries in WordPress audit logs (if enabled).
- Log IOCs:
- Repeated 200 OK responses to REST API calls from low-privileged users.
- Access logs showing
GET /wp-json/erp/v1/followed by data retrieval.
Detection Engineering
YARA Rule
rule CVE_2025_30896_WP_ERP_Missing_Auth {
meta:
description = "Detects exploitation attempts of CVE-2025-30896 in WP ERP plugin"
author = "Valters IT"
date = "2025-04-17"
reference = "https://nvd.nist.gov/vuln/detail/CVE-2025-30896"
strings:
$rest_endpoint = "/wp-json/erp/v1/"
$auth_bypass = "permission_callback" nocase
$vuln_version = "Version: 1.13.4" nocase
condition:
$rest_endpoint and ($auth_bypass or $vuln_version)
}
Sigma Rule
title: CVE-2025-30896 WP ERP Missing Authorization Exploitation
id: 8a3b2c1d-4e5f-6a7b-8c9d-0e1f2a3b4c5d
status: experimental
description: Detects HTTP requests to WP ERP REST API endpoints from low-privileged users
author: Valters IT
date: 2025-04-17
logsource:
category: webserver
product: apache
detection:
selection:
cs-method: 'GET'
cs-uri-stem|startswith: '/wp-json/erp/v1/'
cs-username|contains: 'subscriber'
condition: selection
falsepositives:
- Legitimate admin access (rare)
level: medium
Suricata Rule
alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"CVE-2025-30896 WP ERP Missing Authorization Exploitation";
flow:to_server,established;
content:"GET"; http_method;
content:"/wp-json/erp/v1/"; http_uri;
pcre:"/^\/wp-json\/erp\/v1\/(employees|crm|accounting)/";
classtype:attempted-recon;
sid:10000001;
rev:1;
)
Remediation & Mitigation
Immediate Actions:
- Disable the WP ERP plugin until a patch is released by weDevs.
- Restrict access to the
/wp-json/erp/v1/endpoints via.htaccessor WAF rules. - Audit user roles and remove any unnecessary low-privileged accounts.
Long-term Fix:
- Monitor the weDevs plugin repository for an official patch.
- Apply the patch as soon as it becomes available.
- Implement a WordPress security plugin (e.g., Wordfence) to enforce capability checks.
Workaround Code (Add to theme's functions.php):
add_filter('rest_pre_dispatch', function ($result, $server, $request) {
if (strpos($request->get_route(), '/erp/v1/') === 0) {
if (!current_user_can('manage_options')) {
return new WP_Error('rest_forbidden', 'Access denied', array('status' => 403));
}
}
return $result;
}, 10, 3);
Valters IT
Securing Digital Frontiers
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.