- Advisory ID: DRUPAL-SA-CORE-2009-009
- Project: Drupal core
- Version: 5.x, 6.x
- Date: 2009-December-16
- Security risk: Not critical
- Exploitable from: Remote
- Vulnerability: Cross site scripting
Description
Multiple vulnerabilities were discovered in Drupal.
Contact category name cross-site scripting
The Contact module does not correctly handle certain user input when displaying category information. Users privileged to create contact categories can insert arbitrary HTML and script code into the contact module administration page. Such a cross-site scripting attack may lead to the malicious user gaining administrative access. Wikipedia has more information about cross-site scripting (XSS).
This issue affects Drupal 6.x and Drupal 5.x.
Menu description cross-site scripting
The Menu module does not correctly handle certain user input when displaying the menu administration overview. Users privileged to create new menus can insert arbitrary HTML and script code into the menu module administration page. Such a cross-site scripting attack may lead to the malicious user gaining administrative access. Wikipedia has more information about cross-site scripting (XSS).
This issue affects Drupal 6.x only.
Versions affected
- Drupal 5.x before version 5.21.
- Drupal 6.x before version 6.15.
Solution
Install the latest version:
- If you are running Drupal 6.x then upgrade to Drupal 6.15.
- If you are running Drupal 5.x then upgrade to Drupal 5.21.
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. Theses patches fix the security vulnerability, but do not contain other fixes which were released in Drupal 5.21 or Drupal 6.15.
- To patch Drupal 6.14 use SA-CORE-2009-009-6.14.patch.
- To patch Drupal 5.20 use SA-CORE-2009-009-5.20.patch.
Reported by
The contact category XSS issue was independently reported by mr.baileys and Justin Klein Keane.
The menu description XSS issue was reported by mr.baileys.
Fixed by
The contact category XSS issue was fixed by Justin Klein Keane and Dave Reid.
The menu description XSS issue was fixed by Gábor Hojtsy and Heine Deelstra.
Contact
The security team for Drupal can be reached at security at drupal.org or via the form at http://drupal.org/contact.