Cross-site request forgery in LedgerSMB - CVE-2024-23831

 

Cross-site request forgery in LedgerSMB - CVE-2024-23831

Published: July 17, 2025


Vulnerability identifier: #VU113031
CSH Severity: Medium
CVSS v4: 7.4 [CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-23831
CWE-ID: CWE-352
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform cross-site request forgery attacks.

The vulnerability exists due to insufficient validation of the HTTP request origin in setup.pl. A remote attacker can trick the victim to visit a specially crafted web page and perform arbitrary actions on behalf of the victim on the vulnerable website and compromise the application by creating arbitrary user accounts.


Affected software

LedgerSMB
Ubuntu
ledgersmb (Ubuntu package)

How to mitigate CVE-2024-23831

Install updates from vendor's website.

LedgerSMB - addressed in versions 1.10.30, 1.11.9
ledgersmb (Ubuntu package) - addressed in versions 1.3.46-1ubuntu0.1~esm1, 1.4.42+ds-1ubuntu0.1~esm1, 1.6.9+ds-1ubuntu0.1+esm1, 1.6.33+ds-1ubuntu0.1, 1.6.33+ds-2.1ubuntu0.1, 1.6.33+ds-2.2ubuntu0.25.04.1

External References

Related Security Bulletins