CVE-2025-69061
Executive Summary
CVE-2025-69061 is a critical PHP Local File Inclusion (LFI) vulnerability affecting the MoveMe WordPress theme by AncoraThemes, versions up to and including 1.2.15. The vulnerability stems from improper control of a filename used in a PHP include/require statement, allowing an unauthenticated attacker to include arbitrary local files from the server. This can lead to sensitive information disclosure, such as reading the wp-config.php file to obtain database credentials, or potentially achieving remote code execution if combined with file upload capabilities. The CVSS score of 8.1 (High) reflects the ease of exploitation and the high impact on confidentiality. No public exploit code or patch is currently available, making this a significant risk for all sites using the vulnerable theme.
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 resides in a WordPress theme distributed via the WordPress ecosystem. The theme is not hosted on the official WordPress.org repository but is sold through third-party marketplaces like ThemeForest. This creates a supply chain risk: users who purchased the theme may not receive automatic updates, and the vendor (AncoraThemes) has not released a patch. The lack of a centralized update mechanism for premium themes means site administrators must manually monitor for fixes or implement virtual patching.
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): None (N) – No file modification.
- Availability (A): None (N) – No denial of service.
Threat Level: High. The vulnerability is trivial to exploit and can lead to complete compromise of the WordPress site's secrets.
Deep Dive & Mechanics
The vulnerability exists in the MoveMe theme's handling of template parts or shortcodes. The theme likely uses a function like include() or require() with a user-controllable parameter (e.g., via $_GET['file'] or $_POST['file']) without proper sanitization or path traversal checks. An attacker can supply a path like ../../../../wp-config.php to read sensitive files.
Root Cause: The theme fails to validate the filename against an allowlist of allowed template files and does not strip directory traversal sequences (../). This is a classic CWE-98: Improper Control of Filename for Include/Require Statement.
Attack Flow:
- Attacker identifies a vulnerable endpoint, e.g.,
/?moveme_template=something. - Attacker sends a request:
/?moveme_template=../../../../wp-config.php. - The theme includes the file, outputting its contents (including database credentials) in the HTTP response.
Vulnerable vs. Patched Code
Vulnerable Code (hypothetical, based on common patterns):
// In a theme file like functions.php or template-loader.php
$template = $_GET['moveme_template'];
include( get_template_directory() . '/templates/' . $template . '.php' );
Patched Code (recommended):
// Use a whitelist approach
$allowed_templates = array('header', 'footer', 'sidebar');
$template = $_GET['moveme_template'];
if ( in_array( $template, $allowed_templates ) ) {
include( get_template_directory() . '/templates/' . $template . '.php' );
} else {
// Handle error
wp_die('Invalid template.');
}
Key Differences:
- The patched version uses an allowlist (
in_array) to restrict which files can be included. - The vulnerable version directly uses user input in the file path without validation.
Exploitation & Lab Setup
Red Team (Exploitation)
Prerequisites:
- A WordPress site running MoveMe theme <= 1.2.15.
- No authentication required.
Exploit Steps:
- Identify the vulnerable parameter. Common names include
moveme_template,template,file, orpage. - Send a crafted HTTP GET request:
Note: TheGET /?moveme_template=../../../../wp-config HTTP/1.1 Host: target-site.com.phpextension is often appended automatically by the theme. - The response will contain the contents of
wp-config.php, revealing database credentials.
Example using cURL:
curl -v "http://target-site.com/?moveme_template=../../../../wp-config"
Expected Output: The raw PHP code of wp-config.php (without execution) will be displayed in the HTML source.
Blue Team (Detection & Response)
Detection:
- Monitor web server logs for requests containing
moveme_template=followed by path traversal sequences (../). - Look for unusual file read attempts (e.g.,
wp-config.php,/etc/passwd).
Response:
- Immediately disable or remove the MoveMe theme.
- Switch to a default WordPress theme (e.g., Twenty Twenty-Four).
- Scan for any compromised credentials or backdoors.
- Implement a Web Application Firewall (WAF) rule to block path traversal patterns.
Indicators of Compromise (IOCs)
Network IOCs:
- HTTP requests with
moveme_template=parameter containing../or absolute paths. - Outbound connections from the web server to unknown IPs (if RCE is achieved).
File System IOCs:
- Unexpected files in the web root (e.g., shells).
- Modified
.htaccessfiles. - New user accounts in WordPress.
Log IOCs:
- Apache/Nginx access logs showing
GET /?moveme_template=../../../../etc/passwd. - PHP error logs with "include(): Failed opening" messages.
Detection Engineering
YARA Rule
rule CVE_2025_69061_MoveMe_LFI {
meta:
description = "Detects attempts to exploit CVE-2025-69061 in MoveMe theme"
author = "Valters IT"
date = "2025-04-10"
reference = "CVE-2025-69061"
strings:
$param = "moveme_template="
$traversal = "../"
$wpconfig = "wp-config.php"
condition:
$param and ($traversal or $wpconfig)
}
Sigma Rule
title: CVE-2025-69061 MoveMe Theme LFI Attempt
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects HTTP requests exploiting LFI in MoveMe theme
author: Valters IT
logsource:
category: webserver
product: apache
detection:
selection:
cs-method: 'GET'
c-uri|contains: 'moveme_template='
c-uri|contains: '../'
condition: selection
falsepositives:
- Legitimate use of the parameter with valid template names (unlikely)
level: high
Suricata Rule
alert http any any -> any any (
msg:"CVE-2025-69061 MoveMe Theme LFI Attempt";
flow:to_server,established;
content:"moveme_template="; http_uri;
content:"../"; http_uri;
classtype:attempted-recon;
sid:10000001;
rev:1;
)
Remediation & Mitigation
Immediate Actions:
- Disable the MoveMe theme and switch to a default WordPress theme.
- Implement a virtual patch using a WAF to block requests containing
moveme_template=with path traversal sequences. - Audit the site for any signs of compromise (check for new admin users, unknown files).
Long-Term Fix:
- Since no official patch exists, consider replacing the theme with a secure alternative.
- If you must keep the theme, manually patch the vulnerable code by adding an allowlist (see "Vulnerable vs. Patched Code" section).
Preventive Measures:
- Always use themes from reputable sources with active security support.
- Implement a WordPress security plugin (e.g., Wordfence) that includes file inclusion protection.
- Regularly update all themes and plugins.
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.