CVE-2008-2645: PHP Remote File Inclusion in Brim 1.0.1
- Vendor
- Brim-Project
Brim (formerly Booby) 1.0.1 contains multiple PHP remote file inclusion vulnerabilities in the template.tpl.php file within several template directories (barrel, barry, mylook, oerdec, penguin, sidebar, slashdot, text-only). The 'renderer' parameter is not properly sanitized, allowing attackers to specify a remote URL or use directory traversal sequences to include and execute arbitrary PHP code or local files.
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 web application and underlying system. Attackers can leverage this to upload web shells, steal data, or pivot further into the network.
Mitigation
If you can’t patch tonight, do this now.
Disable allow_url_fopen and allow_url_include in the PHP configuration to prevent remote file inclusion. Restrict access to the affected scripts and directories via web server configuration. Employ input validation and sanitization for all user-supplied parameters used in file inclusion.
Remediation
Patch, then assume compromise.
Upgrade to a patched version of Brim that properly sanitizes user input for the 'renderer' parameter and disables remote file inclusion. If no patch is available, manually audit and sanitize all user-supplied input before use in include/require statements.
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-2008-2645 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2008-2645 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2008-2645?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2008-2645.
- Is there a patch for CVE-2008-2645?
- Upgrade to a patched version of Brim that properly sanitizes user input for the 'renderer' parameter and disables remote file inclusion. If no patch is available, manually audit and sanitize all user-supplied input before use in include/require statements.
- What products are affected by CVE-2008-2645?
- Brim-Project Brim.
- How severe is CVE-2008-2645?
- CVE-2008-2645 has a CVSS v2 score of 7.5 (High) and an EPSS score of 39.0% (99th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.