CuteNews 1.4.1 - 'show_news.php' Cross-Site Scripting

EDB-ID:

27252

Author:

imei

Type:

webapps

Platform:

PHP

Published:

2006-02-20

source: http://www.securityfocus.com/bid/16740/info

CuteNews is prone to a cross-site scripting vulnerability. This issue is due to a failure in the application to properly sanitize user-supplied input before including it in dynamically generated HTML content.

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

CuteNews version 1.4.1 is vulnerable to this issue; other versions may also be affected.

The following proof of concept was provided:

/cutenews/show_news.php?subaction=addcomment&id={aNewsId}&name={anExistantUserName}&show=%22%3E%3Cscript%3Ealert(�imei�)%3C/script%3E