PHP Remote File Inclusion in phpDMCA 1.0.0 adodb components
CVE-2008-2986 describes multiple remote file inclusion (RFI) vulnerabilities in phpDMCA 1.0.0, specifically in the adodb-errorpear.inc.php and adodb-pear.inc.php files within the adodb directory. The vulnerabilities are due to insufficient sanitization of the 'ourlinux_root_path' parameter, allowing attackers to specify a remote URL, which is then included and executed as PHP code on the server.
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. This can result in data theft, defacement, installation of malware, or use of the server as a pivot point for further attacks.
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 to prevent remote file inclusion. Restrict access to the vulnerable scripts, and use web application firewalls to block malicious requests targeting the 'ourlinux_root_path' parameter.
Patch, then assume compromise.
Upgrade to a fixed version of phpDMCA where user-supplied input is properly sanitized before being used in include/require statements. Ensure that 'allow_url_include' is disabled in the PHP configuration, and that all user input is validated and sanitized.
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.