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

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                ESB-2006.0265 -- [Win][UNIX/Linux][Debian]
              New moodle packages fix several vulnerabilities
                               10 April 2006

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           moodle
Publisher:         Debian
Operating System:  Debian GNU/Linux 3.1
                   UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact:            Execute Arbitrary Code/Commands
Access:            Remote/Unauthenticated
CVE Names:         CVE-2006-0806 CVE-2006-0410 CVE-2006-0147
                   CVE-2006-0146

Ref:               ESB-2006.0264

Original Bulletin: http://www.debian.org/security/2006/dsa-1030

Comment: This advisory references vulnerabilities in products which run on
         platforms other than Debian. It is recommended that administrators
         running moodle check for an updated version of the software for
         their operating system.

- --------------------------BEGIN INCLUDED TEXT--------------------

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

- - --------------------------------------------------------------------------
Debian Security Advisory DSA 1030-1                    security@debian.org
http://www.debian.org/security/                             Martin Schulze
April 8th, 2006                         http://www.debian.org/security/faq
- - --------------------------------------------------------------------------

Package        : moodle
Vulnerability  : several
Problem type   : remote
Debian-specific: no
CVE IDs        : CVE-2006-0146 CVE-2006-0147 CVE-2006-0410 CVE-2006-0806
BugTraq IDs    : 16187 16364 16720
Debian Bugs    : 349985 358872

Several vulnerabilities have been discovered in libphp-adodb, the
'adodb' database abstraction layer for PHP, which is embedded in
moodle, a course management system for online learning.  The Common
Vulnerabilities and Exposures project identifies the following
problems:

CVE-2006-0146

    Andreas Sandblad discovered that improper user input sanitisation
    results in a potential remote SQL injection vulnerability enabling
    an attacker to compromise applications, access or modify data, or
    exploit vulnerabilities in the underlying database implementation.
    This requires the MySQL root password to be empty.  It is fixed by
    limiting access to the script in question.

CVE-2006-0147

    A dynamic code evaluation vulnerability allows remote attackers to
    execute arbitrary PHP functions via the 'do' parameter.

CVE-2006-0410

    Andy Staudacher discovered an SQL injection vulnerability due to
    insufficient input sanitising that allows remote attackers to
    execute arbitrary SQL commands.

CVE-2006-0806

    GulfTech Security Research discovered multiple cross-site
    scripting vulnerabilities due to improper user-supplied input
    sanitisation.  Attackers can exploit these vulnerabilities to
    cause arbitrary scripts to be executed in the browser of an
    unsuspecting user's machine, or result in the theft of
    cookie-based authentication credentials.

The old stable distribution (woody) does not contain moodle packages.

For the stable distribution (sarge) these problems have been fixed in
version 1.4.4.dfsg.1-3sarge1.

For the unstable distribution these problems will be fixed soon.

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 3.1 alias sarge
- - --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/m/moodle/moodle_1.4.4.dfsg.1-3sarge1.dsc
      Size/MD5 checksum:      616 5d572ce0e8c11034e62fd3a20b0f9d67
    http://security.debian.org/pool/updates/main/m/moodle/moodle_1.4.4.dfsg.1-3sarge1.diff.gz
      Size/MD5 checksum:    12159 2868972a9a5b94eb9d8a2575e7fc4937
    http://security.debian.org/pool/updates/main/m/moodle/moodle_1.4.4.dfsg.1.orig.tar.gz
      Size/MD5 checksum:  9717561 50f0618c0711a7eed3725fea0dd45109

  Architecture independent components:

    http://security.debian.org/pool/updates/main/m/moodle/moodle_1.4.4.dfsg.1-3sarge1_all.deb
      Size/MD5 checksum:  9161960 caabcd722dd1a202e95d1bae8c751bf4


  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.2.2 (GNU/Linux)

iD8DBQFEN7ugW5ql+IAeqTIRAgbbAJ4voqxd3lQ4plpacKKLC+aBnkP4awCgl4r2
HHKkm1kTlYyKg6VmpXLOgTg=
=6hs9
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================

-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBRDm0TCh9+71yA2DNAQKTRgQAibEnj9rSzHaE4oJ5m7BcUM50WO9elt4V
uuILhfCnIiVXn1sfth7KR8/fHallwKgwn9EfqiDDGl4bS4weOtH52hXMEChH8KYm
O+qWJ8zFCicq8pPqgxuG4O1PMh3hriLrb75JrdKgSNMHVpAtFPPSPNBPibCaUkR/
oTguEWTKeS4=
=SdK5
-----END PGP SIGNATURE-----