sftpgo vulnerable to brute force takeover of OpenID Connect session cookies
Package
Affected versions
>= 2.3.0, < 2.6.4
Patched versions
2.6.4
Description
Published by the National Vulnerability Database
Nov 29, 2024
Published to the GitHub Advisory Database
Dec 2, 2024
Reviewed
Dec 2, 2024
Last updated
Dec 2, 2024
Impact
The OpenID Connect implementation, in the affected SFTPGo versions, allows authenticated users to brute force session cookies and thereby gain access to other users' data, since the cookies are generated predictably using the xid library and are therefore unique but not cryptographically secure.
Patches
This issue was fixed in version v2.6.4, where cookies are opaque and cryptographically secure strings.
References
drakkan/sftpgo@f30a9a2
References