CVE-2006-5186: Remote File Inclusion in phpMyProfiler functions.php
- Vendor
- Phpmyprofiler
A remote file inclusion vulnerability exists in functions.php in phpMyProfiler 0.9.6 and earlier. When the PHP configuration option register_globals is enabled, the pmp_rel_path parameter is not properly sanitized, allowing remote attackers to include and execute arbitrary PHP code from a remote URL.
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 system.
Mitigation
If you can’t patch tonight, do this now.
Disable register_globals in the PHP configuration. Restrict access to the application and use input validation to prevent remote file inclusion via user-supplied parameters.
Remediation
Patch, then assume compromise.
Upgrade to a version of phpMyProfiler that addresses this vulnerability. Alternatively, ensure that register_globals is disabled in the PHP configuration and validate/sanitize all user-supplied input.
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-2006-5186 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2006-5186 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2006-5186?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2006-5186.
- Is there a patch for CVE-2006-5186?
- Upgrade to a version of phpMyProfiler that addresses this vulnerability. Alternatively, ensure that register_globals is disabled in the PHP configuration and validate/sanitize all user-supplied input.
- What products are affected by CVE-2006-5186?
- Phpmyprofiler.
- How severe is CVE-2006-5186?
- CVE-2006-5186 has a CVSS v2 score of 5.1 (Medium) and an EPSS score of 4.1% (91st percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.