Vulnerability · Published Nov 29, 2024 · Assigned by GitHub_M

CVE-2024-52801Brute force takeover of OpenID Connect session cookies in sftpgo

Medium 5.3

In plain English

A medium-severity broken cryptography in sftpgo from drakkan. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.3Medium
Exploit odds (30 days)0.4%top 65.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/drakkan/sftpgono fix listedGO-2024-3300
Gogithub.com/drakkan/sftpgo/v22.6.4GHSA-6943-qr24-82vx
Gogithub.com/drakkan/sftpgo/v22.6.4GO-2024-3300

Affected products (as reported)

VendorProductVersions
drakkan sftpgo >= 2.3.0, < 2.6.4

Weakness: CWE-327 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

References