Author: Jon Oberheide Date: Sat, March 12th, 2005 Summary ======= Application: Phorum Vendor Website: http://www.phorum.org Affected Versions: <= 5.0.14 Type of Vulnerability: Cross Site Scripting (XSS) About Phorum ============ Phorum is a web based message board written in PHP. Phorum is designed with high-availability and visitor ease of use in mind. Features such as mailing list integration, easy customization and simple installation make Phorum a powerful add-in to any website. XSS Bug #1: Attachment Filename =============================== When posting a message in a thread, Phorum allows for file attachments of various types. When a user later views the thread containing the attachment, the filename is displayed. In file.php, the filename of the attachment is not sanitized before being output, leading to our XSS attack. Posting of an attachment with a filename such as: test