Articles / Debian: New moodle packages...

Debian: New moodle packages fix several vulnerabilities

Several remote vulnerabilities have been discovered in Moodle, a course management system. 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. Multiple cross-site scripting (XSS) vulnerabilities allow remote attackers to inject arbitrary web script or HTML. Multiple SQL injection vulnerabilities allow remote attackers to execute arbitrary SQL commands. 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. 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.

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. 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. 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. Multiple cross-site scripting (XSS) vulnerabilities in blog/index.php allow remote attackers to inject arbitrary web script or HTML via unspecified parameters. 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. 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. Updated packages are available from security.debian.org.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- ------------------------------------------------------------------------
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>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQEcBAEBAgAGBQJMo6uhAAoJEL97/wQC1SS+VqwIAK4TXgqYD3xEec5cTjEtMhsC
yOwCH8Af9aJJG2MSWQjHRlJUm21oKwq162njI5WKIccgV1mohzOmGaWTnSmivyfS
HzO399SosoojEH7hUSpw3yb++owlKIpngLQvxb0UjpesXOec42p2UZpByQR3AR7m
9yXxm6zFEUWfgTNeqIY0hYEXol6C8JyDpH4jG20VK0mq5BmINWqH/Zwtm/RZMywY
4NjKM+4q8EMC9cnqhBOzUEh2Adsm1ImyUzEaYEE2KRgwjflMVBnvj7u7FpNVw5cp
oJ8wdwgDDxmSIz0jeI6m5ToeFEUtdhxmazXVs8y4OBPEQdSnj1EMozrmKh0s4dY=
=24bj
-----END PGP SIGNATURE——
Screenshot

Project Spotlight

Octopussy

A Perl/XML log analyzer, alerter, and reporter.

Screenshot

Project Spotlight

evince

A document viewer for PostScript, PDF, TIFF, DjVu, and other formats.