CVE-2021-3882
Linux Ubuntu vulnerability analysis and mitigation

Overview

LedgerSMB, a web-based double-entry accounting system, was found to have a security vulnerability (CVE-2021-3882) where it fails to set the 'Secure' attribute on the session authorization cookie when the client uses HTTPS and the LedgerSMB server is behind a reverse proxy. This vulnerability was discovered and disclosed in October 2021, affecting LedgerSMB versions 1.8.0 through 1.8.21 (LedgerSMB Advisory).

Technical details

The vulnerability stems from LedgerSMB 1.8's switch from Basic authentication to cookie authentication with encrypted cookies. While the cookie content itself is encrypted, the absence of the 'Secure' attribute in HTTPS sessions makes it vulnerable to capture. The issue received a CVSS v3.1 Base Score of 6.8 (Medium) with vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N from NVD, and a score of 5.9 (Medium) with vector CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N from huntr.dev. The vulnerability is classified under CWE-614 (Sensitive Cookie in HTTPS Session Without 'Secure' Attribute) (NVD).

Impact

If exploited, an attacker could obtain the authentication cookie and access the application as the compromised user. Although the attacker cannot access the information inside the cookie or the user's password, possession of the cookie alone is sufficient for application access. The impact is somewhat limited by proper audit control and separation of duties (LedgerSMB Advisory).

Mitigation and workarounds

Users of LedgerSMB 1.8 are advised to upgrade to version 1.8.22 or later. Users of LedgerSMB 1.7 or 1.9 are unaffected. As a workaround, administrators can configure Apache using the 'Header always edit' command in modheaders module or Nginx using the 'proxycookie_flags' command to add the Secure attribute at the network boundary (LedgerSMB Advisory).

Additional resources


SourceThis report was generated using AI

Related Linux Ubuntu vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-62408MEDIUM5.9
  • Linux DebianLinux Debian
  • c-ares
NoNoDec 08, 2025
CVE-2023-53769N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-internal
NoYesDec 08, 2025
CVE-2023-53768N/AN/A
  • Linux DebianLinux Debian
  • linux
NoYesDec 08, 2025
CVE-2023-53767N/AN/A
  • Linux KernelLinux Kernel
  • libperf
NoYesDec 08, 2025
CVE-2023-53766N/AN/A
  • Linux DebianLinux Debian
  • linux-fips
NoYesDec 08, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management