=====================================================================
                                   CERT-Renater

                        Note d'Information No. 2010/VULN393
_____________________________________________________________________

DATE                      : 30/09/2010

HARDWARE PLATFORM(S)      : /

OPERATING SYSTEM(S)       : Debian running Moodle.

======================================================================
http://lists.debian.org/debian-security-announce/2010/msg00164.html
______________________________________________________________________
	
- - ------------------------------------------------------------------------
Debian Security Advisory DSA-2115-1                  security@debian.org
http://www.debian.org/security/                           Florian Weimer
September 29, 2010                    http://www.debian.org/security/faq
- - ------------------------------------------------------------------------

Package        : moodle
Vulnerability  : several
Problem type   : remote
Debian-specific: no
CVE Id(s)      : CVE-2010-1613 CVE-2010-1614 CVE-2010-1615 CVE-2010-1616 CVE-2010-1617 CVE-2010-1618 CVE-2010-1619 CVE-2010-2228 CVE-2010-2229 CVE-2010-2230 CVE-2010-2231

Several remote vulnerabilities have been discovered in Moodle, a
course management system.  The Common Vulnerabilities and Exposures
project identifies the following problems:

CVE-2010-1613
	Moodle does not enable the "Regenerate session id during
	login" setting by default, which makes it easier for remote
	attackers to conduct session fixation attacks.

CVE-2010-1614
	Multiple cross-site scripting (XSS) vulnerabilities allow
	remote attackers to inject arbitrary web script or HTML via
	vectors related to (1) the Login-As feature or (2) when the
	global search feature is enabled, unspecified global search
	forms in the Global Search Engine.

CVE-2010-1615
	Multiple SQL injection vulnerabilities allow remote attackers
	to execute arbitrary SQL commands via vectors related to (1)
	the add_to_log function in mod/wiki/view.php in the wiki
	module, or (2) "data validation in some forms elements"
	related to lib/form/selectgroups.php.

CVE-2010-1616
	Moodle can create new roles when restoring a course, which
	allows teachers to create new accounts even if they do not
	have the moodle/user:create capability.

CVE-2010-1617
	user/view.php does not properly check a role, which allows
	remote authenticated users to obtain the full names of other
	users via the course profile page.

CVE-2010-1618
	A Cross-site scripting (XSS) vulnerability in the phpCAS
	client library allows remote attackers to inject arbitrary web
	script or HTML via a crafted URL, which is not properly
	handled in an error message.

CVE-2010-1619
	A Cross-site scripting (XSS) vulnerability in the
	fix_non_standard_entities function in the KSES HTML text
	cleaning library (weblib.php) allows remote attackers to
	inject arbitrary web script or HTML via crafted HTML entities.

CVE-2010-2228
	A Cross-site scripting (XSS) vulnerability in the MNET
	access-control interface allows remote attackers to inject
	arbitrary web script or HTML via vectors involving extended
	characters in a username.

CVE-2010-2229
	Multiple cross-site scripting (XSS) vulnerabilities in
	blog/index.php allow remote attackers to inject arbitrary web
	script or HTML via unspecified parameters.

CVE-2010-2230
	The KSES text cleaning filter in lib/weblib.php does
	not properly handle vbscript URIs, which allows remote
	authenticated users to conduct cross-site scripting (XSS)
	attacks via HTML input.

CVE-2010-2231
	A Cross-site request forgery (CSRF) vulnerability in
	report/overview/report.php in the quiz module allows remote
	attackers to hijack the authentication of arbitrary users for
	requests that delete quiz attempts via the attemptid
	parameter.

This security update switches to a new upstream version and requires
database updates.  After installing the fixed package, you must visit
<http://localhost/moodle/admin/> and follow the update instructions.

For the stable distribution (lenny), these problems have been fixed in
version 1.8.13-1.

For the unstable distribution (sid), these problems have been fixed in
version 1.9.9.dfsg2-1.

We recommend that you upgrade your moodle package.

Upgrade instructions
- - --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 5.0 alias lenny
- - --------------------------------

Source archives:

  http://security.debian.org/pool/updates/main/m/moodle/moodle_1.8.13-1.diff.gz
    Size/MD5 checksum:    28065 3b8471da2c149cd07205d5be562ec9d0
  http://security.debian.org/pool/updates/main/m/moodle/moodle_1.8.13-1.dsc
    Size/MD5 checksum:     1574 b22f0cb9fc7853810dd6a63b24e86507
  http://security.debian.org/pool/updates/main/m/moodle/moodle_1.8.13.orig.tar.gz
    Size/MD5 checksum: 11288160 81b992fa4d53753c7bb30edc727075f4

Architecture independent packages:

  http://security.debian.org/pool/updates/main/m/moodle/moodle_1.8.13-1_all.deb
    Size/MD5 checksum:  9071096 464d7515853ad9d884aa2caf11b8e813


  These files will probably be moved into the stable distribution on
  its next update.

- - ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>
======================================================================

          =========================================================
          Les serveurs de référence du CERT-Renater
          http://www.urec.fr/securite
          http://www.cru.fr/securite
          http://www.renater.fr
          =========================================================
          + CERT-RENATER          | tel : 01-53-94-20-44          +
          + 151 bd de l'Hopital   | fax : 01-53-94-20-41          +
          + 75013 Paris           | email: certsvp@renater.fr     +
          =========================================================



