{"id":"CVE-2024-23831","state":"PUBLISHED","title":"Privilege escalation through CSRF attack on 'setup.pl'","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.\n","publishedAt":"2024-02-02T15:34:12.121Z","updatedAt":"2024-08-21T15:39:55.803Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["ledgersmb LedgerSMB"],"affected":[{"vendor":"ledgersmb","product":"LedgerSMB","versions":[{"version":"< 1.10.30","status":"affected"},{"version":">= 1.11.0, < 1.11.9","status":"affected"}]}],"references":["https://github.com/ledgersmb/LedgerSMB/security/advisories/GHSA-98ff-f638-qxjm","https://github.com/ledgersmb/LedgerSMB/commit/8c2ae5be68a782d62cb9c0e17c0127bf30ef4165"],"weaknesses":["CWE-352"],"ingestedAt":"2026-10-29T20:06:59.846Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/23xxx/CVE-2024-23831.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-23831","state":"PUBLISHED","datePublished":"2024-02-02T15:34:12.121Z","dateUpdated":"2024-08-21T15:39:55.803Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-01-22T22:23:54.339Z"},"containers":{"cna":{"title":"Privilege escalation through CSRF attack on 'setup.pl'","descriptions":[{"lang":"en","value":"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.\n"}],"affected":[{"vendor":"ledgersmb","product":"LedgerSMB","versions":[{"version":"< 1.10.30","status":"affected"},{"version":">= 1.11.0, < 1.11.9","status":"affected"}]}],"references":[{"url":"https://github.com/ledgersmb/LedgerSMB/security/advisories/GHSA-98ff-f638-qxjm","name":"https://github.com/ledgersmb/LedgerSMB/security/advisories/GHSA-98ff-f638-qxjm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ledgersmb/LedgerSMB/commit/8c2ae5be68a782d62cb9c0e17c0127bf30ef4165","name":"https://github.com/ledgersmb/LedgerSMB/commit/8c2ae5be68a782d62cb9c0e17c0127bf30ef4165","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-352","lang":"en","description":"CWE-352: Cross-Site Request Forgery (CSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-02-02T15:34:12.121Z"},"source":{"advisory":"GHSA-98ff-f638-qxjm","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/ledgersmb/LedgerSMB/security/advisories/GHSA-98ff-f638-qxjm","name":"https://github.com/ledgersmb/LedgerSMB/security/advisories/GHSA-98ff-f638-qxjm","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/ledgersmb/LedgerSMB/commit/8c2ae5be68a782d62cb9c0e17c0127bf30ef4165","name":"https://github.com/ledgersmb/LedgerSMB/commit/8c2ae5be68a782d62cb9c0e17c0127bf30ef4165","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T23:13:07.975Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"ledgersmb","product":"ledgersmb","defaultStatus":"unknown","versions":[{"version":"1.11.0","status":"affected","lessThan":"1.11.9","versionType":"custom"},{"version":"0","status":"affected","lessThan":"1.10.30","versionType":"custom"}],"cpes":["cpe:2.3:a:ledgersmb:ledgersmb:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-21T15:37:19.047670Z","id":"CVE-2024-23831","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-21T15:39:55.803Z"}}]}}}