Path traversal in Tiny File Manager



| Updated: 2023-03-13
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-45010
CWE-ID CWE-22
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Tiny File Manager
Web applications / Modules and components for CMS

Vendor Prasath Mani

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Path traversal

EUVDB-ID: #VU61442

Risk: Medium

CVSSv4.0: 2.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/U:Green]

CVE-ID: CVE-2021-45010

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in the file upload functionality in tinyfilemanager.php. A remote user can send a specially crafted HTTP request and upload arbitrary files on the system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Tiny File Manager: 2.4.6

CPE2.3 External links

https://github.com/prasathmani/tinyfilemanager/commit/2046bbde72ed76af0cfdcae082de629bcc4b44c7
https://github.com/prasathmani/tinyfilemanager/pull/636
https://raw.githubusercontent.com/febinrev/tinyfilemanager-2.4.6-exploit/main/exploit.sh
https://github.com/prasathmani/tinyfilemanager/pull/636/files/a93fc321a3c89fdb9bee860bf6df5d89083298d1
https://sploitus.com/exploit?id=1337DAY-ID-37364&utm_source=rss&utm_medium=rss
https://github.com/febinrev/tinyfilemanager-2.4.3-exploit/raw/main/exploit.sh
https://febin0x4e4a.wordpress.com/2022/01/23/tiny-file-manager-authenticated-rce/
https://packetstormsecurity.com/files/166330/Tiny-File-Manager-2.4.6-Shell-Upload.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###