SPHPBlog 0.4 - 'search.php' Cross-Site Scripting

Author: y3dips
type: webapps
platform: php
port: 0
date_added: 2005-04-14
date_updated: 2013-05-14
verified: 1
codes: CVE-2005-1135;OSVDB-15846
tags: 
aliases: 
screenshot_url: 
application_url: 

source: https://www.securityfocus.com/bid/13170/info

sphpBlog is affected by a cross-site scripting vulnerability. This issue is due to a failure in the application to properly sanitize user-supplied input.

An attacker may leverage this issue to have arbitrary script code executed in the browser of an unsuspecting user. This may facilitate the theft of cookie-based authentication credentials as well as other attacks.

This issue is reported to affect sphpBlog version 0.4.0; earlier versions may also be vulnerable.

http://www.example.com/sphpblog/search.php?q=[XSS]
http://www.example.com/sphpblog/search.php?q=%3Cmarquee%3Ewe+are+a+like%3C%2Fmarquee%3E
http://www.example.com/sphpblog/search.php?q=<a href=http://echo.or.id>echo</a>
↑