CVE-2008-6074: Directory Traversal in phpcrs frame.php
- Vendor
- Phpcrs
CVE-2008-6074 is a directory traversal vulnerability in frame.php of phpcrs 2.06 and earlier. When the PHP configuration option magic_quotes_gpc is disabled, the importFunction parameter is not properly sanitized, allowing remote attackers to include and execute arbitrary local files by supplying directory traversal sequences (..).
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 code or commands on the server by including malicious local files, potentially leading to full compromise of the affected system.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to frame.php, validate and sanitize all user input, and consider disabling the importFunction parameter if not required. Employ web application firewalls to detect and block directory traversal attempts.
Remediation
Patch, then assume compromise.
Upgrade to a version of phpcrs where input validation is properly implemented for the importFunction parameter, or apply a patch that ensures user-supplied input is sanitized to prevent directory traversal. Additionally, ensure magic_quotes_gpc is enabled as a temporary workaround, though this is not a complete fix.
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-2008-6074 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2008-6074 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2008-6074?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2008-6074.
- Is there a patch for CVE-2008-6074?
- Upgrade to a version of phpcrs where input validation is properly implemented for the importFunction parameter, or apply a patch that ensures user-supplied input is sanitized to prevent directory traversal. Additionally, ensure magic_quotes_gpc is enabled as a temporary workaround, though this is not a complete fix.
- What products are affected by CVE-2008-6074?
- Phpcrs.
- How severe is CVE-2008-6074?
- CVE-2008-6074 has a CVSS v2 score of 5.1 (Medium) and an EPSS score of 2.0% (81st percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.