Skip to content

MinIO Browser API SSRF vulnerability

Moderate
harshavardhana published GHSA-m4qq-5f7c-693q Jan 30, 2021

Package

No package listed

Affected versions

>= RELEASE.2019-12-17T23-16-33Z

Patched versions

RELEASE.2021-01-30T00-20-58Z

Description

Thanks to @phith0n from our community upon a code review, discovered an SSRF (Server Side Request Forgery) in our Browser API implementation. We have not observed this report/attack in the wild or reported elsewhere in the community at large.

All users are advised to upgrade ASAP.

Impact

The target application may have functionality for importing data from a URL, publishing data to a URL, or otherwise reading data from a URL that can be tampered with. The attacker modifies the calls to this functionality by supplying a completely different URL or by manipulating how URLs are built (path traversal etc.).

In a Server-Side Request Forgery (SSRF) attack, the attacker can abuse functionality on the server to read or update internal resources. The attacker can supply or modify a URL which the code running on the server will read or submit data, and by carefully selecting the URLs, the attacker may be able to read server configuration such as AWS metadata, connect to internal services like HTTP enabled databases, or perform post requests towards internal services which are not intended to be exposed.

Patches

This issue was fixed by PR #11337, users should upgrade to RELEASE.2021-01-30T00-20-58Z for the fix.

Workarounds

You can disable the browser front-end with MINIO_BROWSER=off environment variable.

Binary Download

Please download the latest server binary that contains the fix from

Platform Architecture URL
Apple macOS 64-bit Intel https://dl.min.io/server/minio/release/darwin-amd64/minio
GNU/Linux 64-bit Intel https://dl.min.io/server/minio/release/linux-amd64/minio
Microsoft Windows 64-bit https://dl.min.io/server/minio/release/windows-amd64/minio.exe

For all other architectures please visit https://min.io/download

Docker Container Download

docker pull minio/minio:RELEASE.2021-01-30T00-20-58Z

Questions

If you have any questions or comments regarding this advisory please reach out to us through any of the following means.

Severity

Moderate

CVE ID

CVE-2021-21287

Weaknesses

No CWEs

Credits