PT-2023-29714 · Leantime · Leantime

Cyber-Brent

·

Published

2023-10-19

·

Updated

2023-10-27

·

CVE-2023-45826

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Leantime versions prior to 2.4-beta-4
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.
Recommendations For versions prior to 2.4-beta-4, upgrade to version 2.4-beta-4 to address the issue. As a temporary workaround, consider restricting access to the /api/jsonrpc endpoint until the upgrade is applied. Additionally, avoid using the userId variable in the affected API endpoint until the issue is resolved.

Exploit

Fix

SQL injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2023-45826
GHSA-559G-3H98-G3FJ

Affected Products

Leantime