CVE Vulnerabilities

CVE-2016-3165

Improper Access Control

Published: Apr 12, 2016 | Modified: Apr 13, 2016
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:P/A:N
RedHat/V2
RedHat/V3
Ubuntu
UNTRIAGED

The Form API in Drupal 6.x before 6.38 ignores access restrictions on submit buttons, which might allow remote attackers to bypass intended access restrictions by leveraging permission to submit a form with a button that has #access set to FALSE in the server-side form definition.

Weakness

The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.

Affected Software

Name Vendor Start Version End Version
Drupal Drupal 6.0 (including) 6.0 (including)
Drupal Drupal 6.0-beta1 (including) 6.0-beta1 (including)
Drupal Drupal 6.0-beta2 (including) 6.0-beta2 (including)
Drupal Drupal 6.0-beta3 (including) 6.0-beta3 (including)
Drupal Drupal 6.0-beta4 (including) 6.0-beta4 (including)
Drupal Drupal 6.0-dev (including) 6.0-dev (including)
Drupal Drupal 6.0-rc1 (including) 6.0-rc1 (including)
Drupal Drupal 6.0-rc2 (including) 6.0-rc2 (including)
Drupal Drupal 6.0-rc3 (including) 6.0-rc3 (including)
Drupal Drupal 6.0-rc4 (including) 6.0-rc4 (including)
Drupal Drupal 6.1 (including) 6.1 (including)
Drupal Drupal 6.2 (including) 6.2 (including)
Drupal Drupal 6.3 (including) 6.3 (including)
Drupal Drupal 6.4 (including) 6.4 (including)
Drupal Drupal 6.5 (including) 6.5 (including)
Drupal Drupal 6.6 (including) 6.6 (including)
Drupal Drupal 6.7 (including) 6.7 (including)
Drupal Drupal 6.8 (including) 6.8 (including)
Drupal Drupal 6.9 (including) 6.9 (including)
Drupal Drupal 6.10 (including) 6.10 (including)
Drupal Drupal 6.11 (including) 6.11 (including)
Drupal Drupal 6.12 (including) 6.12 (including)
Drupal Drupal 6.13 (including) 6.13 (including)
Drupal Drupal 6.14 (including) 6.14 (including)
Drupal Drupal 6.15 (including) 6.15 (including)
Drupal Drupal 6.16 (including) 6.16 (including)
Drupal Drupal 6.17 (including) 6.17 (including)
Drupal Drupal 6.18 (including) 6.18 (including)
Drupal Drupal 6.19 (including) 6.19 (including)
Drupal Drupal 6.20 (including) 6.20 (including)
Drupal Drupal 6.21 (including) 6.21 (including)
Drupal Drupal 6.22 (including) 6.22 (including)
Drupal Drupal 6.23 (including) 6.23 (including)
Drupal Drupal 6.24 (including) 6.24 (including)
Drupal Drupal 6.25 (including) 6.25 (including)
Drupal Drupal 6.26 (including) 6.26 (including)
Drupal Drupal 6.27 (including) 6.27 (including)
Drupal Drupal 6.28 (including) 6.28 (including)
Drupal Drupal 6.29 (including) 6.29 (including)
Drupal Drupal 6.30 (including) 6.30 (including)
Drupal Drupal 6.31 (including) 6.31 (including)
Drupal Drupal 6.32 (including) 6.32 (including)
Drupal Drupal 6.33 (including) 6.33 (including)
Drupal Drupal 6.34 (including) 6.34 (including)
Drupal Drupal 6.35 (including) 6.35 (including)
Drupal Drupal 6.36 (including) 6.36 (including)
Drupal Drupal 6.37 (including) 6.37 (including)
Drupal6 Ubuntu precise *
Drupal6 Ubuntu upstream *

Extended Description

Access control involves the use of several protection mechanisms such as:

When any mechanism is not applied or otherwise fails, attackers can compromise the security of the product by gaining privileges, reading sensitive information, executing commands, evading detection, etc. There are two distinct behaviors that can introduce access control weaknesses:

Potential Mitigations

  • Compartmentalize the system to have “safe” areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
  • Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

References