Subrion CMS Cross-Site Scripting and SQL Injection vulnerabilities
Description
High-Tech Bridge has discovered multiple vulnerabilities in Subrion CMS, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks.
1) Input passed via the "plan_id" POST parameter to /register/ is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
2) Input passed via the "id" parameter to admin/accounts/edit/, admin/manage/fields/edit/, and admin/manage/blocks/edit/, and "group" parameter to admin/configuration/is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in user's browser session in context of an affected website.
The vulnerabilities are confirmed in version 2.2.1. Other versions may also be affected.