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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-23831
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 19:06 UTC · Revision 1
Source evidence
Privilege escalation through CSRF attack on 'setup.pl'
core-osv · Original sourcePublished 2 Feb 2024, 15:34 UTC
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.
osv:CVE-2024-23831
Complete source record
{
"id": "2b780e5a156021fd455641bea845300abc206d489436da767f3564ca9d6a182c",
"url": "https://osv.dev/vulnerability/CVE-2024-23831",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Privilege escalation through CSRF attack on 'setup.pl'",
"summary": "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.",
"evidence": "osv:CVE-2024-23831",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-23831",
"aliases": [
"CVE-2024-23831",
"GHSA-98ff-f638-qxjm"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/ledgersmb/ledgersmb",
"type": "GIT",
"events": [
{
"introduced": "ec3120dc8c32494b9244c00595ecf75be930ee72"
},
{
"fixed": "561ba72820038003b4b3ccadbb10b3a4fb69e4ab"
},
{
"introduced": "01e7041a3f7ccc2e2e3330d155e4ea785ba76d10"
},
{
"fixed": "affcbedcc4d7371195947ef652c20ad54f4623ad"
},
{
"fixed": "8c2ae5be68a782d62cb9c0e17c0127bf30ef4165"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:ledgersmb:ledgersmb:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.3.0"
},
{
"fixed": "1.10.30"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:ledgersmb:ledgersmb:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.11.0"
},
{
"fixed": "1.11.9"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "8c2ae5be68a782d62cb9c0e17c0127bf30ef4165"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"1.11.8",
"1.11.7",
"1.11.6",
"1.11.5",
"1.11.4",
"1.11.3",
"1.11.2",
"1.11.1",
"1.11.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-23831.json"
}
}
],
"modified": "2026-10-28T02:30:51.512620138Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23831.json",
"https://github.com/ledgersmb/LedgerSMB/security/advisories/GHSA-98ff-f638-qxjm",
"https://nvd.nist.gov/vuln/detail/CVE-2024-23831",
"https://github.com/ledgersmb/LedgerSMB/commit/8c2ae5be68a782d62cb9c0e17c0127bf30ef4165"
],
"provider_metadata": {
"cwe_ids": [
"CWE-352"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23831.json"
}
},
"related_cves": [
{
"value": "CVE-2024-23831",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 520181,
"published_at": "2024-02-02T15:34:12.121+00:00"
}