CVEfocus › CVE database › CVE-2024-23831

CVE-2024-23831Privilege escalation through CSRF attack on 'setup.pl'

CVSS 7.5 HighEPSS 0.4% (higher than 23% of CVEs)Published 2024-02-02Updated 2024-08-21Assigner: GitHub_M

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.

CWE-352

What to do

Fixed builds are available from Ubuntu: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
4Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04ledgersmbFixed1.6.33+ds-2.1ubuntu0.1UBUNTU-CVE-2024-23831
Ubuntu 22.04ledgersmbFixed1.6.33+ds-1ubuntu0.1UBUNTU-CVE-2024-23831
Ubuntu 20.04ledgersmbFix pending1.6.9+ds-1ubuntu0.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-23831
Ubuntu 16.04ledgersmbFix pending
Ubuntu 14.04ledgersmbFix pending
Debian 12ledgersmbFix pendingDEBIAN-CVE-2024-23831

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.