Description
MateCloud through 5.0.8 contains a missing authorization vulnerability that allows any authenticated user to manage object storage by calling the unprotected /api/v1/admin/storage endpoints in StorageController. Low-privilege or self-registered users can supply arbitrary bucket and objectName values to list objects, obtain pre-signed download URLs for other users' files, delete objects, and upload at chosen keys.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| mateaix | MateCloud | ≤ 5.0.8 | — |
References
- https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/matecloud-storage-admin-missing-authz third-party-advisory
- https://github.com/mateaix/matecloud/blob/57b1edc0f0b8b964448e2d41ef7ba98751e71d8d/mate-biz/mate-system/src/main/java/vip/mate/system/admin/trigger/controller/StorageController.java#L45-L118 technical-description
- https://github.com/mateaix/matecloud/blob/57b1edc0f0b8b964448e2d41ef7ba98751e71d8d/mate-gateway/src/main/resources/application.yml#L80-L85 technical-description
- https://github.com/mateaix/matecloud product
- VulnCheck Advisory: MateCloud through 5.0.8 Missing Authorization via /api/v1/admin/storage API third-party-advisory