Home page logo
/

bugtraq logo Bugtraq mailing list archives

Multiple Cross-Site Scripting (XSS) in Claroline
From: High-Tech Bridge Security Research <advisory () htbridge com>
Date: Wed, 27 Nov 2013 12:32:59 +0100 (CET)

Advisory ID: HTB23179
Product: Claroline
Vendor: Claroline Consortium
Vulnerable Version(s): 1.11.8 and probably prior
Tested Version: 1.11.8
Advisory Publication:  October 23, 2013  [without technical details]
Vendor Notification: October 23, 2013 
Vendor Patch: November 7, 2013 
Public Disclosure: November 27, 2013 
Vulnerability Type: Cross-Site Scripting [CWE-79]
CVE Reference: CVE-2013-6267
Risk Level: Medium 
CVSSv2 Base Score: 4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
Solution Status: Fixed by Vendor
Discovered and Provided: High-Tech Bridge Security Research Lab ( https://www.htbridge.com/advisory/ ) 

-----------------------------------------------------------------------------------------------

Advisory Details:

High-Tech Bridge Security Research Lab discovered multiple vulnerabilities in Claroline, which can be exploited to 
perform Cross-Site Scripting (XSS) attacks against vulnerable web application visitors and administrators.


1) Cross-Site Scripting (XSS) in Claroline: CVE-2013-6267

1.1 The vulnerability exists due to insufficient sanitisation of user-supplied data in "box" HTTP GET parameter passed 
to "/claroline/messaging/messagebox.php" script. A remote attacker can trick a logged-in user to open a specially 
crafted link and execute arbitrary HTML and script code in browser in context of the vulnerable website.

The exploitation example below uses the "alert()" JavaScript function to display "immuniweb" word:

http://[host]/claroline/messaging/messagebox.php?box=%22%3E%3Cscript%3Ealert%28%27imuniweb%27%29;%3C/script%3E


1.2 The vulnerability exists due to insufficient filtration of user-supplied data in "cidToEdit" HTTP GET parameter 
passed to "/claroline/admin/adminregisteruser.php" script. A remote attacker can trick a logged-in administrator to 
open a specially crafted link and execute arbitrary HTML and script code in browser in context of the vulnerable 
website.

The exploitation example below uses the "alert()" JavaScript function to display "immuniweb" word:

http://[host]/claroline/admin/adminregisteruser.php?cidToEdit=94102_001%22%3E%3Cscript%3Ealert%28%27imuniweb%27%29;%3C/script%3E


1.3 The vulnerability exists due to insufficient sanitisation of user-supplied data in "cidToEdit" HTTP GET parameter 
passed to "/claroline/admin/admin_user_course_settings.php" script. A remote attacker can trick a logged-in 
administrator to open a specially crafted link and execute arbitrary HTML and script code in browser in context of the 
vulnerable website.

The exploitation example below uses the "alert()" JavaScript function to display "immuniweb" word:

http://[host]/claroline/admin/admin_user_course_settings.php?ccfrom=culist&cidToEdit=94102%22%3E%3Cscript%3Ealert%28%27imuniweb%27%29;%3C/script%3E&uidToEdit=1


1.4 The vulnerability exists due to insufficient sanitisation of user-supplied data in "module_id" HTTP GET parameter 
passed to "/claroline/admin/module/module.php" script. A remote attacker can trick a logged-in administrator to open a 
specially crafted link and execute arbitrary HTML and script code in browser in context of the vulnerable website.

The exploitation example below uses the "alert()" JavaScript function to display "immuniweb" word:

http://[host]/claroline/admin/module/module.php?module_id=4%22%3E%3Cscript%3Ealert%28%27imuniweb%27%29;%3C/script%3E


1.5 The vulnerability exists due to insufficient sanitisation of user-supplied data in "offset" HTTP GET parameter 
passed to "/claroline/admin/right/profile_list.php" script. A remote attacker can trick a logged-in administrator to 
open a specially crafted link and execute arbitrary HTML and script code in browser in context of the vulnerable 
website.

The exploitation example below uses the "alert()" JavaScript function to display "immuniweb" word:

http://[host]/claroline/admin/right/profile_list.php?cmd=exLock&offset=0%22%3E%3Cscript%3Ealert%28%27imuniweb%27%29;%3C/script%3E

-----------------------------------------------------------------------------------------------

Solution:

Update to Claroline 1.11.9

More Information:
http://forum.claroline.net/viewtopic.php?f=88&t=26413
http://sourceforge.net/p/claroline/bugs/319/
http://sourceforge.net/p/claroline/code/14574/

-----------------------------------------------------------------------------------------------

References:

[1] High-Tech Bridge Advisory HTB23179 - https://www.htbridge.com/advisory/HTB23179 - Multiple Cross-Site Scripting 
(XSS) in Claroline.
[2] Claroline - http://www.claroline.net - Claroline is an Open Source software to easily deploy a platform for 
learning and collaboration online. 
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public 
use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE 
is a formal list of software weakness types.
[5] ImmuniWeb® - http://www.htbridge.com/immuniweb/ - is High-Tech Bridge's proprietary web application security 
assessment solution with SaaS delivery model that combines manual and automated vulnerability testing.

-----------------------------------------------------------------------------------------------

Disclaimer: The information provided in this Advisory is provided "as is" and without any warranty of any kind. Details 
of this Advisory may be updated in order to provide as accurate information as possible. The latest version of the 
Advisory is available on web page [1] in the References.


  By Date           By Thread  

Current thread:
  • Multiple Cross-Site Scripting (XSS) in Claroline High-Tech Bridge Security Research (Nov 27)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault