CVE-2007-0820: Remote File Inclusion in PortailPhp 2 (chemin parameter)
- Vendor
- Cedric
CVE-2007-0820 describes multiple remote file inclusion (RFI) vulnerabilities in Cedric CLAIRE PortailPhp 2. The vulnerabilities exist in the 'chemin' parameter of the following scripts: mod_news/index.php, mod_news/goodies.php, and mod_search/index.php. An attacker can supply a remote URL to the 'chemin' parameter, causing the application to include and execute arbitrary PHP code hosted on a remote server. This is due to insufficient input validation on user-supplied parameters.
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 target server, leading to full compromise of the affected web application and potentially the underlying system. Attackers can leverage this to install malware, steal data, or pivot to other systems.
Mitigation
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 to prevent remote file inclusion. Employ input validation to restrict the 'chemin' parameter to only allow local, expected values. Use web application firewalls to detect and block RFI attempts.
Remediation
Patch, then assume compromise.
Upgrade to a fixed version of PortailPhp 2, if available, that properly sanitizes and validates the 'chemin' parameter. If no patch is available, manually audit the affected scripts to ensure user input is not directly passed to include/require statements without proper validation and sanitization. Disable allow_url_fopen and allow_url_include in php.ini to reduce risk.
Exploits
No validated public exploits yet. Hidden: 4 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-0820 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2007-0820 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2007-0820?
- As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2007-0820. 4 candidate exploit records are not yet analyzed.
- Is there a patch for CVE-2007-0820?
- Upgrade to a fixed version of PortailPhp 2, if available, that properly sanitizes and validates the 'chemin' parameter. If no patch is available, manually audit the affected scripts to ensure user input is not directly passed to include/require statements without proper validation and sanitization.
- What products are affected by CVE-2007-0820?
- Cedric Claire Portailphp.
- How severe is CVE-2007-0820?
- CVE-2007-0820 has a CVSS v2 score of 7.5 (High) and an EPSS score of 8.4% (95th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.