Skip to content
OpenAdvisories
High USN-7647-1 5 CVEs

ledgersmb vulnerabilities

Published Jul 17, 2025 · Updated Jun 25, 2026

Summary

It was discovered that LedgerSMB did not check the origin of HTML
fragments. An attacker could possibly use this issue to send a
maliciously crafted URL to the server and obtain sensitive
information, or execute arbitrary code. This issue only affected
Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 25.04.
(CVE-2021-3693)

It was discovered that LedgerSMB did not properly encode HTML
error messages. An attacker could possibly use this issue to send
a maliciously crafted URL to the server and obtain sensitive
information, or execute arbitrary code. This issue only affected
Ubuntu 18.04 LTS. (CVE-2021-3694)

It was discovered that LedgerSMB did not guard against discrete
link redirections. An attacker could possibly use this issue to
obtain sensitive information. This issue only affected Ubuntu
16.04 LTS and Ubuntu 18.04 LTS. (CVE-2021-3731)

It was discovered that LedgerSMB did not properly set the 'Secure'
attribute during HTTPS sessions. If a user were tricked into using
an unencrypted connection, an attacker could possibly use this
issue to obtain sensitive information. This issue only affected
Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu
25.04. (CVE-2021-3882)

It was discovered that LedgerSMB could create admin accounts via
a URL. If an admin were tricked into clicking a maliciously
crafted URL, an attacker could possibly use this issue to
achieve privilege escalation. This issue only affected Ubuntu 20.04
LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 25.04.
(CVE-2024-23831)

Fixed packages 5

ReleasePackageFixed in
Ubuntu · 22.04 LTS 22.04:LTS ledgersmb 1.6.33+ds-1ubuntu0.1
Ubuntu · 24.04 LTS 24.04:LTS ledgersmb 1.6.33+ds-2.1ubuntu0.1
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS ledgersmb 1.3.46-1ubuntu0.1~esm1
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS ledgersmb 1.4.42+ds-1ubuntu0.1~esm1
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS ledgersmb 1.6.9+ds-1ubuntu0.1+esm1

Vulnerabilities 5

  • High 8.8

    Cross-site Scripting (XSS) - DOM in ledgersmb/ledgersmb

    LedgerSMB does not check the origin of HTML fragments merged into the browser's DOM. By sending a specially crafted URL to an authenticated user, this flaw can be abused for remote code execution and information disclosure.

  • High 8.2

    Cross-site Scripting (XSS) - Reflected in ledgersmb/ledgersmb

    LedgerSMB does not sufficiently HTML-encode error messages sent to the browser. By sending a specially crafted URL to an authenticated user, this flaw can be abused for remote code execution and information disclosure.

  • High 7.5

    Privilege escalation through CSRF attack on 'setup.pl'

    LedgerSMB is a free web-based double-entry accounting system. When a LedgerSMB database administrator has an active session in /setup.pl, an attacker can trick the admin into clicking on a link which automatically submits a request to setup.pl without the adm…

  • Medium 5.9

    Improper Restriction of Rendered UI Layers or Frames in ledgersmb/ledgersmb

    LedgerSMB does not sufficiently guard against being wrapped by other sites, making it vulnerable to 'clickjacking'. This allows an attacker to trick a targetted user to execute unintended actions.

  • Medium 5.9

    Sensitive Cookie in HTTPS Session Without 'Secure' Attribute in ledgersmb/ledgersmb

    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 …

References

  • report
    https://ubuntu.com/security/CVE-2021-3693
  • report
    https://ubuntu.com/security/CVE-2021-3694
  • report
    https://ubuntu.com/security/CVE-2021-3731
  • report
    https://ubuntu.com/security/CVE-2021-3882
  • report
    https://ubuntu.com/security/CVE-2024-23831