Cross-site request forgery in LedgerSMB - CVE-2024-23831
Published: July 17, 2025
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
Ubuntu
ledgersmb (Ubuntu package)
How to mitigate CVE-2024-23831
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