CVE-2025-58879: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in AncoraThemes Festy
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Festy festy allows PHP Local File Inclusion.This issue affects Festy: from n/a through <= 1.13.0.
AI Analysis
Technical Summary
CVE-2025-58879 is a vulnerability classified as 'Improper Control of Filename for Include/Require Statement in PHP Program,' commonly referred to as a Remote File Inclusion (RFI) vulnerability, found in the AncoraThemes Festy theme version 1.13.0 and earlier. The vulnerability arises because the PHP code in Festy improperly validates or sanitizes user-supplied input used in include or require statements. This flaw enables an attacker to supply a crafted filename parameter that points to a remote malicious PHP file, which the server then includes and executes. This leads to remote code execution capabilities, allowing attackers to run arbitrary code on the affected server. The CVSS v3.1 score of 8.2 reflects the vulnerability's network attack vector (AV:N), low attack complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), unchanged scope (S:U), high confidentiality impact (C:H), low integrity impact (I:L), and no availability impact (A:N). The vulnerability affects websites using the Festy theme, which is popular in WordPress environments. Although no public exploits are currently known, the vulnerability's characteristics make it a critical risk for web servers hosting vulnerable versions of Festy. Attackers can leverage this flaw to steal sensitive data, implant backdoors, or pivot within the network. The lack of available patches at the time of publication necessitates immediate attention from administrators to implement temporary mitigations.
Potential Impact
For European organizations, this vulnerability poses a significant threat to the confidentiality of sensitive information hosted on websites using the Festy theme. Successful exploitation can lead to unauthorized disclosure of customer data, intellectual property, and internal credentials. The partial integrity impact means attackers could modify some data or website content, potentially defacing sites or injecting malicious scripts for further attacks such as phishing or malware distribution. Although availability is not directly impacted, the presence of remote code execution can facilitate subsequent attacks that degrade service. Organizations in sectors such as e-commerce, finance, healthcare, and government are particularly at risk due to the sensitive nature of their data and regulatory requirements like GDPR. The vulnerability's remote and unauthenticated exploitability increases the attack surface, making it attractive for cybercriminals and advanced persistent threats targeting European digital infrastructure.
Mitigation Recommendations
Immediate mitigation steps include disabling or removing the vulnerable Festy theme from production environments until a patch is released. Administrators should monitor official AncoraThemes channels for security updates and apply patches promptly once available. In the interim, restricting PHP include paths using configuration directives such as open_basedir can limit file inclusion to trusted directories. Implementing web application firewalls (WAFs) with rules to detect and block suspicious include/require parameters can reduce exploitation risk. Conduct thorough code reviews to identify and sanitize all user inputs used in file inclusion functions. Employing least privilege principles on web server accounts can limit the impact of successful exploitation. Regularly scanning web applications for vulnerabilities and anomalous behavior will aid in early detection. Finally, organizations should ensure robust backup and incident response plans are in place to recover from potential compromises.
Affected Countries
Germany, France, Italy, Spain, United Kingdom, Netherlands, Poland
CVE-2025-58879: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in AncoraThemes Festy
Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Festy festy allows PHP Local File Inclusion.This issue affects Festy: from n/a through <= 1.13.0.
AI-Powered Analysis
Technical Analysis
CVE-2025-58879 is a vulnerability classified as 'Improper Control of Filename for Include/Require Statement in PHP Program,' commonly referred to as a Remote File Inclusion (RFI) vulnerability, found in the AncoraThemes Festy theme version 1.13.0 and earlier. The vulnerability arises because the PHP code in Festy improperly validates or sanitizes user-supplied input used in include or require statements. This flaw enables an attacker to supply a crafted filename parameter that points to a remote malicious PHP file, which the server then includes and executes. This leads to remote code execution capabilities, allowing attackers to run arbitrary code on the affected server. The CVSS v3.1 score of 8.2 reflects the vulnerability's network attack vector (AV:N), low attack complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), unchanged scope (S:U), high confidentiality impact (C:H), low integrity impact (I:L), and no availability impact (A:N). The vulnerability affects websites using the Festy theme, which is popular in WordPress environments. Although no public exploits are currently known, the vulnerability's characteristics make it a critical risk for web servers hosting vulnerable versions of Festy. Attackers can leverage this flaw to steal sensitive data, implant backdoors, or pivot within the network. The lack of available patches at the time of publication necessitates immediate attention from administrators to implement temporary mitigations.
Potential Impact
For European organizations, this vulnerability poses a significant threat to the confidentiality of sensitive information hosted on websites using the Festy theme. Successful exploitation can lead to unauthorized disclosure of customer data, intellectual property, and internal credentials. The partial integrity impact means attackers could modify some data or website content, potentially defacing sites or injecting malicious scripts for further attacks such as phishing or malware distribution. Although availability is not directly impacted, the presence of remote code execution can facilitate subsequent attacks that degrade service. Organizations in sectors such as e-commerce, finance, healthcare, and government are particularly at risk due to the sensitive nature of their data and regulatory requirements like GDPR. The vulnerability's remote and unauthenticated exploitability increases the attack surface, making it attractive for cybercriminals and advanced persistent threats targeting European digital infrastructure.
Mitigation Recommendations
Immediate mitigation steps include disabling or removing the vulnerable Festy theme from production environments until a patch is released. Administrators should monitor official AncoraThemes channels for security updates and apply patches promptly once available. In the interim, restricting PHP include paths using configuration directives such as open_basedir can limit file inclusion to trusted directories. Implementing web application firewalls (WAFs) with rules to detect and block suspicious include/require parameters can reduce exploitation risk. Conduct thorough code reviews to identify and sanitize all user inputs used in file inclusion functions. Employing least privilege principles on web server accounts can limit the impact of successful exploitation. Regularly scanning web applications for vulnerabilities and anomalous behavior will aid in early detection. Finally, organizations should ensure robust backup and incident response plans are in place to recover from potential compromises.
Affected Countries
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Patchstack
- Date Reserved
- 2025-09-05T10:50:17.983Z
- Cvss Version
- null
- State
- PUBLISHED
Threat ID: 6943b03f4eb3efac366ff365
Added to database: 12/18/2025, 7:41:51 AM
Last enriched: 1/30/2026, 8:22:53 AM
Last updated: 2/4/2026, 11:53:55 PM
Views: 29
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2026-1896: Improper Access Controls in WeKan
MediumCVE-2025-13192: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in roxnor Popup builder with Gamification, Multi-Step Popups, Page-Level Targeting, and WooCommerce Triggers
HighCVE-2026-1895: Improper Access Controls in WeKan
MediumCVE-2025-22873: CWE-23: Relative Path Traversal in Go standard library os
MediumCVE-2026-22038: CWE-532: Insertion of Sensitive Information into Log File in Significant-Gravitas AutoGPT
HighActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.