MinIO
MinIO is vulnerable to privilege escalation on Linux/MacOS
Minio is a Multi-Cloud Object Storage framework. Prior to RELEASE.2023-03-20T20-16-18Z, an attacker can use crafted requests to bypass metadata bucket name checking and put an object into any bucket while processing `PostPolicyBucket`. To carry out this attack, the attacker requires credentials with `arn:aws:s3:::*` permission, as well as enabled Console API access. This issue has been patched in RELEASE.2023-03-20T20-16-18Z. As a workaround, enable browser API access and turn off `MINIO_BROWSER=off`.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- < 0.0.0-202303200415
Fixed in 0.0.0-202303200415
from GitHub Security Advisory GHSA-2pxw-r47w-4p8c
Mitigation
Upgrade github.com/minio/minio to 0.0.0-202303200415 or later.
Timeline
Days relative to CVE publicationFirst public PoC 18 h after publication; added to CISA KEV 181 days after publication. First PoC: Mr-xn/CVE-2023-28434 (created 23 Mar 2023, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs · 1 pending
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Mr-xn/CVE-2023-28434 | 23 Mar 2023 +18 h | 34 | PoC via PoC Index |
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| AbelChe/evil_minio | 27 Mar 2023 +4.5 d | 319 | Pending · repository exceeds size limit |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /minio/bootstrap/v1/verify
- Body markers
matchers-condition: and matchers: - type: word part: body words: - '"MinioEndpoints"' - type: word part: header words: - 'Content-Type: text/plain' - type: status status: - 200=inapplication/x-www-form-urlencoded- Seen in
- 1 repo: Mr-xn/CVE-2023-28434
- Evidence
- Mr-xn/CVE-2023-28434/README.md:134
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/minio/bootstrap/v1/verify(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2023-28434 minio minio exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/minio/bootstrap/v1/verify"; http.request_body; content:"matchers-condition: and
matchers:
- type: word
part: body
words:
- '|22|MinioEndpoints|22|'
- type: word
part: header
words:
- 'Content-Type: text/plain'
- type: status
status:
- 200="; reference:url,poc.griffinguard.io/cve/CVE-2023-28434; classtype:web-application-attack; sid:9194239; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: minio minio exploit attempt (CVE-2023-28434)
id: gg-pocmon-cve-2023-28434-9194239
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-28434. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2023-28434
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/minio/bootstrap/v1/verify'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2023.28434