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

CVE-2025-31545

CVE-2025-31545 Missing Authorization in Wp messiah
📅 PUBLISHED: 2025-03-31 13:15 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.14%
👁️
0.14% probability
3.6× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: Estonia License: Freemium
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 5.4
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: N User Interaction None
S: U Scope Unchanged
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
5.4
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-31545 is a Missing Authorization vulnerability (CWE-862) in the Safe Ai Malware Protection for WP WordPress plugin, developed by WP Messiah. This flaw allows an authenticated attacker with low privileges to exploit incorrectly configured access control security levels, potentially leading to unauthorized data modification or access to protected plugin features. The vulnerability affects all versions up to and including 1.0.20. As of this report, no official patch has been released, and no public proof-of-concept (PoC) code is available. The EPSS score is 0.0%, indicating a low probability of exploitation in the wild at this time, but the risk remains for sites using the plugin.

⚡ 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 resides within the WordPress plugin ecosystem. The plugin is distributed via the official WordPress Plugin Directory and potentially through third-party repositories. Users are advised to verify the integrity of their plugin files and monitor for updates from the vendor. Since no patch is available, the supply chain risk is elevated, as site administrators must rely on alternative mitigations.

CVSS Breakdown & Threat Level

  • CVSS Score: 5.4 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
  • Attack Vector (AV): Network – The vulnerability can be exploited remotely.
  • Attack Complexity (AC): Low – No special conditions are required.
  • Privileges Required (PR): Low – An attacker needs a valid WordPress user account with minimal privileges.
  • User Interaction (UI): None – No user action is required.
  • Scope (S): Unchanged – The exploit does not affect other components.
  • Confidentiality (C): Low – Limited unauthorized data access is possible.
  • Integrity (I): Low – Limited unauthorized data modification is possible.
  • Availability (A): None – No impact on system availability.

Threat Level: Medium. While the CVSS score is moderate, the lack of a patch and the potential for privilege escalation within the plugin’s context warrant attention.

Deep Dive & Mechanics

The vulnerability stems from missing authorization checks in the plugin’s AJAX handlers or REST API endpoints. The plugin likely implements role-based access controls but fails to validate user capabilities before executing sensitive actions. An attacker with a subscriber or contributor role can send crafted HTTP requests to trigger functions intended for administrators, such as:

  • Modifying malware scanning schedules.
  • Disabling protection features.
  • Accessing scan logs or configuration data.

The core issue is that the plugin uses wp_ajax_* hooks without verifying current_user_can() or wp_verify_nonce() properly. This allows low-privileged users to invoke admin-level callbacks.

Vulnerable vs. Patched Code

Since no patch is available, a hypothetical fix is provided for illustration.

Vulnerable Code (Example):

add_action('wp_ajax_safe_ai_scan', 'safe_ai_scan_callback');
function safe_ai_scan_callback() {
    // Missing capability check
    $scan_type = $_POST['scan_type'];
    // Execute scan...
}

Patched Code (Hypothetical):

add_action('wp_ajax_safe_ai_scan', 'safe_ai_scan_callback');
function safe_ai_scan_callback() {
    if (!current_user_can('manage_options')) {
        wp_die('Unauthorized', 403);
    }
    check_ajax_referer('safe_ai_nonce', 'nonce');
    $scan_type = sanitize_text_field($_POST['scan_type']);
    // Execute scan...
}

Exploitation & Lab Setup

Red Team (Offensive)

  1. Prerequisites: A WordPress site with Safe Ai Malware Protection for WP <= 1.0.20 installed and a low-privileged user account (e.g., subscriber).
  2. Steps:
    • Log in as the low-privileged user.
    • Identify AJAX actions used by the plugin (e.g., via browser developer tools or by analyzing plugin source code).
    • Craft a POST request to /wp-admin/admin-ajax.php with the action parameter set to a privileged function (e.g., safe_ai_disable_protection).
    • If no nonce or capability check is enforced, the request will succeed.
  3. Example Request:
    POST /wp-admin/admin-ajax.php HTTP/1.1
    Host: target-site.com
    Content-Type: application/x-www-form-urlencoded
    Cookie: wordpress_logged_in_...
    
    action=safe_ai_disable_protection&scan_type=full
    

Blue Team (Defensive)

  1. Detection: Monitor for unusual AJAX requests from low-privileged users to plugin-specific actions.
  2. Mitigation:
    • Disable or remove the plugin until a patch is available.
    • Implement a Web Application Firewall (WAF) rule to block requests to admin-ajax.php with suspicious action parameters.
    • Restrict user roles and capabilities using a plugin like "User Role Editor".
  3. Hunting: Search logs for patterns like POST /wp-admin/admin-ajax.php with action=safe_ai_* from non-admin users.

Indicators of Compromise (IOCs)

  • Network:
    • HTTP POST requests to /wp-admin/admin-ajax.php with action parameters containing safe_ai_ from low-privileged user sessions.
    • Unusual scan initiation or configuration changes in plugin logs.
  • File System:
    • Modified plugin configuration files (e.g., wp-content/plugins/safe-ai-malware-protection-for-wp/options.php).
  • Logs:
    • WordPress debug log entries showing unauthorized access attempts to plugin AJAX handlers.

Detection Engineering

YARA Rule

rule CVE_2025_31545_WordPress_Plugin {
    meta:
        description = "Detects vulnerable Safe Ai Malware Protection for WP plugin files"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-31545"
    strings:
        $ajax_hook = /add_action\s*\(\s*['\"]wp_ajax_safe_ai_/
        $missing_cap = /current_user_can\s*\(/
    condition:
        $ajax_hook and not $missing_cap
}

Sigma Rule

title: CVE-2025-31545 - Missing Authorization in Safe Ai Malware Protection
id: 8a4b3c2d-1e5f-6a7b-8c9d-0e1f2a3b4c5d
status: experimental
description: Detects unauthorized AJAX requests to vulnerable plugin endpoints
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: POST
        c-uri: '/wp-admin/admin-ajax.php'
        cs-uri-query|contains: 'action=safe_ai_'
        sc-status: 200
    condition: selection
falsepositives:
    - Legitimate admin actions (rare)
level: medium

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2025-31545 - Safe Ai Malware Protection Missing Authorization";
    flow:to_server,established;
    content:"POST"; http_method;
    content:"/wp-admin/admin-ajax.php"; http_uri;
    content:"action=safe_ai_"; http_client_body;
    classtype:attempted-admin;
    sid:1000001;
    rev:1;
)

Remediation & Mitigation

  1. Immediate Action: Disable and remove the Safe Ai Malware Protection for WP plugin until a patched version is released.
  2. Workaround: If removal is not possible, restrict access to wp-admin/admin-ajax.php using .htaccess rules or a WAF to only allow authenticated requests from trusted IPs.
  3. Monitoring: Enable WordPress debug logging and monitor for unauthorized AJAX calls.
  4. Vendor Contact: Reach out to WP Messiah for an ETA on the patch.
  5. Long-term: Implement a principle of least privilege for all WordPress users and regularly audit plugin permissions.

Valters IT – Securing Digital Frontiers

👁️ 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:"Safe Ai Malware Protection"
http.html:"safe-ai-malware-protection-for-wp"
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-31545/ · 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.