Hash: SHA1

             AUSCERT External Security Bulletin Redistribution

    Moderation (Drupal third-party module): Cross-site Request Forgery
                               23 July 2009


        AusCERT Security Bulletin Summary

Product:           Moderation (Drupal third-party module)
Publisher:         Drupal
Operating System:  Windows
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Cross-site Request Forgery -- Remote/Unauthenticated
Resolution:        Upgrade

Original Bulletin: 

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

  * Advisory ID: DRUPAL-SA-CONTRIB-2009-045
  * Project: Moderation (third-party module)
  * Version: 5.x, 6.x
  * Date: 2009-07-22
  * Security risk: Less critical
  * Exploitable from: Remote
  * Vulnerability: Cross-site Request Forgery

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

The Moderation module uses Ajax to provide a dynamic moderation queue for
nodes and comments. The module is vulnerable to cross-site request forgeries
(CSRF [1]) via the AJAX hooks used to toggle the moderation bit. It allows a
non-administrative user to trick an admin into publishing arbitrary moderated
content by directing them to the url via link or image src, etc.

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

  * Moderation versions 5.x-1.x prior to 5.x-1.2
  * Moderation versions 6.x-1.x prior to 6.x-1.3

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

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

Install the latest version:
  * If you use Moderation versions for Drupal 5.x upgrade to Moderation
    version 5.x-1.2 [2]
  * If you use Moderation versions for Drupal 6.x upgrade to Moderation
    version 6.x-1.3 [3]

See also the Moderation [4] project page.

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

Ben Ford.

- -------- FIXED BY ------------------------------------------------------------

Stefan Auditor [5], the Moderation project maintainer, with assistance from
Ben Jeavons [6] of the Drupal Security Team [7]

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

The security team for Drupal can be reached at security at drupal.org or via
the form at http://drupal.org/contact.

[1] http://en.wikipedia.org/wiki/Csrf
[2] http://drupal.org/node/527866
[3] http://drupal.org/node/527864
[4] http://drupal.org/project/moderation
[5] http://drupal.org/user/28074
[6] http://drupal.org/user/91990
[7] http://drupal.org/security-team

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


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:


Australian Computer Emergency Response Team
The University of Queensland
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.
Comment: http://www.auscert.org.au/render.html?it=1967