[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20130807185409.8C82622803A@www7.drupal.org>
Date: Wed, 7 Aug 2013 18:54:09 +0000 (UTC)
From: security-news@...pal.org
To: security-news@...pal.org
Subject: [Security-news] SA-CONTRIB-2013-062 - RESTful Web
Services (RESTWS) - Access Bypass
View online: https://drupal.org/node/2059603
* Advisory ID: DRUPAL-SA-CONTRIB-2013-062
* Project: RESTful Web Services [1] (third-party module)
* Version: 7.x
* Date: 2013-August-07
* Security risk: Moderately critical [2]
* Exploitable from: Remote
* Vulnerability: Access bypass
-------- DESCRIPTION
---------------------------------------------------------
This module enables you to expose Drupal entities as RESTful web services. It
provides a machine-readable interface to exchange resources in JSON, XML and
RDF.
The module doesn't sufficiently check for field level access when preforming
entity write operations on POST and PUT requests. It also does not check the
allowed filter formats for a user for formatted text fields, thereby allowing
an attacker to exploit XSS with a format that displays full HTML or even PHP
code execution with a PHP code format.
This vulnerability is mitigated by the fact that an attacker must have a role
with a RESTWS permission such as "access resource node" and a permission to
write entities such as "create page content". PHP code execution is only
possible if the PHP module is enabled.
-------- CVE IDENTIFIER(S) ISSUED
--------------------------------------------
* /A CVE identifier [3] will be requested, and added upon issuance, in
accordance with Drupal Security Team processes./
-------- VERSIONS AFFECTED
---------------------------------------------------
* RESTWS 7.x-1.x versions prior to 7.x-1.4.
* RESTWS 7.x-2.x versions prior to 7.x-2.1.
Drupal core is not affected. If you do not use the contributed
module, there is nothing you need to do.
-------- SOLUTION
------------------------------------------------------------
Install the latest version:
* If you use the RESTWS 1.x module for Drupal 7.x, upgrade to RESTWS 7.x-1.4
[4]
* If you use the RESTWS 2.x module for Drupal 7.x, upgrade to RESTWS 7.x-2.1
[5]
Also see the RESTful Web Services [6] project page.
-------- REPORTED BY
---------------------------------------------------------
* Chris Oden [7]
-------- FIXED BY
------------------------------------------------------------
* Klaus Purer [8] the module maintainer
* Chris Oden [9]
-------- COORDINATED BY
------------------------------------------------------
* Klaus Purer [10] 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 [11].
Learn more about the Drupal Security team and their policies [12], writing
secure code for Drupal [13], and securing your site [14].
[1] http://drupal.org/project/restws
[2] http://drupal.org/security-team/risk-levels
[3] http://cve.mitre.org/
[4] https://drupal.org/node/2059591
[5] https://drupal.org/node/2059593
[6] http://drupal.org/project/restws
[7] https://drupal.org/user/896508
[8] https://drupal.org/user/262198
[9] https://drupal.org/user/896508
[10] https://drupal.org/user/262198
[11] http://drupal.org/contact
[12] http://drupal.org/security-team
[13] http://drupal.org/writing-secure-code
[14] http://drupal.org/security/secure-configuration
_______________________________________________
Security-news mailing list
Security-news@...pal.org
Unsubscribe at http://lists.drupal.org/mailman/listinfo/security-news
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
Powered by blists - more mailing lists