PHP-FUSION "FUSION_QUERY" Cross-Site Scripting Vulnerability

Monday, 2 July 2007

Discovered: 05-12-06 21:05
Released: 03-28-07


nights_shadow has discovered a vulnerability in PHP-FUSION, which could be exploited by malicious people to conduct cross-site scripting attacks.

Input passed to the URL is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

The vulnerability has been confirmed in version 6.01.10, and reported in version 6.01.9. Other versions may also be affected.

The script "infusions/shoutbox_panel/shoutbox_panel.php" triggers the vulnerability:

echo "<form name='chatform' method='post' action='".FUSION_SELF.(FUSION_QUERY ? "?".str_replace("&","&amp;",FUSION_QUERY) : "")."'>


define("FUSION_QUERY", (isset($_SERVER['QUERY_STRING']) ? $_SERVER['QUERY_STRING'] : ""));

Proof of concept:

No patch.

Edit the scripts to filter the input.


Share this content:
Home | News | Articles | Advisories | Submit | Alerts | Links | What is XSS | About | Contact | Some Rights Reserved.