Description
|
|
Omar Kurt has discovered multiple vulnerabilities in CourseMS, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks.
1) Input passed via multiple parameters to multiple scripts is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
List of affected scripts and parameters:
<a href="http://[host]/login.php?login=1&username (POST)
" target="_blank">http://[host]/login.php?login=1&username (POST)
</a>
<a href="http://[host]/add_user.php?register=1&email (POST)
" target="_blank">http://[host]/add_user.php?register=1&email (POST)
</a>
<a href="http://[host]/forgotten_password.php?username (POST)
" target="_blank">http://[host]/forgotten_password.php?username (POST)
</a>
NOTE: This can further be exploited to bypass the authentication mechanism and e.g. log in as an administrative user.
2) Input passed via the "work_tel", "lastname", "email", "gmc_reg", "job_title", and "firstname" POST parameters to add_user.php (when "register" is set to an arbitrary value) 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 confirmed in version 2.2.1. Other versions may also be affected.
|