CVE-2021-40964 Path traversal in n/a
Attackers with admin credentials or via CSRF can use path traversal in the fullpath parameter to upload malicious files to arbitrary directories.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-40964?
CVE-2021-40964 is a medium-severity path traversal vulnerability in n/a, published on 15 Sep 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A Path Traversal vulnerability exists in TinyFileManager all version up to and including 2.4.6 that allows attackers to upload a file (with Admin credentials or with the CSRF vulnerability) with the "fullpath" parameter containing path traversal strings (../ and ..\) in order to escape the server's intended working directory and write malicious files onto any directory on the computer.
Weakness: CWE-22
Which versions are affected by CVE-2021-40964?
It affects 1 product.
Products include Prasathmani Tiny File Manager.
How do I fix CVE-2021-40964?
No fix has been published for CVE-2021-40964 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-40964 being exploited?
There is no known exploitation of CVE-2021-40964 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry and 1 proofs of concept on GitHub.
Other vulnerabilities in n/a
Sources
Also known as GHSA-fw9q-rwpp-xcw5.