From 9414344a1f7fc904a823760077c7ea408ef0ccc8 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 17:18:29 +0000 Subject: [PATCH] Publish GHSA-6943-qr24-82vx --- .../GHSA-6943-qr24-82vx.json | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 advisories/github-reviewed/2024/12/GHSA-6943-qr24-82vx/GHSA-6943-qr24-82vx.json diff --git a/advisories/github-reviewed/2024/12/GHSA-6943-qr24-82vx/GHSA-6943-qr24-82vx.json b/advisories/github-reviewed/2024/12/GHSA-6943-qr24-82vx/GHSA-6943-qr24-82vx.json new file mode 100644 index 00000000000..78c9fb64575 --- /dev/null +++ b/advisories/github-reviewed/2024/12/GHSA-6943-qr24-82vx/GHSA-6943-qr24-82vx.json @@ -0,0 +1,69 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-6943-qr24-82vx", + "modified": "2024-12-02T17:16:34Z", + "published": "2024-12-02T17:16:34Z", + "aliases": [ + "CVE-2024-52801" + ], + "summary": "sftpgo vulnerable to brute force takeover of OpenID Connect session cookies", + "details": "### 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\n", + "severity": [ + { + "type": "CVSS_V4", + "score": "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" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Go", + "name": "github.com/drakkan/sftpgo/v2" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "2.3.0" + }, + { + "fixed": "2.6.4" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/drakkan/sftpgo/security/advisories/GHSA-6943-qr24-82vx" + }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-52801" + }, + { + "type": "WEB", + "url": "https://github.com/drakkan/sftpgo/commit/f30a9a2095bf90c0661b04fe038e3b7efc788bc6" + }, + { + "type": "PACKAGE", + "url": "https://github.com/drakkan/sftpgo" + }, + { + "type": "WEB", + "url": "https://github.com/rs/xid" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-327" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2024-12-02T17:16:34Z", + "nvd_published_at": "2024-11-29T19:15:08Z" + } +} \ No newline at end of file