CVE-2023-45826
Published: 19 October 2023
Summary
CVE-2023-45826 is a medium-severity SQL Injection (CWE-89) vulnerability in Leantime Leantime. Its CVSS base score is 6.5 (Medium).
Operationally, ranked in the top 2.9% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
Leantime is an open source project management system affected by an SQL injection vulnerability tracked as CVE-2023-45826. The flaw stems from an unparameterized userId variable in app/domain/files/repositories/class.files.php, which fails to properly sanitize input before constructing database queries. The issue carries a CVSS 3.1 score of 6.5 and is classified under CWE-89.
An authenticated attacker can exploit the weakness by sending a crafted POST request to the /api/jsonrpc endpoint. Successful exploitation allows the attacker to dump arbitrary information from the database, impacting confidentiality while leaving integrity and availability unaffected.
The vulnerability was addressed in Leantime version 2.4-beta-4 via a commit that parameterizes the affected query. The project’s GitHub Security Advisory GHSA-559g-3h98-g3fj states that users should upgrade and notes that no workarounds are available.
The associated EPSS score has remained flat at 0.3441 with no material increase after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-50097
Vulnerability details
Leantime is an open source project management system. A 'userId' variable in `app/domain/files/repositories/class.files.php` is not parameterized. An authenticated attacker can send a carefully crafted POST request to `/api/jsonrpc` to exploit an SQL injection vulnerability. Confidentiality is impacted as it allows…
more
for dumping information from the database. This issue has been addressed in version 2.4-beta-4. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.