MidnightBSD

Advisories for ledgersmb

CVE-2006-4731 MEDIUM

Multiple directory traversal vulnerabilities in (1) login.pl and (2) admin.pl in (a) SQL-Ledger before 2.6.19 and (b) LedgerSMB before 1.0.0p1 allow remote attackers to execute arbitrary Perl code via an unspecified terminal parameter value containing ../ (dot dot slash).

CVSS 2.0

Severity: MEDIUM

Problem Type: NVD-CWE-Other,

Products Affected

Vendor Product Version
dws_systems_inc. sql-ledger 2.6.10
ledgersmb ledgersmb *
dws_systems_inc. sql-ledger 2.6.7
dws_systems_inc. sql-ledger 2.6.18
dws_systems_inc. sql-ledger 2.2.5
dws_systems_inc. sql-ledger 2.4.10
dws_systems_inc. sql-ledger 2.6.9
dws_systems_inc. sql-ledger 2.6.6
dws_systems_inc. sql-ledger 2.6.11
dws_systems_inc. sql-ledger 2.2.6
dws_systems_inc. sql-ledger 2.4.9
dws_systems_inc. sql-ledger 2.4.16
dws_systems_inc. sql-ledger 2.2.1
dws_systems_inc. sql-ledger 2.4.8
dws_systems_inc. sql-ledger 2.6.12
dws_systems_inc. sql-ledger 2.4.5
dws_systems_inc. sql-ledger 2.4.0
dws_systems_inc. sql-ledger 2.4.14
dws_systems_inc. sql-ledger 2.6.17
dws_systems_inc. sql-ledger 2.4.4
dws_systems_inc. sql-ledger 2.4.13
dws_systems_inc. sql-ledger 2.4.12
dws_systems_inc. sql-ledger 2.6.8
dws_systems_inc. sql-ledger 2.6.14
dws_systems_inc. sql-ledger 2.2.4
dws_systems_inc. sql-ledger 2.4.7
dws_systems_inc. sql-ledger 2.4.1
dws_systems_inc. sql-ledger 2.4.11
dws_systems_inc. sql-ledger 2.6.15
dws_systems_inc. sql-ledger 2.6.16
dws_systems_inc. sql-ledger 2.4.6
dws_systems_inc. sql-ledger 2.6.4
dws_systems_inc. sql-ledger 2.6.3
dws_systems_inc. sql-ledger 2.2.3
dws_systems_inc. sql-ledger 2.4.15
dws_systems_inc. sql-ledger 2.6.1
dws_systems_inc. sql-ledger 2.2.2
dws_systems_inc. sql-ledger 2.2.0
dws_systems_inc. sql-ledger 2.6.2
dws_systems_inc. sql-ledger 2.2.7
dws_systems_inc. sql-ledger 2.6.5
dws_systems_inc. sql-ledger 2.4.3
dws_systems_inc. sql-ledger 2.4.2
dws_systems_inc. sql-ledger 2.6.13
CVE-2007-1540 MEDIUM

Directory traversal vulnerability in am.pl in (1) SQL-Ledger 2.6.27 and earlier, and (2) LedgerSMB before 1.2.0, allows remote attackers to run arbitrary executables and bypass authentication via a .. (dot dot) sequence and trailing NULL (%00) in the login parameter. NOTE: this issue was reportedly addressed in SQL-Ledger 2.6.27, however third-party researchers claim that the file is still executed even though an error is generated.

CVSS 2.0

Severity: MEDIUM

Problem Type: NVD-CWE-Other,

Products Affected

Vendor Product Version
ledgersmb ledgersmb *
sql-ledger sql-ledger *
CVE-2007-1923 HIGH

(1) LedgerSMB and (2) DWS Systems SQL-Ledger implement access control lists by changing the set of URLs linked from menus, which allows remote attackers to access restricted functionality via direct requests. The LedgerSMB affected versions are before 1.3.0.

CVSS 2.0

Severity: HIGH

Problem Type: NVD-CWE-Other,

Products Affected

Vendor Product Version
ledgersmb ledgersmb *
sql-ledger sql-ledger -
CVE-2008-4077 HIGH

The CGI scripts in (1) LedgerSMB (LSMB) before 1.2.15 and (2) SQL-Ledger 2.8.17 and earlier allow remote attackers to cause a denial of service (resource exhaustion) via an HTTP POST request with a large Content-Length.

CVSS 2.0

Severity: HIGH

Problem Type: CWE-400,

Products Affected

Vendor Product Version
ledgersmb ledgersmb *
sql-ledger sql-ledger *
CVE-2008-4078 MEDIUM

SQL injection vulnerability in the AR/AP transaction report in (1) LedgerSMB (LSMB) before 1.2.15 and (2) SQL-Ledger 2.8.17 and earlier allows remote authenticated users to execute arbitrary SQL commands via unspecified vectors.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-89,

Products Affected

Vendor Product Version
ledgersmb ledgersmb *
sql-ledger sql-ledger *
CVE-2018-9246 HIGH

The PGObject::Util::DBAdmin module before 0.120.0 for Perl, as used in LedgerSMB through 1.5.x, insufficiently sanitizes or escapes variable values used as part of shell command execution, resulting in shell code injection via the create(), run_file(), backup(), or restore() function. The vulnerability allows unauthorized users to execute code with the same privileges as the running application.

CVSS 2.0

Severity: HIGH

Problem Type: CWE-116,

Products Affected

Vendor Product Version
pgobject-util-dbadmin_project pgobject-util-dbadmin *
ledgersmb ledgersmb *
CVE-2021-3693 MEDIUM

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.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 9.6 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H 2.8 6.0
security@huntr.dev 8.8 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 2.8 5.9

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-79,CWE-79,

Products Affected

Vendor Product Version
ledgersmb ledgersmb *
debian debian_linux 11.0
debian debian_linux 10.0
CVE-2021-3694 MEDIUM

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.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 9.6 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H 2.8 6.0
security@huntr.dev 8.2 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N 2.8 4.7

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-79,CWE-79,

Products Affected

Vendor Product Version
ledgersmb ledgersmb *
debian debian_linux 11.0
debian debian_linux 10.0
CVE-2021-3731 MEDIUM

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.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 4.7 MEDIUM CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N 2.8 1.4
security@huntr.dev 5.9 MEDIUM CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N 1.6 4.2

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-1021,CWE-1021,

Products Affected

Vendor Product Version
ledgersmb ledgersmb *
debian debian_linux 11.0
debian debian_linux 10.0
CVE-2021-3882 MEDIUM

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.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 6.8 MEDIUM CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N 1.6 5.2

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-614,CWE-311,

Products Affected

Vendor Product Version
ledgersmb ledgersmb *
CVE-2024-23831

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 admin's consent. This request can be used to create a new user account with full application (/login.pl) privileges, leading to privilege escalation. The vulnerability is patched in versions 1.10.30 and 1.11.9.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 7.5 HIGH CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H 1.6 5.9
security-advisories@github.com 7.5 HIGH CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H 1.6 5.9

Products Affected

Vendor Product Version
ledgersmb ledgersmb *