RFI/LFI in WordPress Canto plugin <= 3.0.4 via wp_abspath parameter
The Canto plugin for WordPress is vulnerable to Remote File Inclusion (RFI) in versions up to and including 3.0.4 via the wp_abspath parameter. If PHP is configured with allow_url_include enabled, an unauthenticated attacker can supply a remote URL to be included, resulting in inclusion and execution of attacker-controlled PHP code on the server. The issue can also be leveraged as a Local File Inclusion (LFI), but practical exploitation for code execution via LFI requires the attacker to have already placed a malicious PHP file on the target host in a web-server-readable location (e.g., via FTP or another upload vector).
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Unauthenticated remote code execution is possible when allow_url_include is enabled, allowing full compromise of the WordPress site and potentially the underlying server context of the web service (e.g., arbitrary command execution as the web server user, data theft/modification, persistence via webshells, and pivoting depending on environment). In configurations where only LFI is feasible, impact is more limited unless the attacker can first place a PHP payload locally; in that case, LFI can be used to execute the planted payload.
If you can’t patch tonight, do this now.
Disable allow_url_include in PHP configuration to prevent RFI-style inclusion of remote resources. Additionally, restrict/validate any user-controlled input used in include/require paths (defense-in-depth) and reduce avenues for attackers to place arbitrary PHP files on the host (e.g., harden FTP access, file permissions).
Patch, then assume compromise.
Upgrade the Canto WordPress plugin to a version newer than 3.0.4 that addresses unsafe file inclusion via the wp_abspath parameter (vendor patch).
3 exploits validated by Mallory's analysis.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.