Remote File Inclusion in Modx CMS Thumbnail.php
A remote file inclusion vulnerability exists in Modx CMS 0.9.2.1 and earlier, specifically in manager/media/browser/mcpuk/connectors/php/Commands/Thumbnail.php. The vulnerability is due to insufficient sanitization of the base_path parameter, allowing attackers to specify a remote URL, which is then included and executed as PHP code. This can lead to arbitrary code execution on the server. There is also a note that the vulnerability may originate from FCKeditor.
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.
Successful exploitation allows remote attackers to execute arbitrary PHP code on the affected server, leading to full compromise of the application and potentially the underlying system.
If you can’t patch tonight, do this now.
As an immediate mitigation, disable remote file inclusion in the PHP configuration (allow_url_include=Off), and restrict access to the vulnerable script. Employ web application firewalls to detect and block malicious requests targeting the base_path parameter.
Patch, then assume compromise.
Upgrade to a version of Modx CMS where this vulnerability is patched. Ensure that all user-supplied input is properly sanitized and validated before being used in file inclusion operations. If using FCKeditor, ensure it is also updated to a secure version.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.