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

CVE-2025-53440

CVE-2025-53440 Local File Inclusion in Axiomthemes
📅 PUBLISHED: 2026-06-02 12:16 UTC 🔄 UPDATED: 2026-08-12 14:51 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.15%
👁️
0.15% probability
3.8× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1083
👁️
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 8.1
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: H Confidentiality High
I: N Integrity None
A: N Availability None
8.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-53440 is a critical PHP Local File Inclusion (LFI) vulnerability affecting the Confidant WordPress theme by Axiomthemes, up to and including version 1.4. The vulnerability stems from improper control of a filename used in a PHP include/require statement, allowing an unauthenticated attacker to read arbitrary files from the server. This can lead to exposure of sensitive configuration files, database credentials, and source code. The CVSS score of 8.1 (High) reflects the ease of exploitation and high confidentiality impact. No public exploit code or patch is currently available, making this a high-priority zero-day for WordPress site administrators.

⚡ 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

  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): None (N) – No authentication needed.
  • User Interaction (UI): None (N) – No user action required.
  • Scope (S): Unchanged (U) – Vulnerability does not affect other components.
  • Confidentiality (C): High (H) – Full file read capability.
  • Integrity (I): None (N) – No file modification.
  • Availability (A): None (N) – No denial of service.

Threat Level: High. The vulnerability is trivial to exploit and can expose sensitive data like wp-config.php, .env files, and server logs.

Deep Dive & Mechanics

The vulnerability exists in the Confidant theme's PHP code, likely within a custom template or shortcode handler that uses include() or require() with user-supplied input. The theme fails to sanitize or validate the filename parameter, allowing an attacker to traverse directories using ../ sequences and include arbitrary local files.

Root Cause: The theme likely has a function like:

include($_GET['file'] . '.php');

Without proper sanitization, an attacker can supply ../../../../etc/passwd to read system files, or ../../../wp-config to read the WordPress configuration.

Attack Vector: HTTP GET request to a vulnerable endpoint (e.g., /wp-content/themes/confidant/template.php?file=../../../etc/passwd).

Impact: An attacker can read:

  • WordPress configuration (wp-config.php) – exposing database credentials.
  • Server configuration files (/etc/passwd, /etc/shadow).
  • Source code of other plugins/themes.
  • Log files containing session tokens or admin credentials.

Vulnerable vs. Patched Code

Vulnerable Code (Confidant <= 1.4):

<?php
// vulnerable_template.php
$file = $_GET['file'];
include($file . '.php');
?>

Patched Code (Hypothetical):

<?php
// patched_template.php
$allowed_files = array('home', 'about', 'contact');
$file = $_GET['file'];
if (in_array($file, $allowed_files)) {
    include($file . '.php');
} else {
    // error handling
}
?>

A proper patch would implement a whitelist of allowed files, use realpath() to resolve paths, and strip directory traversal sequences.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • Target running WordPress with Confidant theme <= 1.4.
  • No authentication required.

Exploit Steps:

  1. Identify the vulnerable endpoint (e.g., /wp-content/themes/confidant/template.php?file=).
  2. Use directory traversal to read sensitive files:
    GET /wp-content/themes/confidant/template.php?file=../../../wp-config
    
  3. For non-PHP files, use null byte injection (if PHP < 5.3.4) or double encoding:
    GET /wp-content/themes/confidant/template.php?file=../../../etc/passwd%00
    

Example cURL command:

curl -v "http://target.com/wp-content/themes/confidant/template.php?file=../../../wp-config"

Blue Team (Detection & Hardening)

Detection:

  • Monitor web server logs for ../ sequences in GET parameters.
  • Look for requests to theme template files with suspicious file parameters.
  • Use WAF rules to block directory traversal patterns.

Hardening:

  • Disable the vulnerable theme until a patch is available.
  • Implement a Web Application Firewall (WAF) rule to block ../ and %00 in parameters.
  • Restrict file permissions on sensitive files (e.g., wp-config.php should be 640).
  • Use a security plugin like Wordfence to detect LFI attempts.

Indicators of Compromise (IOCs)

Network IOCs:

  • HTTP requests containing ../ in the file parameter.
  • Requests to /wp-content/themes/confidant/ with unusual query strings.
  • Outbound connections from the server to external IPs (if attacker exfiltrates data).

File System IOCs:

  • Unexpected access to /etc/passwd, /etc/shadow, or wp-config.php in web server logs.
  • Modified or newly created files in the theme directory.

Log Patterns:

GET /wp-content/themes/confidant/template.php?file=../../../etc/passwd HTTP/1.1

Detection Engineering

YARA Rule

rule Detect_CVE_2025_53440_LFI_Attempt {
    meta:
        description = "Detects LFI attempts targeting Confidant theme CVE-2025-53440"
        author = "Valters IT"
        date = "2025-04-10"
        severity = "high"
    strings:
        $s1 = "template.php" nocase
        $s2 = "file=" nocase
        $s3 = "../" nocase
    condition:
        all of ($s1, $s2, $s3)
}

Sigma Rule

title: CVE-2025-53440 LFI Attempt Detection
id: 12345678-1234-1234-1234-123456789abc
status: experimental
description: Detects HTTP requests with directory traversal patterns targeting Confidant theme
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-uri-query|contains: 
            - 'template.php?file='
            - '../'
    condition: selection
falsepositives:
    - Legitimate use of relative paths in other contexts
level: high

Suricata Rule

alert http any any -> $HOME_NET any (
    msg:"CVE-2025-53440 - Confidant Theme LFI Attempt";
    flow:to_server,established;
    content:"template.php"; http_uri;
    content:"file="; http_uri;
    content:"../"; http_uri;
    classtype:attempted-recon;
    sid:1000001;
    rev:1;
)

Remediation & Mitigation

Immediate Actions:

  1. Disable the Confidant theme and switch to a default WordPress theme (e.g., Twenty Twenty-Four) until a patch is released.
  2. Implement a WAF rule to block requests containing ../ in query parameters.
  3. Review server logs for signs of exploitation.

Long-term Fix:

  • Monitor the Axiomthemes website for a patched version of Confidant.
  • Apply the patch as soon as it becomes available.
  • Consider migrating to a more actively maintained theme.

Workaround:

  • If the theme cannot be disabled, add the following to .htaccess:
RewriteCond %{QUERY_STRING} (\.\./|%2e%2e%2f) [NC]
RewriteRule .* - [F,L]

Valters IT – DevSecOps & Cyber Threat Intelligence

👁️ 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:"Confidant"
http.html:"wp-content/themes/confidant"

💣 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-53440/ · 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.