CVE-2021-41266 Authentication bypass issue in the Operator Console

High 8.6 Published Updated

Attackers can bypass authentication in the MinIO Operator Console when an external IDP is enabled, gaining unauthorized access.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-41266?

CVE-2021-41266 is a high-severity authentication bypass vulnerability in minio console, published on 15 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Minio console is a graphical user interface for the for MinIO operator. Minio itself is a multi-cloud object storage project. Affected versions are subject to an authentication bypass issue in the Operator Console when an external IDP is enabled. All users on release v0.12.2 and before are affected and are advised to update to 0.12.3 or newer. Users unable to upgrade should add automountServiceAccountToken: false to the operator-console deployment in Kubernetes so no service account token will get mounted inside the pod, then disable the external identity provider authentication by unset the CONSOLE_IDP_URL, CONSOLE_IDP_CLIENT_ID, CONSOLE_IDP_SECRET and CONSOLE_IDP_CALLBACK environment variable and instead use the Kubernetes service account token.

Weakness: CWE-306

Which versions are affected by CVE-2021-41266?

3 open source packages ship an affected version, including github.com/minio/console. It affects 1 product.

PackageAffectedFixed in
github.com/minio/console GoAll versions0.12.3
github.com/minio/console GoAll versions0.12.3
github.com/minio/console GoAll versions0.12.3

Products include Min Minio Console.

How do I fix CVE-2021-41266?

Upgrade github.com/minio/console to 0.12.3 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2021-41266 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-41266 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-4999-659w-mq36, GO-2022-0261.

Is CVE-2021-41266 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free