Remote File Inclusion in GPL PHP Board unstable-2001.11.14-1
CVE-2007-2204 describes multiple remote file inclusion (RFI) vulnerabilities in GPL PHP Board (GPB) unstable-2001.11.14-1. The vulnerabilities exist in the handling of the 'root_path' parameter in 'include/db.mysql.inc.php' and 'include/gpb.inc.php', as well as the 'theme' parameter in 'themes/ubb/login.php'. Unsanitized user input in these parameters allows attackers to specify a remote URL, leading to the inclusion and execution of arbitrary PHP code hosted on external servers.
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, potentially leading to full system compromise, data theft, web shell installation, or further lateral movement within the hosting environment.
If you can’t patch tonight, do this now.
Restrict access to the vulnerable scripts via web server configuration. Disable allow_url_fopen and allow_url_include in the PHP configuration to prevent remote file inclusion. Employ input validation and sanitization on all user-supplied parameters used in file inclusion functions.
Patch, then assume compromise.
Upgrade to a patched version of GPL PHP Board where user-supplied input is properly sanitized and validated before being used in file inclusion operations. If no official patch is available, manually audit and modify the affected scripts to ensure that only trusted, local file paths can be included.
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.