CVE-2007-0173: Directory Traversal in L2J Statistik Script 0.09 and earlier
- Vendor
- L2j
A directory traversal vulnerability exists in index.php of L2J Statistik Script 0.09 and earlier. When PHP's register_globals is enabled and magic_quotes is disabled, remote attackers can include and execute arbitrary local files via directory traversal sequences (..), passed through the 'page' parameter. This can be exploited by injecting PHP code into a local file, such as an Apache log, which is then included and executed by index.php.
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 with the privileges of the web server, leading to full compromise of the affected system. Attackers can leverage this to gain unauthorized access, escalate privileges, or further pivot within the network.
Mitigation
If you can’t patch tonight, do this now.
As an immediate mitigation, disable register_globals and enable magic_quotes in the PHP configuration. Restrict access to log files and other sensitive files that could be included. Employ web application firewalls to block malicious requests exploiting directory traversal patterns.
Remediation
Patch, then assume compromise.
Upgrade to a fixed version of L2J Statistik Script that properly sanitizes user input and does not rely on insecure PHP configurations. Ensure that register_globals is disabled and magic_quotes is enabled, or, preferably, use input validation and sanitization to prevent directory traversal and file inclusion attacks.
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-0173 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2007-0173 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2007-0173?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2007-0173.
- Is there a patch for CVE-2007-0173?
- Upgrade to a fixed version of L2J Statistik Script that properly sanitizes user input and does not rely on insecure PHP configurations. Ensure that register_globals is disabled and magic_quotes is enabled, or, preferably, use input validation and sanitization to prevent directory traversal and file inclusion attacks.
- What products are affected by CVE-2007-0173?
- L2j Statistik Script.
- How severe is CVE-2007-0173?
- CVE-2007-0173 has a CVSS v2 score of 6.8 (Medium) and an EPSS score of 2.6% (86th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.