CVE-2020-15097 Path Traversal in loklak

Critical 9.1 Published Updated

Attackers can read and write arbitrary files on the server via path traversal in loklak APIs, requiring an upgrade to secure hosted instances.

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

What is CVE-2020-15097?

CVE-2020-15097 is a critical path traversal vulnerability in loklak, published on 2 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

loklak is an open-source server application which is able to collect messages from various sources, including twitter. The server contains a search index and a peer-to-peer index sharing interface. All messages are stored in an elasticsearch index. In loklak less than or equal to commit 5f48476, a path traversal vulnerability exists. Insufficient input validation in the APIs exposed by the loklak server allowed a directory traversal vulnerability. Any admin configuration and files readable by the app available on the hosted file system can be retrieved by the attacker. Furthermore, user-controlled content could be written to any admin config and files readable by the application. This has been patched in commit 50dd692. Users will need to upgrade their hosted instances of loklak to not be vulnerable to this exploit.

Weakness: CWE-22

Which versions are affected by CVE-2020-15097?

It affects 1 product.

Products include Loklak Project Loklak.

How do I fix CVE-2020-15097?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2020-15097 being exploited?

There is no known exploitation of CVE-2020-15097 in the wild and no public exploit code.

Sources

Also known as GHSA-7557-4v29-rqw6.

Is CVE-2020-15097 in your software?

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

Check your SBOMs for free