CuteNews 0.88/1.3 - 'show_archives.php' Cross-Site Scripting

EDB-ID:

24240


Platform:

PHP

Published:

2004-06-28

source: http://www.securityfocus.com/bid/10620/info
  
It is reported that CuteNews is affected by multiple cross-site scripting vulnerabilities. These issues are due to a failure of the application to properly sanitize user-supplied URI input.
  
The problems present themselves when malicious HTML and script code is sent to the application through the 'id' parameter of the multiple scripts.
  
These issues could permit a remote attacker to create a malicious URI link that includes hostile HTML and script code. If this link were followed, the hostile code may be rendered in the web browser of the victim user. 

http://www.example.com/show_archives.php?subaction=showcomments&id=<script>alert(document.cookie);</script>&archive=&start_from=&ucat=&&archive=&start_from=&ucat=&