CVE-2023-45826: Leantime - SQL Injection
- Cve: CVE-2023-45826
- Name: Leantime - SQL Injection
- Description: 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 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.
- Impact: Attackers can dump sensitive database information, leading to confidentiality breach.
- Remediation: Upgrade to version 2.4-beta-4 or later.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure
- Requirement type: logged_in
- Requirements: Attacker needs to be authenticated
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.02116
- Epss percentile: 0.82307
- Assignee: [email protected]
- Published at: 2023-10-19T19:15:16Z
- Age in days: 1132
- Modified at: 2026-06-17T06:29:36Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-45826
- Nvd status: modified
- Checked, none or zero: known exploited entries, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2023-45826 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-45826.yaml |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/Leantime/leantime/commit/be75f1e0f311d11c00a0bdc7079a62eef3594bf0 | nvd | Patch |
| https://github.com/Leantime/leantime/security/advisories/GHSA-559g-3h98-g3fj | nvd | Vendor Advisory |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-45826.yaml | nuclei_template | Nuclei Template |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| leantime:leantime | = 2.4 beta3, < 2.4, = 2.4, = 2.4 beta, = 2.4 beta2 | no | nvd | /v1/products/leantime/leantime |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| Leantime/leantime | commit, security_advisory | yes | /v1/repositories/Leantime/leantime |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 72
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, initial access since, hackerone reports