Vulnerability Details : CVE-2021-43820
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.
Products affected by CVE-2021-43820
- cpe:2.3:a:seafile:seafile_server:*:*:*:*:professional:*:*:*
- Seafile » Seafile Server » Community EditionVersions from including (>=) 9.0.0 and before (<) 9.0.2cpe:2.3:a:seafile:seafile_server:*:*:*:*:community:*:*:*
- cpe:2.3:a:seafile:seafile_server:*:*:*:*:community:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-43820
0.15%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 52 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-43820
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:N/A:N |
8.6
|
2.9
|
NIST | |
5.9
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
2.2
|
3.6
|
NIST | |
7.4
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
2.2
|
5.2
|
GitHub, Inc. |
CWE ids for CVE-2021-43820
-
The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.Assigned by: security-advisories@github.com (Primary)
References for CVE-2021-43820
-
https://github.com/haiwen/seafile-server/pull/520
Validate repo_id when validate token from cache by feiniks · Pull Request #520 · haiwen/seafile-server · GitHubPatch;Third Party Advisory
-
https://github.com/haiwen/seafile-server/security/advisories/GHSA-m3wc-jv6r-hvv8
Sync token can be used to access data from other libraries · Advisory · haiwen/seafile-server · GitHubThird Party Advisory
Jump to