CVE-2025-52745
8.1AncoraThemes Farm · Agrico
The Agrico theme for WordPress contains a Local File Inclusion vulnerability due to improper control of filenames in PHP include statements.
Executive summary
A critical local file inclusion vulnerability in the AncoraThemes Farm Agrico theme allows unauthenticated attackers to potentially read sensitive files or execute arbitrary code on the server.
Vulnerability
This vulnerability is a Local File Inclusion (CWE-98) flaw where an unauthenticated attacker can manipulate filename parameters to include unauthorized files, leading to high confidentiality, integrity, and availability impact.
Business impact
Successful exploitation allows an attacker to access sensitive configuration files or execute arbitrary code, which could lead to a full compromise of the underlying WordPress installation. Given the CVSS score of 8.1, this represents a high-risk security event that could result in data exfiltration or complete loss of system control.
Remediation
Immediate Action: Since no specific patch version is confirmed, users should immediately disable or remove the Agrico theme if it is not business-critical, or contact the vendor for an emergency security update.
Proactive Monitoring: Monitor server access logs for suspicious requests containing directory traversal patterns or unexpected file inclusions targeting PHP scripts.
Compensating Controls: Deploy a Web Application Firewall (WAF) with rules configured to block directory traversal attempts and unauthorized PHP include requests.
Exploitation status
Public Exploit Available: No (exploit_available: false)
Analyst recommendation
The severity of this Local File Inclusion vulnerability necessitates immediate attention from administrators responsible for environments using the Agrico theme. Because the vulnerability is unauthenticated, it poses a direct risk to public-facing systems. We recommend auditing all WordPress installations for the presence of this theme and applying the strictest access controls until a confirmed vendor patch is released and verified.
More AncoraThemes Farm CVEs
Sources
Originally found and disclosed by Tran Nguyen Bao Khanh (VCI - VNPT Cyber Immunity) | Patchstack Bug Bounty Program, per the CVE Program record.