github.com/drakkan/sftpgo/v2
Affected
- introduced
2.3.0, fixed2.6.4(semver)
Fixed versions
2.6.4
Fix
- Fixed version
2.6.4go get github.com/drakkan/sftpgo/[email protected]
Advisory
Also known as: CVE-2024-52801, GO-2024-3300
sftpgo vulnerable to brute force takeover of OpenID Connect session cookies
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
https://github.com/drakkan/sftpgo/commit/f30a9a2095bf90c0661b04fe038e3b7efc788bc6
Medium Basis: The source's own band: MODERATE
2.3.0, fixed 2.6.4 (semver)2.6.4
2.6.4go get github.com/drakkan/sftpgo/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0