Remote File Inclusion in TOWels 0.1 scripture.php
A remote file inclusion vulnerability exists in The Online Web Library Site (TOWels) version 0.1, specifically in the src/scripture.php file. The vulnerability is due to insufficient validation of the pageHeaderFile parameter, which allows remote attackers to include and execute arbitrary PHP code by supplying a malicious URL.
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 server, potentially leading to full compromise of the affected system, data theft, or further attacks against internal resources.
If you can’t patch tonight, do this now.
As an immediate mitigation, disable allow_url_include and allow_url_fopen in the PHP configuration. Additionally, use web application firewalls to block suspicious requests and validate all user-supplied input to prevent remote file inclusion.
Patch, then assume compromise.
Upgrade to a fixed version of TOWels where user-supplied input to the pageHeaderFile parameter is properly validated and sanitized. Ensure that allow_url_include and allow_url_fopen are disabled in the PHP configuration if not required.
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.