CVE-2024-52801
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.
Weakness
- CWE-327: Use of a Broken or Risky Cryptographic Algorithm
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2024-12-02 |
Timeline
- 2024-11-29Published by the CNA18:26 UTC
- 2024-12-02GitHub advisory published (GHSA-6943-qr24-82vx)3 days after publication
- 2024-12-02CISA SSVC decision recorded3 days after publication
Exploit and advisory records
GitHub advisory GHSA-6943-qr24-82vx, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/drakkan/sftpgo/v2 | from 2.3.0 before 2.6.4 | 2.6.4 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| drakkan sftpgo |
References
- https://github.com/drakkan/sftpgo/commit/f30a9a2095bf90c0661b04fe038e3b7efc788bc6
- https://github.com/drakkan/sftpgo/security/advisories/GHSA-6943-qr24-82vx
- https://github.com/rs/xid
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2024-52801'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2024-52801'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2024-52801'curl 'https://api.contrastcyber.com/cve_products/CVE-2024-52801'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).