[Security-news] SA-CONTRIB-2009-011 Tasklist - SQL injection and Cross site scripting

security-news at drupal.org security-news at drupal.org
Wed Mar 18 21:10:09 UTC 2009


 * Advisory ID: DRUPAL-SA-CONTRIB-2009-011
 * Project: Tasklist (third-party module)
 * Version: 5.x
 * Date: 2009 March 18
 * Security risk: Highly critical
 * Exploitable from: Remote
 * Vulnerability: SQL injection and Cross-site scripting (XSS)

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

Tasklist does not properly use the Drupal database API and inserts values
from the URL directly into queries. This can be exploited to perform SQL
Injection attacks [1]. These attacks may lead to a malicious user gaining
full administrator access. In addition, Tasklist allows users to add CSS to
pages. This CSS was not restricted or filtered, allowing malicious users to
insert arbitrary HTML and script code into these pages. Such a cross site
scripting [2] (XSS) attack may also lead to a malicious user gaining full
administrative access.

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

 * Tasklist 5.x-1.x prior to 5.x-1.3
 * Tasklist 5.x-2.x prior to 5.x-2.0-alpha1

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

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

Install the latest version:

 * If you use Tasklist 5.x-1.x upgrade to Tasklist 5.x-1.3 [3]
 * If you use Tasklist 5.x-2.x (development snapshots) upgrade to Tasklist
   5.x-2.0-alpha1 [4]

Tasklist for Drupal 4.7.x is no longer supported.

See also the Tasklist project page [5].

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

John Morahan of the Drupal Security Team [6].

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

Stéphane Corlosquet of the Drupal Security Team [7].

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

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


[1] http://en.wikipedia.org/wiki/Sql_injection
[2] http://en.wikipedia.org/wiki/Cross-site_scripting
[3] http://drupal.org/node/406482
[4] http://drupal.org/node/406488
[5] http://drupal.org/project/tasks
[6] http://drupal.org/security-team
[7] http://drupal.org/security-team
[8] http://drupal.org/contact


More information about the Security-news mailing list