Macworld.com - XSS vulnerability ---------------------------------------------- Type: Cross site scripting Rated as: Low Risk Date: June, 13th 2006 ---------------------------------------------- Credits: ---------------------------------------------- Discovered by: David "Aesthetico" Vieira-Kurz http://www.majorsecurity.de ---------------------------------------------- Vulnerability: ---------------------------------------------- I found a bug in the searchField of Macworld("http://macworld.com/search/"). Input passed to the "qt" parameter in "index.php" 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. Sending a malicious code will result a code working on the page that pops up... /search/index.php?qt=[XSS CODE HERE] Examples: ---------------------------------------------- /search/index.php?qt=script>alert("MajorSecurity") /search/index.php?qt=3Cscript%3Ealert(document.cookie)%3C/script%3E