Lucene search

K
drupalDrupal Security TeamDRUPAL-SA-CONTRIB-2014-001
HistoryJan 08, 2014 - 12:00 a.m.

SA-CONTRIB-2014-001 - Entity API - Access Bypass

2014-01-0800:00:00
Drupal Security Team
www.drupal.org
1

4 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:S/C:N/I:P/A:N

6.5 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

0.967 High

EPSS

Percentile

99.7%

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 (CVE-2014-1398)

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 (CVE-2014-1399)

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 (CVE-2014-1400)

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

  • CVE-2014-1398 (Comment, User and Node Statistics property access bypass)
  • CVE-2014-1399 (Entity list property access bypass)
  • CVE-2014-1400 (Unpublished comments access bypass)

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 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

Also see the Entity API project page.

Reported by

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

Fixed by

Coordinated by

4 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:S/C:N/I:P/A:N

6.5 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

0.967 High

EPSS

Percentile

99.7%

Related for DRUPAL-SA-CONTRIB-2014-001