Bit 5 Blog 8.1 - 'addcomment.php' HTML Injection

EDB-ID:

27085


Platform:

PHP

Published:

2006-01-16

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

Bit 5 Blog is prone to an HTML injection vulnerability. This issue is due to a failure in the application to properly sanitize user-supplied input before using it in dynamically generated content.

Attacker-supplied HTML and script code would be executed in the context of the affected Web site, potentially allowing for theft of cookie-based authentication credentials. An attacker could also exploit this issue to control how the site is rendered to the user; other attacks are also possible. 

The following proof of concept is available:
<a href=javascript:alert(123)>clickme</a>