- Advisory ID: DRUPAL-SA-CONTRIB-2012-125
- Project: Chaos tool suite (ctools) (third-party module)
- Version: 6.x, 7.x
- Date: 2012-August-8
- Security risk: Critical
- Exploitable from: Remote
- Vulnerability: Local File Inclusion and Cross Site Scripting
Description
The Chaos tool suite is primarily a set of APIs and tools to improve the developer experience.
The module doesn't sufficiently validate css import statements to confirm they only include css content appropriate to show to end users. This could allow a malicious user to add sensitive content from the site (e.g. settings.php) exposing that sensitive content to visitors of the page. It could also be used to execute a Cross Site Scripting attack.
This vulnerability is party mitigated by the fact that an attacker must have a role with a permission to place custom CSS into a field. However, any user who can create or edit a node may have sufficient permissions to place the CSS depending on the site configuration.
CVE: Requested
Versions affected
- Chaos tool suite (ctools) 6.x-1.x versions prior to 6.x-1.9.
- Chaos tool suite (ctools) 7.x-1.x versions prior to 7.x-1.1.
Drupal core is not affected. If you do not use the contributed Chaos tool suite (ctools) module, there is nothing you need to do.
Solution
Install the latest version:
- If you use the Ctools module for Drupal 6.x, upgrade to Ctools 6.x-1.9
- If you use the Ctools module for Drupal 7.x, upgrade to Ctools 7.x-1.1
Also see the Chaos tool suite (ctools) project page.
Reported by
Fixed by
- Tim Plunkett a module maintainer
- John Morahan of the Drupal Security Team
Coordinated by
- John Morahan of the Drupal Security Team
- Heine Deelstra of the Drupal Security Team
- Greg Knaddison of the Drupal Security Team
Contact and More Information
The Drupal security team can be reached at security at drupal.org or via the contact form at http://drupal.org/contact.
Learn more about the Drupal Security team and their policies, writing secure code for Drupal, and securing your site.