XSS Vulnerability in Siteframe 5.0.1

In search.php, an unmodified $_GET variable is assigned to a Smarty variable, where it can be displayed on a page. A malicious intruder could insert evil Javascript into the query string and execute it from the page.

IMMEDIATE FIX

On line 64 of search.php, wrap the $_GET['q'] in the htmlentities() function:

    $PAGE->assign('search_string', htmlentities($_GET['q']));

This will convert tags to HTML character entities and prevent the code from being executable on the target machine.

This fix will be included in Siteframe 5.0.2, but you should make this change immediately in the meantime.

See here for more details.

Kiki
by Kiki / at 09:19 on February 12, 2006

Ehehe, I see that my signalling has worked ;)

http://www.kiki91.altervista.org