CVE-2007-2087: Multiple PHP remote file inclusion vulnerabilities in CNStats 2.12, when register_globals is enabled and .htac
CVE-2007-2087 is a medium-severity flaw (CVSS 6.8) affecting cnstats. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Multiple PHP remote file inclusion vulnerabilities in CNStats 2.12, when register_globals is enabled and .htaccess is not recognized, allow remote attackers to execute arbitrary PHP code via a URL in the bn parameter to (1) who_r.php or (2) who_s.php in reports/. NOTE: the provenance of this information is unknown; the details are obtained solely from third party information.
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 6.8 (Medium) |
| EPSS exploit chance | 1.9% (top 20%) |
| CISA exploited list | No |
| Published | 2007-04-18 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2007-2087?
cnstats: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2007-2087 being exploited?
CVE-2007-2087 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2007-2087 affect?
CVE-2007-2087 affects cnstats. Severity is medium (CVSS 6.8). Multiple PHP remote file inclusion vulnerabilities in CNStats 2.12, when register_globals is enabled and .htaccess is not recognized, allow remote attackers to execute arbitrary PHP code via a URL in the bn parameter to (1) who_r.php or (2)
How urgent is CVE-2007-2087?
Priority 49/100. Public exploit reference
Software pages
Related CVEs
- CVE-2007-2086 MEDIUM 6.8 DOWNGRADE Multiple PHP remote file inclusion vulnerabilities in CNStats 2.9 allow remote attackers to execute arbitrary