Seafile is an open source cloud storage system. A sync token is used in Seafile file syncing protocol to authorize access to library data. To improve performance, the token is cached in memory in seaf-server. Upon receiving a token from sync client or SeaDrive client, the server checks whether the token exist in the cache. However, if the token exists in cache, the server doesn't check whether it's associated with the specific library in the URL. This vulnerability makes it possible to use any valid sync token to access data from any **known** library. Note that the attacker has to first find out the ID of a library which it has no access to. The library ID is a random UUID, which is not possible to be guessed. There are no workarounds for this issue.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: GitHub_M
Published: 2021-12-14T18:55:10
Updated: 2024-08-04T04:03:09.080Z
Reserved: 2021-11-16T00:00:00
Link: CVE-2021-43820
Vulnrichment
No data.
NVD
Status : Modified
Published: 2021-12-14T19:15:07.617
Modified: 2024-11-21T06:29:51.850
Link: CVE-2021-43820
Redhat
No data.