CVE-2006-7127: Remote File Inclusion in JAF CMS 4.0 main_dir Parameter
- Vendor
- Salims Softhouse
JAF CMS versions 4.0 and 4.0 RC2 are vulnerable to remote file inclusion due to insufficient sanitization of the 'main_dir' parameter in 'forum/main.php' and 'forum/headlines.php'. This allows an attacker to specify a remote URL, resulting in the inclusion and execution of arbitrary PHP code hosted by the attacker.
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, leading to full compromise of the affected system, including the ability to read, modify, or delete data, escalate privileges, or use the server as a platform for further attacks.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the affected scripts, disable allow_url_fopen and allow_url_include in the PHP configuration, and use web application firewalls to block malicious requests exploiting the 'main_dir' parameter.
Remediation
Patch, then assume compromise.
Upgrade to a fixed version of JAF CMS where user-supplied input to the 'main_dir' parameter is properly validated and sanitized. Alternatively, apply vendor-supplied patches or manually sanitize input in the affected scripts to prevent remote file inclusion.
Exploits
No validated public exploits yet. Hidden: 2 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-7127 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2006-7127 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2006-7127?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2006-7127.
- Is there a patch for CVE-2006-7127?
- Upgrade to a fixed version of JAF CMS where user-supplied input to the 'main_dir' parameter is properly validated and sanitized. Alternatively, apply vendor-supplied patches or manually sanitize input in the affected scripts to prevent remote file inclusion.
- What products are affected by CVE-2006-7127?
- Salims Softhouse Jaf Cms.
- How severe is CVE-2006-7127?
- CVE-2006-7127 has a CVSS v2 score of 6.8 (Medium) and an EPSS score of 5.7% (93rd percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.