GitHub Advisoryadvisory · Go

GHSA-6943-qr24-82vx sftpgo vulnerable to brute force takeover of OpenID Connect session cookies

MEDIUM Published 2024-12-02 Modified 2024-12-02 Official page ↗
Aliases
CVE-2024-52801
Ecosystem
Go
Packages
github.com/drakkan/sftpgo/v2
Severity
Moderate
CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weaknesses
CWE-327
Reviewed
2024-12-02

Affected packages

• Go github.com/drakkan/sftpgo/v2: >= 2.3.0, < 2.6.4 → fixed in 2.6.4

Description

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

Related

Alias · CVE (1)

  • CVE-2024-52801 sftpgo is a full-featured and highly configurable event-driven file transfer solution. vulnerability

Weakness · CWE (1)

  • CWE-327 Use of a Broken or Risky Cryptographic Algorithm weakness

References