- Advisory ID: DRUPAL-SA-CONTRIB-2012-130
- Project: Javascript Tool (third-party module)
- Version: 7.x
- Date: 2012-August-29
- Security risk: Highly critical
- Exploitable from: Remote
- Vulnerability: Multiple vulnerabilities
Description
Javascript Tool enables administrators to edit any javascript file online from an admin panel.
The module does not protect its menu paths, which contain sensitive information about all javascript files on the site and their contents.
The module does not validate filenames which can lead to potential read/write access to arbitrary files on the server.
Write access to files is mitigated by the fact that an attacker must have the permission to use the full_html text format.
CVE: Requested
Versions affected
- Javascript Tool 7.x-1.x versions prior to 7.x-1.7.
Drupal core is not affected. If you do not use the contributed Javascript Tool module, there is nothing you need to do.
Solution
Install the latest version:
- If you use the Javascript Tool module for Drupal 7.x, upgrade to Javascript Tool 7.x-1.7
Also see the Javascript Tool project page.
Reported by
- Klaus Purer of the Drupal Security Team
Fixed by
- drupwash the module maintainer
Coordinated by
- Klaus Purer 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.