CVE Vulnerabilities

CVE-2016-9575

Incorrect Authorization

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

Ipa versions 4.2.x, 4.3.x before 4.3.3 and 4.4.x before 4.4.3 did not properly check the users permissions while modifying certificate profiles in IdMs certprofile-mod command. An authenticated, unprivileged attacker could use this flaw to modify profiles to issue certificates with arbitrary naming or key usage information and subsequently use such certificates for other attacks.

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.

Affected Software

Name Vendor Start Version End Version
Freeipa Freeipa 4.2.0 (including) 4.2.0 (including)
Freeipa Freeipa 4.2.0-alpha1 (including) 4.2.0-alpha1 (including)
Freeipa Freeipa 4.2.1 (including) 4.2.1 (including)
Freeipa Freeipa 4.2.2 (including) 4.2.2 (including)
Freeipa Freeipa 4.2.3 (including) 4.2.3 (including)
Freeipa Freeipa 4.2.4 (including) 4.2.4 (including)
Freeipa Freeipa 4.3.0 (including) 4.3.0 (including)
Freeipa Freeipa 4.3.1 (including) 4.3.1 (including)
Freeipa Freeipa 4.3.2 (including) 4.3.2 (including)
Freeipa Freeipa 4.4.0 (including) 4.4.0 (including)
Freeipa Freeipa 4.4.1 (including) 4.4.1 (including)
Freeipa Freeipa 4.4.2 (including) 4.4.2 (including)
Red Hat Enterprise Linux 7 RedHat ipa-0:4.4.0-14.el7_3.1.1 *
Freeipa Ubuntu artful *
Freeipa Ubuntu esm-apps/xenial *
Freeipa Ubuntu precise *
Freeipa Ubuntu xenial *
Freeipa Ubuntu yakkety *
Freeipa Ubuntu zesty *

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