Visit our newest sister site!
Hundreds of free aircraft flight manuals
Civilian • Historical • Military • Declassified • FREE!


TUCoPS :: Web :: Apps :: b06-2037.htm

OpenFAQ - HTML injection and XSS (Cross Site Scripting)



OpenFAQ - HTML injection and XSS (Cross Site Scripting)
OpenFAQ - HTML injection and XSS (Cross Site Scripting)



Script: OpenFAQ
Version: 0.4.0 previous version probably too.
Language: PHP
Problem: HTML injection and XSS (Cross Site Scripting)
Vendor: http://sourceforge.net/projects/openfaq 
Discovered by: Kamil 'K3' Sienicki

Description:
OpenFAQ is a PHP application that lets Webmasters 
administrate a Frequently Asked Questions section on their Web site. 
It has an admin section for easily adding questions and answers and 
editing the general configuration.

Problem:
A remote user can send via form a specially crafted data.
When admin try to validate questions in administration panel, 
specially crafted data will be executed.

Example exploit:
action=http://host/openfaq-0.4.0/submit.php?ask=go method=post> value="">
Example fix: file validate.php 35 while ($row = mysql_fetch_array($get_new)) { 36 echo "".htmlspecialchars($row[question])." ($lang[delete], $lang[editpublish])
"; 37 } 38 } -- Kamil 'K3' Sienicki


TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2014 AOH