Two vulnerabilities have been discovered in KaiBB, which can be exploited by malicious people to conduct SQL injection attacks.
1) Input passed via the "forum" parameter to rss.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation of this vulnerability requires that "magic_quotes_gpc" is disabled.
2) Input appended to the URL after e.g. index.php is not properly sanitised in inc/header.php before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Note: This vulnerability can further be exploited to conduct cross-site scripting attacks via SQL error messages.
The vulnerabilities are confirmed in version 2.0.1. Other versions may also be affected.
Vulnerable Products
Vulnerable Software: KaiBB 2.x
Solution
Edit the source code to ensure that input is properly sanitised.