CVE-2007-0576: Remote File Inclusion in Xt-Stats xt_counter.php
- Vendor
- Xt-Stats
A remote file inclusion (RFI) vulnerability exists in xt_counter.php in Xt-Stats versions 2.3.x up to 2.4.0.b3. The vulnerability is due to insufficient sanitization of the 'server_base_dir' parameter, which allows an attacker to specify a remote URL. This can result in arbitrary PHP code execution on the server if a remote file containing malicious PHP code is included and executed.
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 affected server, potentially leading to full system compromise, data theft, or use of the server as a launchpad for further attacks.
Mitigation
If you can’t patch tonight, do this now.
As an immediate mitigation, disable allow_url_fopen and allow_url_include in the PHP configuration to prevent remote file inclusion. Restrict access to xt_counter.php and monitor for suspicious activity until a patch can be applied.
Remediation
Patch, then assume compromise.
Upgrade Xt-Stats to a version where this vulnerability is patched. Ensure that all user-supplied input is properly validated and sanitized, particularly parameters that are used in file inclusion operations.
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-2007-0576 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2007-0576 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2007-0576?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2007-0576.
- Is there a patch for CVE-2007-0576?
- Upgrade Xt-Stats to a version where this vulnerability is patched. Ensure that all user-supplied input is properly validated and sanitized, particularly parameters that are used in file inclusion operations.
- What products are affected by CVE-2007-0576?
- Xt-Stats.
- How severe is CVE-2007-0576?
- CVE-2007-0576 has a CVSS v2 score of 7.5 (High) and an EPSS score of 3.6% (90th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.