Authenticated SQL Injection in leantime
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Leantime | leantime | before 2.4-beta-4 | 2.4-beta-4 | Patch available | CNA |
- leantime VendorLeantime Affected before 2.4-beta-4 Fixed in 2.4-beta-4 Patch available CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:leantime:leantime:*:*:*:*:*:*:*:* | before 2.4 | Vulnerable | Leantime |
| cpe:2.3:a:leantime:leantime:2.4:-:*:*:*:*:*:* | 2.4 | Vulnerable | Leantime |
| cpe:2.3:a:leantime:leantime:2.4:beta:*:*:*:*:*:* | 2.4 beta | Vulnerable | Leantime |
| cpe:2.3:a:leantime:leantime:2.4:beta2:*:*:*:*:*:* | 2.4 beta2 | Vulnerable | Leantime |
| cpe:2.3:a:leantime:leantime:2.4:beta3:*:*:*:*:*:* | 2.4 beta3 | Vulnerable | Leantime |
- cpe:2.3:a:leantime:leantime:*:*:*:*:*:*:*:* Versions before 2.4 Vulnerable ·Leantime
- cpe:2.3:a:leantime:leantime:2.4:-:*:*:*:*:*:* Versions 2.4 Vulnerable ·Leantime
- cpe:2.3:a:leantime:leantime:2.4:beta:*:*:*:*:*:* Versions 2.4 beta Vulnerable ·Leantime
- cpe:2.3:a:leantime:leantime:2.4:beta2:*:*:*:*:*:* Versions 2.4 beta2 Vulnerable ·Leantime
- cpe:2.3:a:leantime:leantime:2.4:beta3:*:*:*:*:*:* Versions 2.4 beta3 Vulnerable ·Leantime
Remediation
- Fix · CNA leantime (Leantime) Fixed in 2.4-beta-4
Timeline
- 2026-10-02 Threatist record created from CVE-2023-45826
References
More Leantime vulnerabilities
- TI-2024-18279 Leantime 3.0.6 is vulnerable to Cross Site Request Forgery (CSRF). CVSS 3.1HIGH 8.8
- TI-2024-18354 Cross Site Scripting vulnerability in Leantime v3.0.6 allows attackers to execute… CVSS 3.1HIGH 7.6
- TI-2024-18353 Cross Site Scripting vulnerability in Leantime 3.0.6 allows a remote attacker to execute… CVSS 3.1MEDIUM 5.4
- TI-2024-18280 Leantime 3.0.6 is vulnerable to HTML Injection via /dashboard/show#/tickets/newTicket. CVSS 3.1MEDIUM 4.7
- TI-2023-16829 Leantime Stored Cross-site Scripting Vulnerability CVSS 3.1HIGH 8.9
- TI-2020-04348 Time-based blind injection in Leantime CVSS 3.1HIGH 8.8
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences