Remote File Inclusion in PHPartenaire 1.0 (dix.php3)
A remote file inclusion vulnerability exists in PHPartenaire 1.0, specifically in the dix.php3 script. The vulnerability is due to improper validation of the 'url_phpartenaire' parameter, which allows remote attackers to include and execute arbitrary PHP code by supplying a malicious URL. This can lead to full compromise of the affected web application.
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 system compromise, data theft, defacement, or use of the server as a launchpad for further attacks.
If you can’t patch tonight, do this now.
As an immediate mitigation, set 'allow_url_fopen' and 'allow_url_include' to 'Off' in the PHP configuration. Restrict access to dix.php3 via web server configuration or remove the vulnerable script if not required. Monitor logs for suspicious activity related to the 'url_phpartenaire' parameter.
Patch, then assume compromise.
Upgrade to a fixed version of PHPartenaire, if available. If no patch is available, modify dix.php3 to properly validate and sanitize the 'url_phpartenaire' parameter, ensuring only trusted local files can be included. Disable allow_url_fopen and allow_url_include in php.ini to prevent remote file inclusion.
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.