CVE-2008-2556: SQL Injection in PHP Visit Counter read.php
- Vendor
- Hessel Brouwer
A SQL injection vulnerability exists in PHP Visit Counter 0.4 and earlier, specifically in the read.php script. The vulnerability is due to insufficient sanitization of the 'datespan' parameter when handling a 'read' action, allowing attackers to inject arbitrary SQL commands into database queries.
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 SQL commands against the backend database. This can lead to data leakage, data modification, or potentially full compromise of the application depending on database privileges.
Mitigation
If you can’t patch tonight, do this now.
As an immediate mitigation, apply input validation and sanitization on the 'datespan' parameter, and use prepared statements or parameterized queries to prevent SQL injection. Restrict database user privileges to minimize impact if exploitation occurs.
Remediation
Patch, then assume compromise.
Upgrade to a fixed version of PHP Visit Counter where input validation and parameterized queries are implemented for all user-supplied input, especially the 'datespan' parameter in read.php.
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.
Frequently asked questions
- Is CVE-2008-2556 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2008-2556 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2008-2556?
- As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2008-2556. 1 candidate exploit record is not yet analyzed.
- Is there a patch for CVE-2008-2556?
- Upgrade to a fixed version of PHP Visit Counter where input validation and parameterized queries are implemented for all user-supplied input, especially the 'datespan' parameter in read.php.
- What products are affected by CVE-2008-2556?
- Hessel Brouwer Php Visit Counter.
- How severe is CVE-2008-2556?
- CVE-2008-2556 has a CVSS v2 score of 7.5 (High) and an EPSS score of 0.93% (61st percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.