SA-2008-044 - Drupal core - Multiple vulnerabilities

Bug #249653 reported by Emanuele Gentili
256
Affects Status Importance Assigned to Milestone
drupal5 (Debian)
Fix Released
Unknown
drupal5 (Ubuntu)
Fix Released
Medium
Emanuele Gentili
Hardy
Fix Released
Medium
Emanuele Gentili
Intrepid
Fix Released
Medium
Emanuele Gentili

Bug Description

Multiple vulnerabities and weaknesses were discovered in Drupal. Neither of these are readily exploitable.
Cross site scripting

Free tagging taxonomy terms can be used to insert arbitrary script and HTML code (cross site scripting or XSS) on node preview pages. A successful exploit requires that the victim selects a term containing script code and chooses to preview the node. This issue affects Drupal 6.x only.

Some values from OpenID providers are output without being properly escaped, allowing malicious providers to insert arbitrary script and HTML code (XSS) into user pages. This issue affects Drupal 6.x only.

filter_xss_admin() has been hardened to prevent use of the object HTML tag in administrator input.
Cross site request forgeries

Translated strings (5.x, 6.x) and OpenID identities (6.x) are immediately deleted upon accessing a properly formatted URL, making such deletion vulnerable to cross site request forgeries (CSRF). This may lead to unintended deletion of translated strings or OpenID identities when a sufficiently privileged user visits a page or site created by a malicious person.
Session fixation

When contributed modules such as Workflow NG terminate the current request during a login event, user module is not able to regenerate the user's session. This may lead to a session fixation attack, when a malicious user is able to control another users' initial session ID. As the session is not regenerated, the malicious user may use the 'fixed' session ID after the victim authenticates and will have the same access. This issue affects both Drupal 5 and Drupal 6.
SQL injection

Schema API uses an inappropriate placeholder for 'numeric' fields enabling SQL injection when user-supplied data is used for such fields.This issue affects Drupal 6 only.
Versions affected

    * Drupal 5.x before version 5.8
    * Drupal 6.x before version 6.3

Revision history for this message
Emanuele Gentili (emgent) wrote :
Revision history for this message
Emanuele Gentili (emgent) wrote :

Intrepid fix uploaded with Debian Merge.

Revision history for this message
Emanuele Gentili (emgent) wrote :

emgent@amnistia:~$ rmadison drupal5
   drupal5 | 5.2-2ubuntu2 | gutsy/universe | source, all
   drupal5 | 5.2-2ubuntu2.2 | gutsy-security/universe | source, all
   drupal5 | 5.2-2ubuntu2.2 | gutsy-updates/universe | source, all
   drupal5 | 5.7-1ubuntu1 | hardy/universe | source, all
   drupal5 | 5.7-2ubuntu1 | intrepid/universe | source, all

Changed in drupal5:
assignee: nobody → emgent
importance: Undecided → Medium
status: New → Fix Released
assignee: nobody → emgent
importance: Undecided → Medium
status: New → In Progress
Changed in drupal5:
status: Unknown → Fix Released
Revision history for this message
Kees Cook (kees) wrote :

Building now, should be published shortly. Thanks!

Changed in drupal5:
status: In Progress → Fix Committed
Changed in drupal5:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.