CVE-2024-36107: Information disclosure in minio
Impact If-Modified-Since If-Unmodified-Since
Headers when used with anonymous requests by sending a random object name requests you can figure out if the object exists or not on the server on a specific bucket and also gain access to some amount of information such as
Last-Modified (of the latest version) Etag (of the latest version) x-amz-version-id (of the latest version) Expires (metadata value of the latest version) Cache-Control (metadata value of the latest version)
This conditional check was being honored before validating if the anonymous access is indeed allowed on the metadata of an object.
Patches Yes this issue has been already fixed in
commit e0fe7cc391724fc5baa85b45508f425020fe4272 (HEAD -> master, origin/master) Author: Harshavardhana <harsha@minio.io> Date: Mon May 27 12:17:46 2024 -0700
fix: information disclosure bug in preconditions GET (#19810) precondition check was being honored before, validating if anonymous access is allowed on the metadata of an object, leading to metadata disclosure of the following headers. Last-Modified Etag x-amz-version-id Expires: Cache-Control: although the information presented is minimal in nature, and of opaque nature. It still simply discloses that an object by a specific name exists or not without even having enough permissions.
Users must upgrade to RELEASE.2024-05-27T19-17-46Z for the fix
Workarounds There are no workarounds.
References Refer to the pull request #19810 for more information on the fix.
Other sources
MinIO is a High Performance Object Storage released under GNU Affero General Public License v3.0. If-Modified-Since and If-Unmodified-Since headers when used with anonymous requests by sending a random object name requests can be used to determine if an object exists or not on the server on a specific bucket and also gain access to some amount of information such as Last-Modified (of the latest version), Etag (of the latest version), x-amz-version-id (of the latest version), Expires (metadata value of the latest version), Cache-Control (metadata value of the latest version). This conditional check was being honored before validating if the anonymous access is indeed allowed on the metadata of an object. This issue has been addressed in commit e0fe7cc3917. Users must upgrade to RELEASE.2024-05-27T19-17-46Z for the fix. There are no known workarounds for this issue.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
go/github.com/minio/minioto a version that resolves this vulnerability.Fixed in 0.0.0-20240527191746-e0fe7cc39172 - Upgrade
Upgrade
MinIOto a version that resolves this vulnerability.Fixed in RELEASE.2024-05-27T19-17-46Z
Event History
Frequently Asked Questions
Who is exposed to this issue?
MinIO deployments with buckets containing objects whose metadata should not be available to anonymous users are exposed. The issue is reachable over the network without authentication.
What does an attacker need to exploit it?
An attacker can send anonymous requests using If-Modified-Since or If-Unmodified-Since headers and random object names. No privileges or user interaction are required.
What information can be disclosed?
The issue can reveal whether an object exists in a specific bucket and may disclose metadata from its latest version, including Last-Modified, ETag, x-amz-version-id, Expires, and Cache-Control.
Is a fix available?
Yes. The issue was fixed in commit e0fe7cc391724fc5baa85b45508f425020fe4272, which changes precondition handling so anonymous authorization is validated before object metadata is evaluated.