You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "rkozello (via GitHub)" <gi...@apache.org> on 2025/12/02 08:07:27 UTC
[I] Security: MinIO policy remains intact on bucket deletion [cloudstack]
rkozello opened a new issue, #12173:
URL: https://github.com/apache/cloudstack/issues/12173
### problem
When account A deletes MinIO bucket from CloudStack web UI, MinIO policy for special MinIO user access to this bucket remains intact. If (when) account B creates bucket with the same name, account A may get access to it using saved Access+Secret Keys and any S3 utility.
Remediation: delete MinIO policy providing access to specific bucket on bucket deletion.
### versions
CloudStack v 4.22
### The steps to reproduce the bug
1. Login to web UI as user/account A
2. Create S3 bucket 'test'
3. Save access credentials (Access Key, Secret Key, URL without final bucket path)
4. Delete bucket 'test'
5. Login to web UI as user/account B
6. Create S3 bucket 'test'
7. Using bucket browser, upload some file to bucket
8. Create mc alias for user A as 'mc alias set userA-test $URL $Access_Key $Secret_Key'
9. Check bucket contents 'mc ls userA-test/test'
...
### What to do about it?
Modify code to delete access policy on bucket deleteion
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] MinIO policy remains intact on bucket deletion [cloudstack]
Posted by "abh1sar (via GitHub)" <gi...@apache.org>.
abh1sar commented on issue #12173:
URL: https://github.com/apache/cloudstack/issues/12173#issuecomment-4440481018
Fixed by https://github.com/apache/cloudstack/commit/7703fdacab4503526208bc019740a8df81552f48.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] MinIO policy remains intact on bucket deletion [cloudstack]
Posted by "abh1sar (via GitHub)" <gi...@apache.org>.
abh1sar closed issue #12173: MinIO policy remains intact on bucket deletion
URL: https://github.com/apache/cloudstack/issues/12173
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Security: MinIO policy remains intact on bucket deletion [cloudstack]
Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #12173:
URL: https://github.com/apache/cloudstack/issues/12173#issuecomment-3600748597
Thanks for opening your first issue here! Be sure to follow the issue template!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org