Description
Cozy Cloud cozy-stack 1.6.62 before 1.6.69 contains an authorization bypass vulnerability in the shared-drive move handler that allows authenticated users to access other instances' files. Attackers owning a shared drive can name another instance's domain and any directory ID as the move source to copy and delete the victim's file tree.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Cozy Cloud cozy-stack
Default version status: unaffected
1.6.62 to < 1.6.69affected
pkg:golang/github.com/cozy/cozy-stackReferences
- https://github.com/linagora/cozy-stack/pull/5179 ↗
- https://github.com/linagora/cozy-stack/commit/983fe4b1218b8a7d83a2734b5ce2fe04227acc0c ↗
- https://github.com/linagora/cozy-stack/releases/tag/1.6.69 ↗
- https://hackmd.io/@hieund/cozy-stack-shared-drive-move-cross-instance-authz-bypass ↗
- https://github.com/linagora/cozy-stack/blob/1.6.68/web/sharings/move.go#L250-L263 ↗
- https://www.vulncheck.com/advisories/cozy-cloud-cozy-stack-1.6.62-before-1.6.69-authorization-bypass-via-shared-drive-move ↗