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: 12/18/2025, 09:45:21 UTC

Technical Analysis

CVE-2025-52745 is a Remote File Inclusion (RFI) vulnerability identified in the AncoraThemes Farm Agrico WordPress theme versions up to 1.3.11. The vulnerability stems from improper validation and control over the filename parameter used in PHP include or require statements. This flaw allows an attacker to manipulate the input to include remote files hosted on attacker-controlled servers. When exploited, the attacker can execute arbitrary PHP code within the context of the vulnerable web server, leading to remote code execution (RCE). This can result in full compromise of the affected website, including data theft, defacement, or pivoting to internal networks. The vulnerability is particularly dangerous because it does not require authentication or user interaction, making automated exploitation feasible. Although no public exploits are currently documented, the nature of RFI vulnerabilities historically shows rapid weaponization once disclosed. The affected product, Farm Agrico, is a niche WordPress theme targeted at agricultural businesses, which may limit the scope but does not reduce the criticality for affected users. The lack of a CVSS score indicates that the vulnerability is newly published and not yet fully assessed, but the technical characteristics align with high-risk RFI vulnerabilities.

Potential Impact

For European organizations, especially those in the agricultural sector or using WordPress with AncoraThemes products, this vulnerability can lead to severe consequences. Exploitation can result in unauthorized remote code execution, allowing attackers to take full control of the affected web server. This can lead to data breaches involving sensitive customer or business data, disruption of online services, defacement of websites, and use of compromised servers as pivot points for further attacks within corporate networks. Given the importance of agriculture in many European economies and the increasing digitalization of farming operations, a successful attack could disrupt business continuity and damage reputation. Additionally, compromised websites may be used to distribute malware or conduct phishing campaigns targeting European users. The absence of known exploits currently provides a window for proactive mitigation, but the risk of rapid exploitation remains high once attackers develop proof-of-concept code.

Mitigation Recommendations

1. Immediately update the Farm Agrico theme to a patched version once available from AncoraThemes. If no patch is yet released, consider temporarily disabling or replacing the theme. 2. Implement strict input validation and sanitization on all parameters used in include/require statements to prevent injection of remote file paths. 3. Configure PHP settings to disable allow_url_include and allow_url_fopen directives to prevent inclusion of remote files. 4. Employ Web Application Firewalls (WAFs) with rules to detect and block suspicious file inclusion attempts. 5. Conduct thorough code audits of custom themes and plugins to identify similar unsafe file inclusion patterns. 6. Restrict file permissions and isolate the web server environment to minimize impact if exploitation occurs. 7. Monitor web server logs for unusual requests or errors indicative of exploitation attempts. 8. Educate site administrators on the risks of installing unverified themes and the importance of timely updates. 9. Consider deploying runtime application self-protection (RASP) tools to detect and block exploitation in real-time.

Need more detailed analysis?Get Pro

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: 12/18/2025, 9:45:21 AM

Last updated: 12/19/2025, 7:24:13 AM

Views: 6

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 enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats