Seo Panel "website_id" and "lang_code" SQL Injection Vulnerabilities
Description
High-Tech Bridge SA has discovered two vulnerabilities in Seo Panel, which can be exploited by malicious users and malicious people to conduct SQL injection attacks.
1) Input passed via the "website_id" parameter to reports.php (when "sec" is set to "reportsum") is not properly sanitised in the "__getAllKeywords()" function in controllers/keyword.ctrl.php before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
2) Input passed via the "lang_code" parameter to e.g. index.php is not properly sanitised in the "assignLangCode()" function in libs/controller.class.php 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.
The vulnerabilities are confirmed in version 2.2.0. Other versions may also be affected.