Symphony CMS Multiple Cross-Site Scripting and SQL Injection Vulnerabilities
Description
Mesut Timur has discovered multiple vulnerabilities in Symphony CMS, 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 "profile" parameter to the URL is not properly sanitised in extensions/profiledevkit/content/content.profile.php before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
2) Input passed via the "filter" parameter to symphony/publish/images is not properly sanitised in symphony/lib/core/class.symphony.php before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
3) Input passed via the "filter" parameter to symphony/publish/comments is not properly sanitised in symphony/content/content.publish.php before being used in a SQL query. 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.
Successful exploitation of this vulnerability requires "Author" privileges.
The vulnerabilities are confirmed in version 2.2.3. Prior versions may also be affected.