The Drupal Javascript Tool third party module version 7.x suffers from arbitrary file read/write vulnerabilities.
e02ef3ccf27e4f564910015871b5f3c64d0c0b61f5abacae649058ac616d08ef
View online: http://drupal.org/node/1762220
* Advisory ID: DRUPAL-SA-CONTRIB-2012-130
* Project: Javascript Tool [1] (third-party module)
* Version: 7.x
* Date: 2012-August-29
* Security risk: Highly critical [2]
* 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 [3] 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 [4]
Also see the Javascript Tool [5] project page.
-------- REPORTED BY
---------------------------------------------------------
* Klaus Purer [6] of the Drupal Security Team
-------- FIXED BY
------------------------------------------------------------
* drupwash [7] the module maintainer
-------- COORDINATED BY
------------------------------------------------------
* Klaus Purer [8] 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 [9].
Learn more about the Drupal Security team and their policies [10], writing
secure code for Drupal [11], and securing your site [12].
[1] http://drupal.org/project/jstool
[2] http://drupal.org/security-team/risk-levels
[3] http://drupal.org/project/jstool
[4] http://drupal.org/node/1759538
[5] http://drupal.org/project/jstool
[6] http://drupal.org/user/262198
[7] http://drupal.org/user/1652472
[8] http://drupal.org/user/262198
[9] http://drupal.org/contact
[10] http://drupal.org/security-team
[11] http://drupal.org/writing-secure-code
[12] http://drupal.org/security/secure-configuration