MyBB 1.0.1/1.0.2 Notepad - 'usercp.php' HTML Injection
Author: Roozbeh Afrasiabi
type: webapps
platform: php
port:
date_added: 2006-01-24
date_updated: 2013-07-27
verified: 1
codes: CVE-2006-0442;OSVDB-22737
tags:
aliases:
screenshot_url:
application_url:
source: https://www.securityfocus.com/bid/16361/info
MyBB is prone to an HTML-injection vulnerability. This issue is due to a lack of proper sanitization of 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 website, 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:
http://www.example.com/usercp.php?action=notepad
notepad=</textarea><script>alert(document.cookie)</script>