what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Drupal RESTful Web Services 7.x Access Bypass

Drupal RESTful Web Services 7.x Access Bypass
Posted Aug 8, 2013
Authored by Chris Oden | Site drupal.org

Drupal RESTful Web Service third party module version 7.x suffer from a remote access bypass vulnerability.

tags | advisory, remote, web, bypass
SHA-256 | 44976492ccf59db238880406de2d2b95d0c6019dc79d634c3bdf3770e3571cba

Drupal RESTful Web Services 7.x Access Bypass

Change Mirror Download
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

Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close