CVE-2020-5292 Time-based blind injection in Leantime
Attackers with valid sessions can execute arbitrary SQL queries via the searchUsers parameter to exfiltrate data or modify database contents.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2020-5292?
CVE-2020-5292 is a high-severity SQL injection vulnerability in Leantime, published on 31 Mar 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Leantime before versions 2.0.15 and 2.1-beta3 has a SQL Injection vulnerability. The impact is high. Malicious users/attackers can execute arbitrary SQL queries negatively affecting the confidentiality, integrity, and availability of the site. Attackers can exfiltrate data like the users' and administrators' password hashes, modify data, or drop tables. The unescaped parameter is "searchUsers" when sending a POST request to "/tickets/showKanban" with a valid session. In the code, the parameter is named "users" in class.tickets.php. This issue is fixed in versions 2.0.15 and 2.1.0 beta 3.
Weakness: CWE-89
Which versions are affected by CVE-2020-5292?
It affects 1 product.
Products include Leantime Leantime.
How do I fix CVE-2020-5292?
No fix has been published for CVE-2020-5292 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-2020-5292 being exploited?
There is no known exploitation of CVE-2020-5292 in the wild and no public exploit code.
Other vulnerabilities in Leantime
Sources
Also known as GHSA-ww6x-rhvp-55hp.