CVE-2023-45826 Authenticated SQL Injection in leantime

Medium 6.5 Published Updated

An authenticated attacker can exploit an SQL injection vulnerability in Leantime to dump sensitive information from the database.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-45826?

CVE-2023-45826 is a medium-severity SQL injection vulnerability in leantime, published on 19 Oct 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-89

Which versions are affected by CVE-2023-45826?

It affects 1 product.

Products include Leantime Leantime.

How do I fix CVE-2023-45826?

No fix has been published for CVE-2023-45826 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2023-45826 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-45826 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-559g-3h98-g3fj.

Is CVE-2023-45826 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free