CVE Vulnerabilities

CVE-2020-17049

Incorrect Authorization

Published: Nov 11, 2020 | Modified: Sep 10, 2024
CVSS 3.x
7.2
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
9 HIGH
AV:N/AC:L/Au:S/C:C/I:C/A:C
RedHat/V2
RedHat/V3
7.2 MODERATE
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Ubuntu

A security feature bypass vulnerability exists in the way Key Distribution Center (KDC) determines if a service ticket can be used for delegation via Kerberos Constrained Delegation (KCD). To exploit the vulnerability, a compromised service that is configured to use KCD could tamper with a service ticket that is not valid for delegation to force the KDC to accept it. The update addresses this vulnerability by changing how the KDC validates service tickets used with KCD.

Weakness

The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions.

Affected Software

Name Vendor Start Version End Version
Windows_server_2012 Microsoft * *
Windows_server_2012 Microsoft r2 (including) r2 (including)
Windows_server_2016 Microsoft - (including) - (including)
Windows_server_2016 Microsoft 20h2 (including) 20h2 (including)
Windows_server_2016 Microsoft 1903 (including) 1903 (including)
Windows_server_2016 Microsoft 1909 (including) 1909 (including)
Windows_server_2016 Microsoft 2004 (including) 2004 (including)
Windows_server_2019 Microsoft - (including) - (including)
Red Hat Enterprise Linux 8 RedHat idm:DL1-8090020231201152514.3387e3d0 *
Red Hat Enterprise Linux 8.6 Extended Update Support RedHat idm:DL1-8060020231208020207.ada582f1 *
Red Hat Enterprise Linux 8.6 Extended Update Support RedHat krb5-0:1.18.2-16.el8_6 *
Red Hat Enterprise Linux 8.8 Extended Update Support RedHat idm:DL1-8080020231201153604.b0a6ceea *
Red Hat Enterprise Linux 9 RedHat krb5-0:1.20.1-8.el9 *
Red Hat Enterprise Linux 9 RedHat krb5-0:1.20.1-8.el9 *

Extended Description

Assuming a user with a given identity, authorization is the process of determining whether that user can access a given resource, based on the user’s privileges and any permissions or other access-control specifications that apply to the resource. When access control checks are incorrectly applied, users are able to access data or perform actions that they should not be allowed to perform. This can lead to a wide range of problems, including information exposures, denial of service, and arbitrary code execution.

Potential Mitigations

  • Divide the product into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully mapping roles with data and functionality. Use role-based access control (RBAC) [REF-229] to enforce the roles at the appropriate boundaries.
  • Note that this approach may not protect against horizontal authorization, i.e., it will not protect a user from attacking others with the same role.
  • Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • For example, consider using authorization frameworks such as the JAAS Authorization Framework [REF-233] and the OWASP ESAPI Access Control feature [REF-45].
  • For web applications, make sure that the access control mechanism is enforced correctly at the server side on every page. Users should not be able to access any unauthorized functionality or information by simply requesting direct access to that page.
  • One way to do this is to ensure that all pages containing sensitive information are not cached, and that all such pages restrict access to requests that are accompanied by an active and authenticated session token associated with a user who has the required permissions to access that page.

References