CVE-2021-40964: CSRF

Published Sep 15, 2021
·
Updated

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.

Affected Software

2 affected components
Tinyfilemanager Project Tinyfilemanager<=2.4.6
prasathmani Tiny File Manager<=2.4.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade TinyFileManager to a version that resolves this vulnerability.

    Fixed in 2.4.6
  2. Configuration

    Update TinyFileManager so the upload handler validates the 'fullpath' parameter and rejects traversal sequences ('../' and '..\\') to prevent escaping the server’s intended working directory.

    TinyFileManager fullpath parameter = Reject/disable inputs containing path traversal strings (../ and ..\)

Event History

Sep 15, 2021
CVE Published
via MITRE·05:12 PM
Data Sourced
via MITRE·05:12 PM
Description
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-40964?

CVE-2021-40964 has a high severity rating due to its potential for remote code execution through unauthorized file uploads.

2

How do I fix CVE-2021-40964?

To fix CVE-2021-40964, upgrade TinyFileManager to version 2.4.7 or later, which addresses the path traversal vulnerability.

3

What systems are affected by CVE-2021-40964?

CVE-2021-40964 affects all versions of TinyFileManager up to and including version 2.4.6.

4

What is a path traversal vulnerability as seen in CVE-2021-40964?

A path traversal vulnerability allows attackers to manipulate file paths to access unauthorized files on the server.

5

Can attackers exploit CVE-2021-40964 without credentials?

Yes, attackers can exploit CVE-2021-40964 using CSRF vulnerabilities to upload files without valid credentials.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203