Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2007-2087: Multiple PHP remote file inclusion vulnerabilities in CNStats 2.12, when register_globals is enabled and .htac

49
This month
MEDIUM 6.8DOWNGRADE

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 score6.8 (Medium)
EPSS exploit chance1.9% (top 20%)
CISA exploited listNo
Published2007-04-18
Last modified2026-06-16
Publisher (CNA): MITRE · Vendor: cnstats

Share: LinkedIn · X · Reddit

Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

cnstats cnstats DOWNGRADE
Affected: 2.12
Fixed in: no fixed release known
Safe to downgrade to: a release before 2.12
1. Check installed version
apt-cache policy cnstats || rpm -q cnstats || cnstats --version
2. No fixed release: DOWNGRADE to a release before 2.12 (Debian / Ubuntu)
apt-cache madison cnstats sudo apt install cnstats=<VERSION_BEFORE_2.12> sudo apt-mark hold cnstats
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list cnstats sudo dnf downgrade cnstats-<VERSION_BEFORE_2.12> sudo dnf versionlock add cnstats
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
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

PHP vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.