Secunia Security Advisory - 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.
6bec2f06dacbe284ff37c56c17ea52f7edfd391ef0249ec01cea892ef47bb758
----------------------------------------------------------------------
The Secunia CSI 5.0 Beta - now available for testing
Find out more, take a free test drive, and share your opinion with us:
http://secunia.com/blog/242
----------------------------------------------------------------------
TITLE:
AContent Multiple Vulnerabilities
SECUNIA ADVISORY ID:
SA45560
VERIFY ADVISORY:
Secunia.com
http://secunia.com/advisories/45560/
Customer Area (Credentials Required)
https://ca.secunia.com/?page=viewadvisory&vuln_id=45560
RELEASE DATE:
2011-08-10
DISCUSS ADVISORY:
http://secunia.com/advisories/45560/#comments
AVAILABLE ON SITE AND IN CUSTOMER AREA:
* Last Update
* Popularity
* Comments
* Criticality Level
* Impact
* Where
* Solution Status
* Operating System / Software
* CVE Reference(s)
http://secunia.com/advisories/45560/
ONLY AVAILABLE IN CUSTOMER AREA:
* Authentication Level
* Report Reliability
* Secunia PoC
* Secunia Analysis
* Systems Affected
* Approve Distribution
* Remediation Status
* Secunia CVSS Score
* CVSS
https://ca.secunia.com/?page=viewadvisory&vuln_id=45560
ONLY AVAILABLE WITH SECUNIA CSI AND SECUNIA PSI:
* AUTOMATED SCANNING
http://secunia.com/vulnerability_scanning/personal/
http://secunia.com/vulnerability_scanning/corporate/wsus_sccm_3rd_third_party_patching/
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.
SOLUTION:
Edit the source code to ensure that input is properly sanitised.
PROVIDED AND/OR DISCOVERED BY:
Gjoko 'LiquidWorm' Krstic
ORIGINAL ADVISORY:
http://www.zeroscience.mk/en/vulnerabilities/ZSL-2011-5031.php
http://www.zeroscience.mk/en/vulnerabilities/ZSL-2011-5032.php
http://www.zeroscience.mk/en/vulnerabilities/ZSL-2011-5033.php
OTHER REFERENCES:
Further details available in Customer Area:
http://secunia.com/vulnerability_intelligence/
DEEP LINKS:
Further details available in Customer Area:
http://secunia.com/vulnerability_intelligence/
EXTENDED DESCRIPTION:
Further details available in Customer Area:
http://secunia.com/vulnerability_intelligence/
EXTENDED SOLUTION:
Further details available in Customer Area:
http://secunia.com/vulnerability_intelligence/
EXPLOIT:
Further details available in Customer Area:
http://secunia.com/vulnerability_intelligence/
----------------------------------------------------------------------
About:
This Advisory was delivered by Secunia as a free service to help
private users keeping their systems up to date against the latest
vulnerabilities.
Subscribe:
http://secunia.com/advisories/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
http://secunia.com/advisories/about_secunia_advisories/
Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.
----------------------------------------------------------------------