Secunia Research: Drupal Color Module Script Insertion Vulnerability

====================================================================== 
 
                    Secunia Research 27/05/2011

     - Drupal Color Module Script Insertion Vulnerability -


====================================================================== 
Table of Contents

Affected Software....................................................1
Severity.............................................................2
Vendor's Description of Software.....................................3
Description of Vulnerability.........................................4
Solution.............................................................5
Time Table...........................................................6
Credits..............................................................7
References...........................................................8
About Secunia........................................................9
Verification........................................................10

====================================================================== 
1) Affected Software

* Drupal 6.20
* Drupal 7.0

NOTE: Other versions may also be affected.

====================================================================== 
2) Severity 

Rating: Less critical
Impact: Script Insertion
Where:  From remote

====================================================================== 
3) Vendor's Description of Software 

"Drupal is an open source content management platform powering 
millions of websites and applications. Itís built, used, and supported 
by an active and diverse community of people around the world."

Product Link:
http://www.drupal.org/

====================================================================== 
4) Description of Vulnerability

Secunia Research has discovered a vulnerability in Drupal, which can 
be exploited by malicious users to conduct script insertion attacks.

Input passed via the color scheme values in the Color module (e.g. 
"palette[bg]", "palette[text]", "palette[sideborders]", 
"palette[footer]", and "palette[titleslogan]") to index.php (when "q" 
is set to "admin/appearance/settings/bartik") when changing the color 
scheme is not properly sanitised before being used in a style sheet. 
This can be exploited to insert arbitrary script code, which is 
executed in a user's browser session in context of an affected site 
when viewing the malicious data.

Successful exploitation requires "Administer themes" privileges and 
a victim to use a browser that executes certain JavaScript statements 
from CSS files (e.g. Internet Explorer 6).

====================================================================== 
5) Solution 

Update to version 6.21 or 7.1.

====================================================================== 
6) Time Table 

28/04/2011 - Vendor notified. 
29/04/2011 - Vendor response.
11/05/2011 - Vendor provides status update.
25/05/2001 - Vendor releases updates.
27/05/2011 - Public disclosure.

====================================================================== 
7) Credits 

Discovered by Kasper Lindgaard, Secunia Research.

====================================================================== 
8) References

The Common Vulnerabilities and Exposures (CVE) project has not 
currently assigned a CVE identifier for the vulnerability.

====================================================================== 
9) About Secunia

Secunia offers vulnerability management solutions to corporate
customers with verified and reliable vulnerability intelligence
relevant to their specific system configuration:

http://secunia.com/advisories/business_solutions/

Secunia also provides a publicly accessible and comprehensive advisory
database as a service to the security community and private 
individuals, who are interested in or concerned about IT-security.

http://secunia.com/advisories/

Secunia believes that it is important to support the community and to
do active vulnerability research in order to aid improving the 
security and reliability of software in general:

http://secunia.com/secunia_research/

Secunia regularly hires new skilled team members. Check the URL below
to see currently vacant positions:

http://secunia.com/corporate/jobs/

Secunia offers a FREE mailing list called Secunia Security Advisories:

http://secunia.com/advisories/mailing_lists/

====================================================================== 
10) Verification 

Please verify this advisory by visiting the Secunia website:
http://secunia.com/secunia_research/2011-48/

Complete list of vulnerability reports published by Secunia Research:
http://secunia.com/secunia_research/

======================================================================