{"id":"CVE-2024-52801","aliases":["CVE-2024-52801","GHSA-6943-qr24-82vx","GO-2024-3300"],"related":[],"kind":"vulnerability","state":"published","title":"Brute force takeover of OpenID Connect session cookies in sftpgo","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe 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](https://github.com/rs/xid) library and are therefore unique but not cryptographically secure.\n\n### Patches\n\nThis issue was fixed in version v2.6.4, where cookies are opaque and cryptographically secure strings.\n\n### References\n\nhttps://github.com/drakkan/sftpgo/commit/f30a9a2095bf90c0661b04fe038e3b7efc788bc6","format":"markdown","source":"ghsa"},{"lang":"en","text":"sftpgo vulnerable to brute force takeover of OpenID Connect session cookies in github.com/drakkan/sftpgo","format":"markdown","source":"go"},{"lang":"es","text":"sftpgo es una solución de transferencia de archivos basada en eventos, altamente configurable y con todas las funciones. Protocolos de servidor: SFTP, HTTP/S, FTP/S, WebDAV. La implementación de OpenID Connect permite a los usuarios autenticados forzar las cookies de sesión y, de ese modo, obtener acceso a los datos de otros usuarios, ya que las cookies se generan de manera predecible utilizando la librería xid y, por lo tanto, son únicas pero no criptográficamente seguras. Este problema se solucionó en la versión v2.6.4, donde las cookies son cadenas opacas y criptográficamente seguras. Se recomienda a todos los usuarios que actualicen. No existen workarounds conocidos para esta vulnerabilidad.","source":"nvd"}],"published":"2024-11-29T18:26:06.163Z","modified":"2026-06-17T08:07:39.197Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"}],"cwes":["CWE-327"],"affected":[{"ranges":[{"version":">= 2.3.0, < 2.6.4","status":"affected"}],"vendor":"drakkan","product":"sftpgo","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.3.0","status":"affected","fixed":"2.6.4"}],"ecosystem":"Go","package":"github.com/drakkan/sftpgo/v2","purl":"pkg:golang/github.com/drakkan/sftpgo/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/drakkan/sftpgo","purl":"pkg:golang/github.com/drakkan/sftpgo","source":"go"},{"ranges":[{"type":"semver","introduced":"2.3.0","status":"affected","fixed":"2.6.4"}],"ecosystem":"Go","package":"github.com/drakkan/sftpgo/v2","purl":"pkg:golang/github.com/drakkan/sftpgo/v2","source":"go"}],"references":[{"url":"https://github.com/drakkan/sftpgo/security/advisories/GHSA-6943-qr24-82vx","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/drakkan/sftpgo/commit/f30a9a2095bf90c0661b04fe038e3b7efc788bc6","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/rs/xid","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52801","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/drakkan/sftpgo","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-12-02T21:09:31.629Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-52801","url":"https://www.cve.org/CVERecord?id=CVE-2024-52801","licence":"CVE Terms of Use","modified":"2024-12-02T21:09:44.473Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6943-qr24-82vx","url":"https://github.com/advisories/GHSA-6943-qr24-82vx","licence":"CC-BY-4.0","modified":"2024-12-02T22:05:00.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-3300","url":"https://pkg.go.dev/vuln/GO-2024-3300","licence":"CC-BY-4.0","modified":"2026-03-03T04:56:04.750Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-52801","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52801","licence":"Public domain","modified":"2026-06-17T08:07:39.197Z"}],"updatedAt":"2026-11-25T22:58:49.551Z","epss":{"score":0.00405,"percentile":0.36854,"date":"2026-12-01T12:00:22.000Z"}}