CVE Vulnerabilities

CVE-2016-8629

Improper Access Control

Published: Mar 12, 2018 | Modified: Nov 21, 2024
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
CVSS 2.x
5.5 MEDIUM
AV:N/AC:L/Au:S/C:N/I:P/A:P
RedHat/V2
4 MODERATE
AV:N/AC:L/Au:S/C:N/I:P/A:N
RedHat/V3
4.3 MODERATE
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Ubuntu

Red Hat Keycloak before version 2.4.0 did not correctly check permissions when handling service account user deletion requests sent to the rest server. An attacker with service account authentication could use this flaw to bypass normal permissions and delete users in a separate realm.

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
Keycloak Redhat * 2.4.0 (excluding)
Red Hat Single Sign-On 7.1 RedHat *
Red Hat Single Sign-On 7.1 for RHEL 6 RedHat rh-sso7-0:1-2.jbcs.el6 *
Red Hat Single Sign-On 7.1 for RHEL 6 RedHat rh-sso7-freemarker-0:2.3.23-1.redhat_2.2.jbcs.el6 *
Red Hat Single Sign-On 7.1 for RHEL 6 RedHat rh-sso7-javapackages-tools-0:3.4.1-5.15.3.jbcs.el6 *
Red Hat Single Sign-On 7.1 for RHEL 6 RedHat rh-sso7-keycloak-0:2.5.5-2.Final_redhat_1.1.jbcs.el6 *
Red Hat Single Sign-On 7.1 for RHEL 6 RedHat rh-sso7-libunix-dbus-java-0:0.8.0-2.jbcs.el6 *
Red Hat Single Sign-On 7.1 for RHEL 6 RedHat rh-sso7-liquibase-0:3.4.1-2.redhat_2.1.jbcs.el6 *
Red Hat Single Sign-On 7.1 for RHEL 6 RedHat rh-sso7-twitter4j-0:4.0.4-1.redhat_3.1.jbcs.el6 *
Red Hat Single Sign-On 7.1 for RHEL 6 RedHat rh-sso7-zxing-0:3.2.1-1.redhat_4.1.jbcs.el6 *
Red Hat Single Sign-On 7.1 for RHEL 7 RedHat rh-sso7-0:1-2.jbcs.el7 *
Red Hat Single Sign-On 7.1 for RHEL 7 RedHat rh-sso7-freemarker-0:2.3.23-1.redhat_2.2.jbcs.el7 *
Red Hat Single Sign-On 7.1 for RHEL 7 RedHat rh-sso7-javapackages-tools-0:3.4.1-5.15.3.jbcs.el7 *
Red Hat Single Sign-On 7.1 for RHEL 7 RedHat rh-sso7-keycloak-0:2.5.5-2.Final_redhat_1.1.jbcs.el7 *
Red Hat Single Sign-On 7.1 for RHEL 7 RedHat rh-sso7-libunix-dbus-java-0:0.8.0-2.jbcs.el7 *
Red Hat Single Sign-On 7.1 for RHEL 7 RedHat rh-sso7-liquibase-0:3.4.1-2.redhat_2.1.jbcs.el7 *
Red Hat Single Sign-On 7.1 for RHEL 7 RedHat rh-sso7-twitter4j-0:4.0.4-1.redhat_3.1.jbcs.el7 *
Red Hat Single Sign-On 7.1 for RHEL 7 RedHat rh-sso7-zxing-0:3.2.1-1.redhat_4.1.jbcs.el7 *

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