{"id":"GHSA-2pxw-r47w-4p8c","revision":"81b6764248444832b9e686e2a990bd8d","records":[{"revision":"81b6764248444832b9e686e2a990bd8d","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-2pxw-r47w-4p8c","aliases":["CVE-2023-28434"],"title":"Privilege Escalation on Linux/MacOS","description":"### Impact\nAn 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.\n\n### Patches\n```\ncommit 67f4ba154a27a1b06e48bfabda38355a010dfca5\nAuthor: Aditya Manthramurthy <donatello@users.noreply.github.com>\nDate:   Sun Mar 19 21:15:20 2023 -0700\n\n    fix: post policy request security bypass (#16849)\n```\n\n### Workarounds\nBrowser API access must be enabled turning off `MINIO_BROWSER=off` allows for this workaround.\n\n### References\nThe vulnerable code:\n```go\n// minio/cmd/generic-handlers.go\nfunc setRequestValidityHandler(h http.Handler) http.Handler {\n  return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n    // ...\n    // For all other requests reject access to reserved buckets\n    bucketName, _ := request2BucketObjectName(r)\n    if isMinioReservedBucket(bucketName) || isMinioMetaBucket(bucketName) {\n      if !guessIsRPCReq(r) && !guessIsBrowserReq(r) && !guessIsHealthCheckReq(r) && !guessIsMetricsReq(r) && !isAdminReq(r) && !isKMSReq(r) {\n        if ok {\n          tc.FuncName = \"handler.ValidRequest\"\n          tc.ResponseRecorder.LogErrBody = true\n        }\n        writeErrorResponse(r.Context(), w, errorCodes.ToAPIErr(ErrAllAccessDisabled), r.URL)\n        return\n      }\n    }\n    // ...\n```","state":0,"publishedAt":"2023-09-05T15:45:10+00:00","modifiedAt":"2026-10-08T08:11:01.9635312+00:00","affected":[{"ecosystem":"Go","name":"github.com/minio/minio","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.0.0-202303200415"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/minio/minio/security/advisories/GHSA-2pxw-r47w-4p8c","https://nvd.nist.gov/vuln/detail/CVE-2023-28434","https://github.com/minio/minio/pull/16849","https://github.com/minio/minio/commit/67f4ba154a27a1b06e48bfabda38355a010dfca5","https://github.com/minio/minio","https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-28434"],"sourceUrl":"https://github.com/advisories/GHSA-2pxw-r47w-4p8c","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-2pxw-r47w-4p8c","identifiers":["GHSA-2pxw-r47w-4p8c","CVE-2023-28434"]},"retained":false,"historicalAffected":[]}],"coverage":[]}