From 9f2cd19059e97b8d9aa2e1d05fa684a5d8f8d388 Mon Sep 17 00:00:00 2001 From: tjuyuxinzhang <101503193+tjuyuxinzhang@users.noreply.github.com> Date: Sun, 12 Apr 2026 04:25:43 +0800 Subject: [PATCH 1/2] Improve GHSA-q34c-v76q-8jx6 --- .../GHSA-q34c-v76q-8jx6.json | 33 +++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/advisories/unreviewed/2022/05/GHSA-q34c-v76q-8jx6/GHSA-q34c-v76q-8jx6.json b/advisories/unreviewed/2022/05/GHSA-q34c-v76q-8jx6/GHSA-q34c-v76q-8jx6.json index 9c1e9023cb7fc..6464bf927d7f7 100644 --- a/advisories/unreviewed/2022/05/GHSA-q34c-v76q-8jx6/GHSA-q34c-v76q-8jx6.json +++ b/advisories/unreviewed/2022/05/GHSA-q34c-v76q-8jx6/GHSA-q34c-v76q-8jx6.json @@ -1,11 +1,12 @@ { "schema_version": "1.4.0", "id": "GHSA-q34c-v76q-8jx6", - "modified": "2022-10-27T19:00:38Z", + "modified": "2024-02-05T18:31:36Z", "published": "2022-05-24T19:17:38Z", "aliases": [ "CVE-2021-3882" ], + "summary": "LedgerSMB missing Secure cookie attribute allows session hijacking via HTTP downgrade", "details": "LedgerSMB does not set the 'Secure' attribute on the session authorization cookie when the client uses HTTPS and the LedgerSMB server is behind a reverse proxy. By tricking a user to use an unencrypted connection (HTTP), an attacker may be able to obtain the authentication data by capturing network traffic. LedgerSMB 1.8 and newer switched from Basic authentication to using cookie authentication with encrypted cookies. Although an attacker can't access the information inside the cookie, nor the password of the user, possession of the cookie is enough to access the application as the user from which the cookie has been obtained. In order for the attacker to obtain the cookie, first of all the server must be configured to respond to unencrypted requests, the attacker must be suitably positioned to eavesdrop on the network traffic between the client and the server *and* the user must be tricked into using unencrypted HTTP traffic. Proper audit control and separation of duties limit Integrity impact of the attack vector. Users of LedgerSMB 1.8 are urged to upgrade to known-fixed versions. Users of LedgerSMB 1.7 or 1.9 are unaffected by this vulnerability and don't need to take action. As a workaround, users may configure their Apache or Nginx reverse proxy to add the Secure attribute at the network boundary instead of relying on LedgerSMB. For Apache, please refer to the 'Header always edit' configuration command in the mod_headers module. For Nginx, please refer to the 'proxy_cookie_flags' configuration command.", "severity": [ { @@ -13,7 +14,27 @@ "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N" } ], - "affected": [], + "affected": [ + { + "package": { + "ecosystem": "GitHub Actions", + "name": "LedgerSMB" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "1.8.0" + }, + { + "fixed": "1.8.22" + } + ] + } + ] + } + ], "references": [ { "type": "ADVISORY", @@ -27,9 +48,17 @@ "type": "WEB", "url": "https://huntr.dev/bounties/7061d97a-98a5-495a-8ba0-3a4c66091e9d" }, + { + "type": "PACKAGE", + "url": "https://ledgersmb.org/ https://github.com/ledgersmb/LedgerSMB" + }, { "type": "WEB", "url": "https://ledgersmb.org/cve-2021-3882-sensitive-non-secure-cookie" + }, + { + "type": "WEB", + "url": "https://ledgersmb.org/sites/default/files/2021-10/CVE-2021-3882.patch_.txt" } ], "database_specific": { From a9e905bfe0ef92903a646d82c823bfaa80057217 Mon Sep 17 00:00:00 2001 From: tjuyuxinzhang <101503193+tjuyuxinzhang@users.noreply.github.com> Date: Sun, 12 Apr 2026 04:30:48 +0800 Subject: [PATCH 2/2] Improve GHSA-q34c-v76q-8jx6 --- .../2022/05/GHSA-q34c-v76q-8jx6/GHSA-q34c-v76q-8jx6.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/advisories/unreviewed/2022/05/GHSA-q34c-v76q-8jx6/GHSA-q34c-v76q-8jx6.json b/advisories/unreviewed/2022/05/GHSA-q34c-v76q-8jx6/GHSA-q34c-v76q-8jx6.json index 6464bf927d7f7..215cd85454c09 100644 --- a/advisories/unreviewed/2022/05/GHSA-q34c-v76q-8jx6/GHSA-q34c-v76q-8jx6.json +++ b/advisories/unreviewed/2022/05/GHSA-q34c-v76q-8jx6/GHSA-q34c-v76q-8jx6.json @@ -44,13 +44,17 @@ "type": "WEB", "url": "https://github.com/ledgersmb/ledgersmb/commit/c242f5a2abf4b99b0da205473cbba034f306bfe2" }, + { + "type": "PACKAGE", + "url": "https://github.com/ledgersmb/ledgersmb" + }, { "type": "WEB", "url": "https://huntr.dev/bounties/7061d97a-98a5-495a-8ba0-3a4c66091e9d" }, { - "type": "PACKAGE", - "url": "https://ledgersmb.org/ https://github.com/ledgersmb/LedgerSMB" + "type": "WEB", + "url": "https://ledgersmb.org" }, { "type": "WEB",