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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Published: 2024-02-02T15:34:12.121Z
- Modified: 2026-06-17T07:13:41.903Z
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- ledgersmb LedgerSMB: < 1.10.30; >= 1.11.0, < 1.11.9; from 1.11.0 before 1.11.9; before 1.10.30; from 1.3.0 before 1.10.30

## Every score

- GitHub_M: 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`
- NVD: 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`

## References

- <https://github.com/ledgersmb/LedgerSMB/security/advisories/GHSA-98ff-f638-qxjm> (vendor-advisory)
- <https://github.com/ledgersmb/LedgerSMB/commit/8c2ae5be68a782d62cb9c0e17c0127bf30ef4165> (patch)

## Sources

- CVE List: [CVE-2024-23831](https://www.cve.org/CVERecord?id=CVE-2024-23831), CVE Terms of Use, modified 2024-08-21
- NVD: [CVE-2024-23831](https://nvd.nist.gov/vuln/detail/CVE-2024-23831), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-23831 · Whole record: https://cve.day/CVE-2024-23831.json · Rebuilt by cve.day 2026-11-25T22:58:36.525Z
