PHP-Fusion Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
Description
Janek "waraxe" Vind has discovered multiple vulnerabilities in PHP-Fusion, which can be exploited by malicious users to conduct SQL injection attacks and by malicious people to conduct cross-site scripting attacks.
1) Input passed via the "news_image", "news_image_t1", and "news_image_t2" POST parameters to administration/news.php is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation of this vulnerability requires the permission to administer news.
2) Input passed via the "article_id" POST parameter to administration/articles.php is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation of this vulnerability requires the permission to administer articles.
3) Input passed via the "highlight" GET parameter to forum/viewthread.php (when "thread_id" is set to a valid forum thread identifier) is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in the context of an affected site.
The vulnerabilities are confirmed in version 7.02.06. Prior versions may also be affected.