Pligg CMS Multiple Cross-Site Scripting and SQL Injection Vulnerabilities
Description
Multiple vulnerabilities have been reported in Pligg CMS, which can be exploited by malicious users to conduct SQL injection attacks and by malicious people to conduct cross-site scripting and SQL injection attacks.
1) Input passed to the "user" and "page" parameters in admin/admin_comments.php and admin/admin_links.php 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 context of an affected site.
2) Input passed to the "list" parameter in admin/admin_index.php (when "action" is set to "move" or "minimize") 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 context of an affected site.
3) Input passed to the "karma_username" POST parameter in module.php (when "module" is set to "karma" , "submit" is set to "Submit", and "karma_value" is set) is not properly sanitised in modules/karma/karma_main.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.
4) Input passed via the "list" parameter to admin/admin_index.php (when "id" and "top" are set and "action" is set to "move") is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
5) Input passed via the "display" parameter to admin/admin_index.php (when "id" is set and "action" is set to "minimize") is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
6) Input passed via the "enabled[]" POST parameter to admin/admin_users.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 vulnerabilities #4 through #6 requires "admin" privileges.
7) Input passed via the "msg_id" parameter to module.php (when "module" is set to "simple_messaging" and "view" is set to "delmsg", "reply", "viewsentmsg", or "viewmsg") is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
8) Input passed to the "edit" parameter in module.php (when "module" is set to "admin_language" and "mode" is set to "edit") 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 context of an affected site.
The vulnerabilities are reported in version 1.2.1. Prior versions may also be affected.