CVE-2009-4717

medium
Published 2010-03-15 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
5.3

Description

Multiple cross-site scripting (XSS) vulnerabilities in Gonafish WebStatCaffe allow remote attackers to inject arbitrary web script or HTML via the (1) host parameter to stat/host.php, nodayshow parameter to (2) mostvisitpage.php and (3) visitorduration.php in stat/, (4) nopagesmost parameter to stat/mostvisitpagechart.php, and date parameter to (5) pageviewers.php, (6) pageviewerschart.php, and (7) referer.php in stat/.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-34677 webapps php verified text ยท 1 KB
Moudi ยท 2009-08-29

WebStatCaffe - '/stat/pageviewers.php?date' Cross-Site Scripting

text exploit Source: Exploit-DB
source: https://www.securityfocus.com/bid/43339/info
   
Gonafish WebStatCaffe is prone to multiple cross-site scripting vulnerabilities because it fails to properly sanitize user-supplied input.
   
An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks.
   
http://www.example.com/webstat/stat/pageviewers.php?date=1>&#039;><ScRiPt %0A%0D>alert(409241484347)%3B</ScRiPt>
EDB-34678 webapps php verified
Moudi ยท 2009-08-29

WebStatCaffe - '/stat/pageviewerschart.php?date' Cross-Site Scripting

Source code queued for fetch โ€” refresh in a moment.
EDB-34679 webapps php verified
Moudi ยท 2009-08-29

WebStatCaffe - '/stat/referer.php?date' Cross-Site Scripting

Source code queued for fetch โ€” refresh in a moment.
EDB-34675 webapps php verified
Moudi ยท 2009-08-29

WebStatCaffe - '/stat/visitorduration.php?nodayshow' Cross-Site Scripting

Source code queued for fetch โ€” refresh in a moment.
EDB-34674 webapps php verified
Moudi ยท 2009-08-29

WebStatCaffe - '/stat/mostvisitpage.php?nodayshow' Cross-Site Scripting

Source code queued for fetch โ€” refresh in a moment.
EDB-34676 webapps php verified
Moudi ยท 2009-08-29

WebStatCaffe - '/stat/mostvisitpagechart.php?nopagesmost' Cross-Site Scripting

Source code queued for fetch โ€” refresh in a moment.

Application impact

VendorProductVersionsFixed
gonafishwebstatcaffe

References

CWEs

CWE-79

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.