Skip to content
OpenAdvisories
Medium · 5.3 CVE-2024-52801 EUVD-2024-3435GHSA-6943-qr24-82vxGO-2024-3300

Brute force takeover of OpenID Connect session cookies in sftpgo

Published Nov 29, 2024 · Updated Dec 2, 2024 · Assigned by GitHub_M

Description

sftpgo is a full-featured and highly configurable event-driven file transfer solution. Server protocols: SFTP, HTTP/S, FTP/S, WebDAV. The OpenID Connect implementation 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. This issue was fixed in version v2.6.4, where cookies are opaque and cryptographically secure strings. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected products

VendorProductAffectedFixed
drakkan sftpgo >= 2.3.0, < 2.6.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20241209T183251-1.1 openSUSE-SU-2024:14567-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/drakkan/sftpgo all versions — GO-2024-3300
Go github.com/drakkan/sftpgo/v2 >= 2.3.0, < 2.6.4 2.6.4 GHSA-6943-qr24-82vx

Advisories 1

References