CVE-2007-5628: Remote File Inclusion in TOWels 0.1 scripture.php
- Vendor
- Towels
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.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
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.
Mitigation
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.
Remediation
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.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2007-5628 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2007-5628 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2007-5628?
- As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2007-5628. 1 candidate exploit record is not yet analyzed.
- Is there a patch for CVE-2007-5628?
- 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.
- What products are affected by CVE-2007-5628?
- Towels.
- How severe is CVE-2007-5628?
- CVE-2007-5628 has a CVSS v2 score of 6.8 (Medium) and an EPSS score of 27.8% (98th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.