CVE-2025-68985
Executive Summary
CVE-2025-68985 is a critical PHP Local File Inclusion (LFI) vulnerability discovered in the Aora WordPress theme developed by Thembay. The vulnerability stems from improper control of a filename used in an include/require statement, allowing an unauthenticated attacker to read arbitrary files from the server's filesystem. This can lead to the disclosure of sensitive information such as database credentials, configuration files, and source code. The vulnerability affects all versions of Aora up to and including 1.3.15. No patch is currently available, and no public proof-of-concept (PoC) code has been released. The EPSS score is 0.0%, indicating a low probability of exploitation in the wild at this time, but the risk remains high due to the potential impact.
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 theme, which is part of the WordPress ecosystem. The theme is distributed via the official WordPress theme repository and potentially through third-party marketplaces. Users who have installed the Aora theme are at risk. Since no patch is available, users should consider disabling or removing the theme until a fix is released. The supply chain risk is elevated because the vulnerability is in a widely distributed component, and the lack of a patch means that all installations are vulnerable.
CVSS Breakdown & Threat Level
The CVSS v3.1 base score is 7.5 (HIGH).
- Attack Vector (AV): Network (N) - The vulnerability can be exploited remotely.
- Attack Complexity (AC): Low (L) - No special conditions are required for exploitation.
- Privileges Required (PR): None (N) - No authentication is needed.
- User Interaction (UI): None (N) - The victim does not need to perform any action.
- Scope (S): Unchanged (U) - The vulnerability does not affect other components.
- Confidentiality (C): High (H) - Complete file disclosure is possible.
- Integrity (I): None (N) - No file modification is possible.
- Availability (A): None (N) - No denial of service.
The threat level is HIGH due to the ease of exploitation and the potential for significant information disclosure.
Deep Dive & Mechanics
The vulnerability is a PHP Local File Inclusion (LFI) issue. It occurs when the Aora theme uses a user-controllable parameter (likely via a GET or POST request) to construct a file path for an include/require statement without proper sanitization. For example, a vulnerable code snippet might look like:
<?php
$file = $_GET['file'];
include($file . '.php');
?>
An attacker can manipulate the file parameter to include arbitrary files by using path traversal sequences (e.g., ../../../../etc/passwd). Since the extension .php is appended, the attacker may need to use a null byte injection (%00) or other techniques to bypass this, depending on the PHP version. In older PHP versions (pre-5.3.4), null byte injection works. In newer versions, the attacker might use a wrapper like php://filter to read files without the extension issue.
The vulnerability is classified under CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion'), but in this case, it is a Local File Inclusion because the attacker is limited to files on the same server.
Vulnerable vs. Patched Code
Since no patch is available, we can only hypothesize about the vulnerable code and the fix.
Vulnerable Code (Hypothetical):
<?php
// In a template file or function
$template = $_GET['template'];
include( get_template_directory() . '/templates/' . $template . '.php' );
?>
Patched Code (Hypothetical):
<?php
$allowed_templates = array('home', 'single', 'page');
$template = $_GET['template'];
if (in_array($template, $allowed_templates)) {
include( get_template_directory() . '/templates/' . $template . '.php' );
} else {
// Default template
include( get_template_directory() . '/templates/home.php' );
}
?>
The fix involves whitelisting allowed values and not directly using user input in the file path.
Exploitation & Lab Setup
Red Team
To exploit this vulnerability, an attacker would send a crafted HTTP request to a vulnerable WordPress site running the Aora theme. The exact parameter name is unknown, but common names include file, page, template, or include.
Example Request (using file parameter):
GET /wp-content/themes/aora/some-file.php?file=../../../../etc/passwd%00 HTTP/1.1
Host: target.com
If null byte injection is not possible, the attacker can use the php://filter wrapper to read files:
GET /wp-content/themes/aora/some-file.php?file=php://filter/convert.base64-encode/resource=../../../../etc/passwd HTTP/1.1
Host: target.com
The response will contain the base64-encoded content of the /etc/passwd file.
Lab Setup:
- Install a local WordPress instance.
- Install the Aora theme version 1.3.15.
- Identify the vulnerable parameter by reviewing the theme's source code.
- Use a tool like Burp Suite or curl to send the malicious request.
Blue Team
To detect exploitation attempts, monitor web server logs for:
- Requests containing path traversal sequences (
../,..\\,%2e%2e%2f). - Requests using PHP wrappers (
php://filter,php://input). - Requests to theme files with unexpected parameters.
- Anomalous file inclusion patterns.
Detection Commands:
# Search for path traversal in Apache logs
grep -E '\.\./|\.\.\\|%2e%2e%2f' /var/log/apache2/access.log
# Search for PHP wrapper usage
grep -E 'php://' /var/log/apache2/access.log
Indicators of Compromise (IOCs)
- Network IOCs:
- HTTP requests containing
../or..\\in parameters. - HTTP requests containing
php://filterorphp://input. - Requests to
/wp-content/themes/aora/with suspicious parameters.
- HTTP requests containing
- File System IOCs:
- Unexpected files in the web root (e.g.,
/tmp/evil.php). - Modified theme files.
- Unexpected files in the web root (e.g.,
- Log IOCs:
- Web server logs showing 200 responses to LFI attempts.
- PHP error logs showing "include(): Failed opening" errors.
Detection Engineering
YARA Rule
rule CVE_2025_68985_LFI_Aora {
meta:
description = "Detects LFI attempts targeting the Aora WordPress theme"
author = "Valters IT"
date = "2025-04-10"
cve = "CVE-2025-68985"
strings:
$path_traversal = /\.\.\/|\.\.\\|%2e%2e%2f/
$php_wrapper = /php:\/\//
$aora_theme = /wp-content\/themes\/aora/
condition:
any of ($path_traversal) and any of ($php_wrapper) and any of ($aora_theme)
}
Sigma Rule
title: CVE-2025-68985 - LFI Attempt on Aora Theme
id: 7b8c9d0e-1f2a-3b4c-5d6e-7f8a9b0c1d2e
status: experimental
description: Detects HTTP requests attempting to exploit LFI in the Aora WordPress theme
author: Valters IT
date: 2025-04-10
logsource:
category: webserver
product: apache
detection:
selection:
cs-method: 'GET'
cs-uri-query|contains:
- '../'
- '..\\'
- '%2e%2e%2f'
- 'php://'
cs-uri-stem|contains: '/wp-content/themes/aora/'
condition: selection
falsepositives:
- Legitimate use of path traversal in other contexts (rare)
level: high
Suricata Rule
alert http any any -> any any (msg:"CVE-2025-68985 - LFI Attempt on Aora Theme"; flow:to_server,established; content:"/wp-content/themes/aora/"; http_uri; content:"../"; http_uri; distance:0; content:"php://"; http_uri; distance:0; classtype:attempted-recon; sid:1000001; rev:1;)
Remediation & Mitigation
Since no official patch is available, the following mitigations are recommended:
- Disable or Remove the Theme: Immediately deactivate and delete the Aora theme from all WordPress installations. Switch to a different, secure theme.
- Web Application Firewall (WAF): Deploy a WAF rule to block requests containing path traversal sequences or PHP wrappers in the URI.
- Input Validation: If you must use the theme, implement custom input validation to whitelist allowed file names.
- File Permissions: Ensure that sensitive files (e.g.,
wp-config.php) have restrictive permissions (e.g., 600). - Monitor Logs: Continuously monitor web server and PHP error logs for signs of exploitation.
- Update PHP: Use the latest PHP version to mitigate null byte injection and other LFI techniques.
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.