CVE-2024-23831 Privilege escalation through CSRF attack on 'setup.pl'
HighCVSS 7.5
EPSS 0.27%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
5 packages: 4 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/ledgersmb(Debian 12) | = 1.6.33+ds-2.1; = 1.6.33+ds-2.2; All versions | No fix listed | No fix yet |
| ledgersmb | < 1.10.30; = < 1.10.30; = >= 1.11.0, < 1.11.9; >= 1.3.0, < 1.10.30 +1 more | 1.10.30, 1.11.9 | Fixed |
| ubuntu/ledgersmb(Ubuntu 22.04) | < 1.6.33+ds-1ubuntu0.1; = 1.6.9+ds-2.1; = 1.6.33+ds-1 | 1.6.33+ds-1ubuntu0.1 | Fixed |
| ubuntu/ledgersmb(Ubuntu 24.04) | < 1.6.33+ds-2.1ubuntu0.1; = 1.6.33+ds-2.1 | 1.6.33+ds-2.1ubuntu0.1 | Fixed |
| ubuntu/ledgersmb(Ubuntu Pro 20.04) | < 1.6.9+ds-1ubuntu0.1+esm1; = 1.6.9+ds-1; = 1.6.9+ds-1ubuntu0.1 | 1.6.9+ds-1ubuntu0.1+esm1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/ledgersmb(Debian:12) | All versions | No fix listed |
| debian/ledgersmb(Debian:12) | = 1.6.33+ds-2.1 | No fix listed |
| debian/ledgersmb(Debian:12) | = 1.6.33+ds-2.2 | No fix listed |
| ubuntu/ledgersmb(Ubuntu:22.04) | < 1.6.33+ds-1ubuntu0.1 | 1.6.33+ds-1ubuntu0.1 |
| ledgersmb | = < 1.10.30 | No fix listed |
| ledgersmb | = >= 1.11.0, < 1.11.9 | No fix listed |
| ledgersmb | >= 1.11.0, < 1.11.9 | 1.11.9 |
| ledgersmb | < 1.10.30 | 1.10.30 |
| ubuntu/ledgersmb(Ubuntu:24.04) | < 1.6.33+ds-2.1ubuntu0.1 | 1.6.33+ds-2.1ubuntu0.1 |
| ledgersmb | >= 1.3.0, < 1.10.30 | 1.10.30 |
| ubuntu/ledgersmb(Ubuntu:Pro:20.04) | < 1.6.9+ds-1ubuntu0.1+esm1 | 1.6.9+ds-1ubuntu0.1+esm1 |
| ubuntu/ledgersmb(Ubuntu:Pro:20.04) | = 1.6.9+ds-1 | No fix listed |
| ubuntu/ledgersmb(Ubuntu:Pro:20.04) | = 1.6.9+ds-1ubuntu0.1 | No fix listed |
| ubuntu/ledgersmb(Ubuntu:22.04) | = 1.6.9+ds-2.1 | No fix listed |
| ubuntu/ledgersmb(Ubuntu:22.04) | = 1.6.33+ds-1 | No fix listed |
| ubuntu/ledgersmb(Ubuntu:24.04) | = 1.6.33+ds-2.1 | No fix listed |
References
- Debian Security Tracker CVE-2024-23831 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-7647-1 vendor-advisory
- www.cve.org issue-tracking
- https://github.com/ledgersmb/LedgerSMB/security/advisories/GHSA-98ff-f638-qxjm issue-tracking vendor-advisory
- https://github.com/ledgersmb/LedgerSMB/commit/8c2ae5be68a782d62cb9c0e17c0127bf30ef4165 issue-tracking patch
- bugs.debian.org issue-tracking