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

Drupal Entity API 7.x Access Bypass

Drupal Entity API 7.x Access Bypass
Posted Jan 9, 2014
Authored by Ezra Barnett Gildesgame, Clemens Tolboom | Site drupal.org

Drupal Entity API third party module version 7.x suffers from an access bypass vulnerability.

tags | advisory, bypass
SHA-256 | cb5f1d910f4c06f043f0923aadddd9e47be2671a79f4096660b730ebdba5e10e

Drupal Entity API 7.x Access Bypass

Change Mirror Download
View online: https://drupal.org/node/2169595

* Advisory ID: DRUPAL-SA-CONTRIB-2014-001
* Project: Entity API [1] (third-party module)
* Version: 7.x
* Date: 2014-January-08
* Security risk: Moderately critical [2]
* Exploitable from: Remote
* Vulnerability: Access bypass

-------- DESCRIPTION
---------------------------------------------------------

The Entity API module extends the entity API of Drupal core in order to
provide a unified way to deal with entities and their properties.

.... Comment, User and Node Statistics property access bypass

The module's entity wrapper access API doesn't sufficiently protect comment,
user and node statistics properties from unprivileged user access.

This vulnerability is mitigated by the fact that a module must be enabled
that relies on the Entity property access API and it must be configured to
expose either comment, user or node statistics properties. One example would
be the RESTful Web Services module (RESTWS) with the permission configured to
access the comment, user or node resource for untrusted web service
consumers.

.... Entity list property access bypass

The module's entity wrapper access API doesn't sufficiently check entity
access on referenced entities such as taxonomy terms.

This vulnerability is mitigated by the fact that a module must be enabled
that uses the access() method of entity metadata wrappers to determine access
to a property which references multiple entities to which access is not
granted. One example would be the RESTful Web Services module (RESTWS) with
respectively configured permissions on an entity property or (entity
reference) field, for example a list of (unaccessible) referenced user
entities on a node entity.

.... Unpublished comments access bypass

The module's entity_access() API doesn't protect unpublished comments from
being viewed by unprivileged users.

This vulnerability is mitigated by the fact a module must be enabled which
uses the provided entity access API on comments and the comment module must
be 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
---------------------------------------------------

* Entity API 7.x-1.x versions prior to 7.x-1.3.

Drupal core is not affected. If you do not use the contributed Entity API [4]
module, there is nothing you need to do.

-------- SOLUTION
------------------------------------------------------------

Install the latest version:

* If you use the Entity API module for Drupal 7.x, upgrade to Entity API
7.x-1.3 [5]

Also see the Entity API [6] project page.

-------- REPORTED BY
---------------------------------------------------------

* The Comment, User and Node Statistics property access bypass was reported
by Clemens Tolboom [7].
* The Entity list property access bypass was reported by Neil Drumm [8] of
the Drupal Security Team.
* The Unpublished comments access bypass was reported by Ezra Barnett
Gildesgame [9].

-------- FIXED BY
------------------------------------------------------------

* The Comment, User and Node Statistics property access bypass was fixed by
Klaus Purer [10] of the Drupal Security Team, Wolfgang Zieger [11] the
module maintainer, Clemens Tolboom [12] and Herman van Rink [13].
* The Entity list property access bypass was fixed by Wolfgang Zieger [14]
the module maintainer.
* The Unpublished comments access bypass was fixed by Klaus Purer [15] of
the Drupal Security Team and Jakob Perry [16].

-------- COORDINATED BY
------------------------------------------------------

* Klaus Purer [17] 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 [18].

Learn more about the Drupal Security team and their policies [19], writing
secure code for Drupal [20], and securing your site [21].

Follow the Drupal Security Team on Twitter at
https://twitter.com/drupalsecurity [22]


[1] http://drupal.org/project/entity
[2] http://drupal.org/security-team/risk-levels
[3] http://cve.mitre.org/
[4] http://drupal.org/project/entity
[5] https://drupal.org/node/2169589
[6] http://drupal.org/project/entity
[7] https://drupal.org/user/125814
[8] https://drupal.org/user/3064
[9] https://drupal.org/user/69959
[10] https://drupal.org/user/262198
[11] https://drupal.org/user/16747
[12] https://drupal.org/user/125814
[13] https://drupal.org/user/449000
[14] https://drupal.org/user/16747
[15] https://drupal.org/user/262198
[16] https://drupal.org/user/45640
[17] https://drupal.org/user/262198
[18] http://drupal.org/contact
[19] http://drupal.org/security-team
[20] http://drupal.org/writing-secure-code
[21] http://drupal.org/security/secure-configuration
[22] https://twitter.com/drupalsecurity

Login or Register to add favorites

File Archive:

July 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    27 Files
  • 2
    Jul 2nd
    10 Files
  • 3
    Jul 3rd
    35 Files
  • 4
    Jul 4th
    27 Files
  • 5
    Jul 5th
    18 Files
  • 6
    Jul 6th
    0 Files
  • 7
    Jul 7th
    0 Files
  • 8
    Jul 8th
    28 Files
  • 9
    Jul 9th
    44 Files
  • 10
    Jul 10th
    24 Files
  • 11
    Jul 11th
    25 Files
  • 12
    Jul 12th
    11 Files
  • 13
    Jul 13th
    0 Files
  • 14
    Jul 14th
    0 Files
  • 15
    Jul 15th
    28 Files
  • 16
    Jul 16th
    6 Files
  • 17
    Jul 17th
    34 Files
  • 18
    Jul 18th
    6 Files
  • 19
    Jul 19th
    34 Files
  • 20
    Jul 20th
    0 Files
  • 21
    Jul 21st
    0 Files
  • 22
    Jul 22nd
    0 Files
  • 23
    Jul 23rd
    0 Files
  • 24
    Jul 24th
    0 Files
  • 25
    Jul 25th
    0 Files
  • 26
    Jul 26th
    0 Files
  • 27
    Jul 27th
    0 Files
  • 28
    Jul 28th
    0 Files
  • 29
    Jul 29th
    0 Files
  • 30
    Jul 30th
    0 Files
  • 31
    Jul 31st
    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