CVE-2021-23835 Path traversal in n/a

Medium 4.9 Published Updated

An attacker with admin access can exploit a local file disclosure vulnerability in flatCore to read sensitive server files via the docs_file parameter.

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

What is CVE-2021-23835?

CVE-2021-23835 is a medium-severity path traversal vulnerability in n/a, published on 15 Jan 2021. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

An issue was discovered in flatCore before 2.0.0 build 139. A local file disclosure vulnerability was identified in the docs_file HTTP request body parameter for the acp interface. This can be exploited with admin access rights. The affected parameter (which retrieves the contents of the specified file) was found to be accepting malicious user input without proper sanitization, thus leading to retrieval of backend server sensitive files, e.g., /etc/passwd, SQLite database files, PHP source code, etc.

Weakness: CWE-20

Which versions are affected by CVE-2021-23835?

It affects 1 product.

Products include Flatcore Flatcore.

How do I fix CVE-2021-23835?

No fix has been published for CVE-2021-23835 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-2021-23835 being exploited?

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

Sources

Also known as GHSA-32wp-rjr7-9fg7.

Is CVE-2021-23835 in your software?

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

Check your SBOMs for free