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

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

                    ESB-2008.1077 -- [Win][UNIX/Linux]
                Multiple vulnerabilities in Drupal modules
                             27 November 2008

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

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

Product:              User Karma
                      Comment Mail
Publisher:            Drupal
Operating System:     UNIX variants (UNIX, Linux, OSX)
                      Windows
Impact:               Execute Arbitrary Code/Commands
                      Cross-site Request Forgery
                      Cross-site Scripting
Access:               Remote/Unauthenticated

Original Bulletin:    http://drupal.org/node/339553
                      http://drupal.org/node/339495

Comment: This bulletin contains two (2) Drupal advisories.

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

- ------------SA-2008-071 - USER KARMA - MULTIPLE VULNERABILITIES------------

  * Advisory ID: DRUPAL-SA-2008-071

  * Project: User Karma

  * Versions: 5.x and 6.x

  * Date: 2008-November-26

  * Security risk: Moderately critical

  * Exploitable from: Remote

  * Vulnerability: SQL injection, Cross-site scripting (XSS)

- ------------DESCRIPTION------------

The User Karma module displays and manages karma points of users. How karma
points are calculated is defined by other modules which hook into the User Karma
module.

Unfortunately the User Karma module allows administrators to enter a list of
content types and voting API values which are then used directly in SQL queries
without being sanitized, enabling SQL injection attacks [
http://en.wikipedia.org/wiki/SQL_injection ] by malicious users. The module also
contains a cross site scripting attack [
http://en.wikipedia.org/wiki/Cross-site_scripting ] (XSS) vulnerability as some
messages are displayed without being sanitized.

- ------------VERSIONS AFFECTED------------

  * Versions of User Karma for Drupal 5.x prior to 5.x-1.13

  * Versions of User Karma for Drupal 6.x prior to 6.x-1.0-beta1

Drupal core is not affected. If you do not use the User Karma module, there is
nothing you need to do.

- ------------SOLUTION------------

Install the latest version.

  * If you use User Karma for Drupal 5.x upgrade to 5.x-1.13 [
http://drupal.org/node/339580 ]

  * If you use User Karma for Drupal 6.x upgrade to 6.x-1.0-beta1 [
http://drupal.org/node/339582 ]

Also see the User Karma project page [ http://drupal.org/project/user_karma ].

- ------------REPORTED BY------------

Stéphane Corlosquet (scor [ http://drupal.org/user/52142 ]) of the Drupal
security team.

- ------------CONTACT------------

The security contact for Drupal can be reached at security at drupal.org or via
the form at [ http://drupal.org/contact ] and by selecting the security issues
category.



- ------------SA-2008-070 - COMMENT MAIL - CROSS SITE REQUEST FORGERY------------

  * Advisory ID: DRUPAL-SA-2008-070

  * Project: Comment Mail

  * Versions: 5.x

  * Date: 2008-November-26

  * Security risk: Moderately critical

  * Exploitable from: Remote

  * Vulnerability: Cross site request forgery

- ------------DESCRIPTION------------

The Comment Mail module allows an email to be sent to the site administrator(s)
when new comments are posted. Links in the email allow for quick approval,
editing, deletion of the comment and/or banning of the poster's IP address.

Unfortunately some links are vulnerable to cross site request forgeries [
http://en.wikipedia.org/wiki/Cross-site_request_forgery ] (CSRF), making it
possible for malicious users to force administrators (or any user with the
"administer comments" permission) to unknowingly ban IP addresses and approve or
delete any comment.

- ------------VERSIONS AFFECTED------------

  * Comment Mail for Drupal 5.x prior to 5.x-1.1

Drupal core is not affected. If you do not use the Comment Mail module, there
is nothing you need to do.

- ------------SOLUTION------------

Install the latest version.

  * If you use Comment Mail upgrade to Comment Mail 5.x-1.1 [
http://drupal.org/node/339506 ].

Also see the Comment Mail project page [ http://drupal.org/project/commentmail
].

- ------------REPORTED BY------------

The module maintainer Maarten van Grootel (maartenvg [
http://drupal.org/user/109716 ])

- ------------CONTACT------------

The security contact for Drupal can be reached at security at drupal.org or via
the form at [ http://drupal.org/contact ] and by selecting the security issues
category.

- --------------------------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

iQCVAwUBSS38gSh9+71yA2DNAQK/twP9H7Gpdl+Q1ssVQdWgJ1wstvXyB7g993wP
ippzt6LGo/KpEYPamlzdDp01KLqLXcn/loIseomM5d3HQgUD2YTnzUzwfCttq8TI
Psgh1i2zPWSr8ZQ/2zg/+xWlr0Nx7l/63lClyCoNgGnfjVWlxcridrC1jAXEfTDY
QvY2I0AxC10=
=mCfN
-----END PGP SIGNATURE-----