[Security announcements] SA-CORE-2009-001 Drupal core - Multiple vulnerabilities


* Advisory ID: DRUPAL-SA-CORE-2009-001

* Project: Drupal core

* Versions: 5.x and 6.x

* Date: 2009-January-14

* Security risk: Moderately Critical

* Exploitable from: Remote

* Vulnerability: Multiple vulnerabilities

Multiple vulnerabilities and weaknesses were discovered in Drupal.


The Content Translation module for Drupal 6.x enables users to make a
translation of an existing item of content (a node). In that process the
existing node's content is copied into the new node's submission form.

The module contains a flaw that allows a user with the 'translate content'
permission to potentially bypass normal viewing access restrictions, for example
allowing the user to see the content of unpublished nodes even if they do not
have permission to view unpublished nodes.

This issue only affects Drupal 6.x.


When user profile pictures are enabled, the default user profile validation
function will be bypassed, possibly allowing invalid user names or e-mail
addresses to be submitted.

This issue only affects Drupal 6.x.


A parameter passed into the node access API was not properly escaped or
validated before being used in SQL queries. While there is no direct risk of
SQL injection from Drupal core, it's possible that this could have presented a
risk in combination with a contributed module. Additional validation has been
added to eliminate this risk.

This issue affects both Drupal 5.x and Drupal 6.x.


* Drupal 5.x before version 5.15.

* Drupal 6.x before version 6.9.

---- SOLUTION ----

Install the latest version:

* If you are running Drupal 5.x then upgrade to Drupal 5.15 [
http://ftp.drupal.org/files/projects/drupal-5.15.tar.gz ].

* If you are running Drupal 6.x then upgrade to Drupal 6.9 [
http://ftp.drupal.org/files/projects/drupal-6.9.tar.gz ].

If you are unable to upgrade immediately, you can apply a patch to secure your
installation until you are able to do a proper upgrade. The patches fix security
vulnerabilities, but do not contain other fixes which were released in these

* To patch Drupal 5.14 use SA-CORE-2009-001-5.14.patch [
http://drupal.org/files/sa-core-2009-001/SA-CORE-2009-001-5.14.patch ].

* To patch Drupal 6.8 use SA-CORE-2009-001-6.8.patch [
http://drupal.org/files/sa-core-2009-001/SA-CORE-2009-001-6.8.patch ].

---- REPORTED BY ----

The access bypass issue for translations was reported by Wolfgang Ziegler [
http://drupal.org/user/16747 ].

The validation bypass was reported by v1nce [ http://drupal.org/user/52144 ],
supersmashbrothers [ http://drupal.org/user/241667 ], Tejus Pratap [
http://drupal.org/user/360600 ], and Limiting Factor [
http://drupal.org/user/373498 ].

The need for SQL hardening was reported by Derek Wright [
http://drupal.org/user/46549 ] of the Drupal Security Team.

---- CONTACT ----

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

Unsubscribe from this newsletter: http://drupal.org/newsletter/confirm/remove/73ff60b93f11343t44