Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-52745: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in AncoraThemes Farm Agrico

0
High
VulnerabilityCVE-2025-52745cvecve-2025-52745
Published: Thu Dec 18 2025 (12/18/2025, 07:21:44 UTC)
Source: CVE Database V5
Vendor/Project: AncoraThemes
Product: Farm Agrico

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Farm Agrico farmagrico allows PHP Local File Inclusion.This issue affects Farm Agrico: from n/a through <= 1.3.11.

AI-Powered Analysis

AILast updated: 01/20/2026, 20:27:25 UTC

Technical Analysis

CVE-2025-52745 is a Remote File Inclusion (RFI) vulnerability found in the AncoraThemes Farm Agrico WordPress theme, versions up to and including 1.3.11. The vulnerability arises from improper validation and control of filenames used in PHP include or require statements, which are critical functions that incorporate external PHP files into the running application. An attacker can exploit this flaw by manipulating the filename parameter to include a remote malicious PHP file hosted on an attacker-controlled server. This leads to arbitrary code execution within the context of the web server, allowing the attacker to compromise the confidentiality, integrity, and availability of the affected system. The vulnerability is remotely exploitable over the network without requiring authentication or user interaction, making it highly dangerous. The CVSS v3.1 score of 8.1 indicates high severity, with attack vector network (AV:N), high attack complexity (AC:H), no privileges required (PR:N), no user interaction (UI:N), and impacts on confidentiality, integrity, and availability (C:H/I:H/A:H). Although no public exploits are currently known, the vulnerability's nature and impact make it a critical risk for websites using this theme. The lack of available patches at the time of publication necessitates immediate mitigation efforts by administrators.

Potential Impact

For European organizations, especially those in the agricultural sector using the Farm Agrico theme, this vulnerability poses a significant risk. Exploitation can lead to unauthorized remote code execution, allowing attackers to steal sensitive data, deface websites, deploy malware, or use compromised servers as a foothold for further network intrusion. Given the theme's focus on farm and agricultural websites, attackers could disrupt critical agricultural business operations or supply chains. The potential for full system compromise threatens data confidentiality and integrity, which could have regulatory and reputational consequences under GDPR and other data protection laws. Additionally, compromised servers could be leveraged in broader cyberattacks, impacting service availability. The high attack complexity somewhat limits exploitation but does not eliminate the threat, especially from skilled adversaries. The absence of known exploits in the wild provides a window for proactive defense, but organizations must act swiftly to mitigate risk.

Mitigation Recommendations

1. Update the AncoraThemes Farm Agrico theme to the latest patched version as soon as it becomes available from the vendor. 2. In the interim, disable or restrict any functionality that allows dynamic inclusion of external PHP files, particularly those accepting user input for filenames. 3. Implement strict input validation and sanitization on all parameters used in include/require statements to prevent injection of remote URLs. 4. Configure web application firewalls (WAFs) to detect and block suspicious requests attempting remote file inclusion, such as those containing URL schemes in include parameters. 5. Restrict outbound HTTP/HTTPS requests from the web server to prevent fetching remote malicious files. 6. Conduct regular security audits and code reviews on custom themes and plugins to identify similar vulnerabilities. 7. Monitor web server logs for unusual access patterns or errors indicative of attempted exploitation. 8. Employ the principle of least privilege for web server processes to limit the impact of potential compromise.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
Patchstack
Date Reserved
2025-06-19T10:02:47.063Z
Cvss Version
null
State
PUBLISHED

Threat ID: 6943b0394eb3efac366ff211

Added to database: 12/18/2025, 7:41:45 AM

Last enriched: 1/20/2026, 8:27:25 PM

Last updated: 2/7/2026, 6:27:15 AM

Views: 39

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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.

Latest Threats