Skip to main content

Consulting theme CVE-2025-64359

HIGH
PHP Remote File Inclusion (CWE-98)
2025-10-31 audit@patchstack.com
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged user
  2. Delivery
    Craft request with manipulated file parameter
  3. Exploit
    Trigger PHP include of attacker-chosen path
  4. Execution
    Include local file (wp-config.php or staged PHP)
  5. Impact
    Disclose credentials or execute code

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V5 - File Handling File inclusion prevention, allowlisting
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Command and Control

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated account with at least low privileges (CVSS PR:L) on a WordPress site running the Consulting theme at a version below 6.7.5, and the attacker must reach the specific theme code path that passes a filename into a PHP include/require. The CVSS AC:H indicates the trigger is not trivial - it likely depends on specific parameters, path-traversal encoding, or the presence of a target file already on the server (e.g., a writable/poisonable file for code execution rather than mere disclosure). Limiting factors: authentication is mandatory (no unauthenticated exploitation), the vulnerable theme must be installed and active, and the elevated attack complexity reduces reliability. Remote code execution specifically depends on the attacker being able to place PHP content in an includable local path.

Impact

Signals are mixed and lean toward moderate real-world priority. The CVSS 3.1 base is 7.5 (High) with vector AV:N/AC:H/PR:L/UI:N and full C:H/I:H/A:H impact, but the High attack complexity (AC:H) and required privileges (PR:L) temper it - an attacker needs some authenticated foothold and specific conditions to trigger the vulnerable include path. EPSS is very low (0.05%, 16th percentile), the CVE is NOT in CISA KEV, and no POC is referenced, so there is no evidence of active or imminent mass exploitation. This looks like a genuine but not urgent issue: patch on a normal cadence rather than emergency. Note a tension worth flagging: the CVSS claims C:H/I:H/A:H (full impact including availability/integrity), yet the description and tags characterize this primarily as LFI/Information Disclosure - verify whether integrity and availability impact are truly achievable or whether the vector overstates I/A.

Exploit ScenarioDerived

A low-privileged authenticated user (or an attacker who has obtained such credentials) sends a crafted request to a Consulting-theme endpoint, supplying a manipulated filename/template parameter that the theme passes into a PHP include statement. Under the required conditions this coerces the server to include a local file - for example reading wp-config.php to steal database credentials, or executing attacker-controlled PHP previously staged via an upload or poisoned log. No public POC is referenced, and the high attack complexity means the exact trigger path must be met.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 25, 2026

Local File Inclusion in the StylemixThemes 'Consulting' WordPress theme (all versions up to but not including 6.7.5) lets an authenticated attacker control a filename passed to a PHP include/require statement, forcing the server to include and execute local files. Because arbitrary local PHP files can be executed, this can escalate to disclosure of sensitive files (wp-config.php credentials) and potential code execution via log poisoning or session/upload files. Reported by Patchstack; no public exploit identified at time of analysis, and EPSS is low at 0.05% (16th percentile).

RemediationAI

Vendor-released patch: update the Consulting theme to version 6.7.5 or later, which is the first fixed release per the Patchstack advisory (https://patchstack.com/database/Wordpress/Theme/consulting/vulnerability/wordpress-consulting-theme-6-7-5-local-file-inclusion-vulnerability?_s_id=cve). If immediate upgrade is not possible, apply compensating controls: use a WAF or Patchstack's vPatch/virtual patching to block requests containing path-traversal sequences or suspicious file parameters aimed at theme endpoints; restrict access to theme functionality by tightening the roles/capabilities of low-privileged accounts (since PR:L is required); and harden PHP with open_basedir and allow_url_include=Off to limit which files an include can reach - noting that overly tight open_basedir settings can break legitimate plugins/themes and should be tested in staging. Removing or deactivating the theme entirely eliminates exposure but will disable the site's front-end presentation.

Affected ProductsAI

The affected product is the StylemixThemes 'Consulting' WordPress theme, versions from an unspecified earliest release through any version prior to 6.7.5 (i.e., < 6.7.5). No CPE string was supplied in the input. The vendor/vulnerability record is published via Patchstack at https://patchstack.com/database/Wordpress/Theme/consulting/vulnerability/wordpress-consulting-theme-6-7-5-local-file-inclusion-vulnerability?_s_id=cve. WordPress core itself is not affected - only sites running this specific theme.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the 'Consulting' commercial WordPress theme from StylemixThemes, which runs as PHP within a WordPress installation. The root cause is CWE-98 (Improper Control of Filename for Include/Require Statement, 'PHP Remote File Inclusion'), where user-influenced input reaches a PHP include()/require() call without proper allow-listing or path sanitization. In practice this manifests as Local File Inclusion (LFI): an attacker manipulates a parameter (e.g., a template, module, or page identifier) so the theme includes an unintended path on the server. Any included PHP file is executed in the WordPress context, and non-PHP files can be disclosed as source. No specific CPE string was provided in the input beyond the theme identity.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.5 HIGH
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 5.9 MEDIUM

Network-reachable but needs an authenticated low-priv account (PR:L) and a specific include path (AC:H); LFI yields high confidentiality but limited integrity and no clear availability impact.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in StylemixThemes Consulting consulting allows PHP Local File Inclusion.This issue affects Consulting: from n/a through < 6.7.5.

Executive ViewAI

Why It Matters

The StylemixThemes Consulting WordPress theme contains a local file inclusion vulnerability (CVE-2025-64359) affecting all versions before 6.7.5, allowing authenticated users to execute arbitrary local files on affected servers. Organizations running this theme face immediate risk of database credential theft (wp-config.php) and site compromise through code execution. Urgent identification and mitigation of affected installations is required.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations until patching: restrict administrator privileges to essential personnel only, enforce multi-factor authentication on all WordPress administrative accounts, implement file integrity monitoring on wp-config.php and sensitive configuration files, monitor application and error logs for file inclusion attempts and suspicious error output, apply WAF rules to detect and block directory traversal sequences ('../') and PHP stream wrappers ('file://', 'php://').

Threat Intelligence Overview

EPSS Score
0.1%
Top 84% exploitable
Prevalence
Low
commercial niche WordPress theme, limited per-site deployment footprint
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Local File Inclusion vulnerabilities occur when an application accepts user-controlled input to specify which file should be loaded or executed, typically through functions like PHP's `include()`, `require()`, or `fopen()`.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy