Description
|
|
Gjoko Krstic has discovered multiple vulnerabilities in AContent, which can be exploited by malicious users to conduct script insertion attacks and by malicious people to conduct cross-site scripting and SQL injection attacks.
1) Input passed via the "p" parameter to documentation/frame_header.php, the "password_error" parameter to register.php, the "oauth_token" and "oauth_callback" parameters to themes/default/login.tmpl.php, and the "id" parameter to themes/default/user/user_group_create_edit.tmpl.php and themes/default/language/language_add_edit.tmpl.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 appended to the URL after multiple scripts 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.
Examples:
http://[host]/themes/default/confirmmessage.tmpl.php
http://[host]/themes/default/course_category/index.tmpl.php
http://[host]/themes/default/language/index.tmpl.php
http://[host]/themes/default/language/language_add_edit.tmpl.php
http://[host]/themes/default/login.tmpl.php
http://[host]/themes/default/tests/create_edit_test.tmpl.php
http://[host]/themes/default/tests/question_cats_manage.tmpl.php
http://[host]/themes/default/tests/questions.tmpl.php
http://[host]/themes/default/user/index.tmpl.php
http://[host]/themes/default/user/user_group.tmpl.php
http://[host]/themes/default/user/user_group_create_edit.tmpl.php
3) Input passed via the "category_name" parameter to course_category/index.php is not properly sanitised before being displayed to the user. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site when the malicious data is being viewed.
Successful exploitation of this vulnerability requires "Course category management" permissions.
4) Input passed via the "id" parameter to user/user_create_edit.php, the "myown_patch_id" parameter to updater/patch_edit.php, and the "field" parameter to user/index_inline_editor_submit.php, updater/myown_patches_inline_editor_submit.php, and language/index_inline_editor_submit.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
5) Input passed via the "query" parameter to documentation/search.php, the "id" parameter to search.php, the "oauth_token" parameter to oauth/authorization.php, and the "consumer" parameter to oauth/register_consumer.php is not properly sanitised 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 1.1. Other versions may also be affected.
|