CVE-2025-58895 in Integro Plugininfo

Summary

by MITRE • 12/18/2025

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

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 12/18/2025

The CVE-2025-58895 vulnerability represents a critical PHP Remote File Inclusion flaw in the AncoraThemes Integro theme, specifically impacting versions through 1.8.0. This vulnerability stems from improper validation of filename parameters in include/require statements, creating an avenue for attackers to execute arbitrary code on affected systems. The flaw manifests when user-supplied input is directly incorporated into PHP include directives without adequate sanitization or validation, allowing malicious actors to manipulate the inclusion process and potentially load remote malicious files.

This vulnerability directly maps to CWE-98, which describes improper control of filename for include or require statements, and aligns with ATT&CK technique T1505.003 for PHP remote file inclusion attacks. The technical implementation involves the theme's codebase accepting user-provided parameters that are then used in dynamic include statements, creating a path traversal condition where attackers can specify arbitrary file paths or URLs. When the PHP interpreter processes these include directives, it executes the contents of the specified files, enabling remote code execution capabilities.

The operational impact of this vulnerability is severe, as it allows attackers to achieve full system compromise through remote code execution. An attacker could leverage this flaw to upload malicious files, execute arbitrary commands, escalate privileges, or establish persistent backdoors within the affected WordPress environment. The vulnerability affects not just the theme itself but potentially the entire WordPress installation, as the compromised theme files can be used as a foothold for further attacks. Additionally, the inclusion of remote files allows attackers to bypass local file restrictions and execute code from external servers, making detection and mitigation particularly challenging.

Mitigation strategies for this vulnerability should begin with immediate patching of the affected theme to version 1.8.1 or later, where the vulnerability has been addressed through proper input validation and sanitization of filename parameters. System administrators should implement strict input validation at multiple layers, ensuring that all user-supplied parameters passed to include/require statements are properly sanitized and validated against a whitelist of allowed values. Network-level protections including firewall rules that restrict outbound connections to known good domains and web application firewalls that can detect and block suspicious include patterns should be deployed. Additionally, implementing the principle of least privilege and restricting file inclusion capabilities within the PHP environment can significantly reduce the impact of such vulnerabilities. Regular security audits and vulnerability assessments should be conducted to identify similar flaws in other themes and plugins, while also monitoring for exploitation attempts through intrusion detection systems.

Responsible

Patchstack

Reservation

09/05/2025

Disclosure

12/18/2025

Moderation

accepted

CPE

ready

EPSS

0.00110

KEV

no

Activities

very low

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!