• Advisory ID: DRUPAL-SA-CONTRIB-2010-041
  • Project: ImageField (third-party module)
  • Version: 6.x
  • Date: 2010-May-5
  • Security risk: Less Critical
  • Exploitable from: Remote
  • Vulnerability: Access Bypass

Description

ImageField provides a file upload field for CCK, allowing files to be attached to a node. ImageField intends to set a default extension of "png jpg gif" for all new fields, but may actually save an empty string allowing all of the "png jpg gif" extensions if an administrator does not save the field configuration page after creating a new field. Any ImageField that has been initially saved or edited with any extensions specified is not affected. This vulnerability is mitigated by the attacker needing permission to create or edit content with an unconfigured ImageField.

ImageField also creates thumbnails after uploading a new image. A second vulnerability is that this thumbnail is not properly checked for access if using the Private Downloads setting, allowing users that may not have access to view the full size image to still view the administrative thumbnail.

Versions affected

  • ImageField for Drupal 6.x versions prior to 6.x-3.3

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

Solution

Install the latest version.

Reported by

Fixed by

Contact

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