CVE-2024-23831
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 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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
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 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.
- Record
CVE-2024-23831- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-352
- Updated
- 2026-11-02
EUVDEUVD-2024-21274
7.5
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.
- Record
EUVD-2024-21274- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
NVD
7.5
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.
- Record
CVE-2024-23831- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-352
- Updated
- 2026-11-02
OSV
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 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.
- Record
CVE-2024-23831- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-352
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2024-23831
7.5
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.
- Record
DEBIAN-CVE-2024-23831- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-23831
7.5
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.
- Record
UBUNTU-CVE-2024-23831- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUSN-7647-1 No score
ledgersmb vulnerabilities
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)
- Record
USN-7647-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ledgersmbDebian:12 |
All versions, plus listed versions 1.6.33+ds-2.11.6.33+ds-2.2 |
None known |
ledgersmbUbuntu:Pro:20.04:LTS |
before 1.6.9+ds-1ubuntu0.1+esm1, plus listed versions 1.6.9+ds-11.6.9+ds-1ubuntu0.1 |
1.6.9+ds-1ubuntu0.1+esm1 |
ledgersmbUbuntu:22.04:LTS |
before 1.6.33+ds-1ubuntu0.1, plus listed versions 1.6.9+ds-2.11.6.33+ds-1 |
1.6.33+ds-1ubuntu0.1 |
ledgersmbUbuntu:24.04:LTS |
before 1.6.33+ds-2.1ubuntu0.1, plus listed versions 1.6.33+ds-2.1 |
1.6.33+ds-2.1ubuntu0.1 |
ledgersmbUbuntu:Pro:16.04:LTS From an advisory covering 5 CVEs |
before 1.3.46-1ubuntu0.1~esm1, plus listed versions 1.3.46-1 |
1.3.46-1ubuntu0.1~esm1 |
ledgersmbUbuntu:Pro:18.04:LTS From an advisory covering 5 CVEs |
before 1.4.42+ds-1ubuntu0.1~esm1, plus listed versions 1.4.41+ds-11.4.42+ds-1 |
1.4.42+ds-1ubuntu0.1~esm1 |
ledgersmbUbuntu:Pro:20.04:LTS From an advisory covering 5 CVEs |
before 1.6.9+ds-1ubuntu0.1+esm1, plus listed versions 1.6.9+ds-11.6.9+ds-1ubuntu0.1 |
1.6.9+ds-1ubuntu0.1+esm1 |
ledgersmbUbuntu:22.04:LTS From an advisory covering 5 CVEs |
before 1.6.33+ds-1ubuntu0.1, plus listed versions 1.6.9+ds-2.11.6.33+ds-1 |
1.6.33+ds-1ubuntu0.1 |
ledgersmbUbuntu:24.04:LTS From an advisory covering 5 CVEs |
before 1.6.33+ds-2.1ubuntu0.1, plus listed versions 1.6.33+ds-2.1 |
1.6.33+ds-2.1ubuntu0.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases, published | EUVD | |
| first indexed | CVE List, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-23831 is a high vulnerability (CVSS 7.5) in Ledgersmb, published February 2, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.27%, the 19th percentile. Fixed in ledgersmb 1.6.9+ds-1ubuntu0.1+esm1.
References
github.com/ledgersmb/LedgerSMB/security/advisories/GHSA-98ff-f638-qxjm
github.com/ledgersmb/LedgerSMB/commit/8c2ae5be68a782d62cb9c0e17c0127bf30ef4165
github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23831.json
nvd.nist.gov/vuln/detail/CVE-2024-23831
security-tracker.debian.org/tracker/CVE-2024-23831
ubuntu.com/security/CVE-2024-23831