Skip to content

Denial of access by an admin privileged user for root credential

Moderate
harshavardhana published GHSA-9wfv-wmf7-6753 Mar 13, 2023

Package

gomod minio (Go)

Affected versions

>= RELEASE.2020-12-23T02-24-12Z

Patched versions

RELEASE.2023-03-13T19-46-17Z

Description

Impact

We have not seen the occurrence of this in the wild, however, this is a possibility.
A user with consoleAdmin permissions can potentially create a user that matches
the root credential accessKey, once this user is created successfully the root
credential ceases to work appropriately.

Patches

commit 54df59966973354304d89e3000806f9837297c1c
Author: Harshavardhana <harsha@minio.io>
Date:   Mon Mar 13 10:25:07 2023 -0700

    Do not allow adding root user to IAM subsystem
    
    A user with sufficient admin level privileges can
    add the root user into the IAM subsystem, which would
    lead to permanently disabled access for root
    credentials.
    
    The problem exists since RELEASE.2020-12-23T02-24-12Z
    release onwards, a similar also introduced in the IAM
    import API since RELEASE.2022-06-25T15-50-16Z
    
    This PR fixes both scenarios.

Workarounds

There are ways to workaround this via adding higher privileges
to the disabled root user via mc admin policy set

References

#16803 should have more details on the fixes.

Severity

Moderate

CVE ID

CVE-2023-27589

Weaknesses

No CWEs

Credits