Skip to content
OpenAdvisories
High · 7.5 CVE-2024-23831 EUVD-2024-21274

Privilege escalation through CSRF attack on 'setup.pl'

Published Feb 2, 2024 · Updated Aug 21, 2024 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
ledgersmb LedgerSMB < 1.10.30, >= 1.11.0, < 1.11.9 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 ledgersmb No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS ledgersmb 1.6.33+ds-2.1ubuntu0.1 USN-7647-1
Ubuntu 22.04 LTS ledgersmb 1.6.33+ds-1ubuntu0.1 USN-7647-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS ledgersmb 1.6.9+ds-1ubuntu0.1+esm1 USN-7647-1
Ubuntu Pro 18.04 LTS ledgersmb 1.4.42+ds-1ubuntu0.1~esm1 USN-7647-1
Ubuntu Pro 16.04 LTS ledgersmb 1.3.46-1ubuntu0.1~esm1 USN-7647-1

Advisories 1

References