Vulnerabilities

CWE-22: Improper Limitation of a Pathname to a Restricted Directory

Weakness type from the CWE catalogue (version 4.21)

What the weakness means

The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Definition as published by MITRE, in English.

4,656 vulnerabilities in the service point to this weakness

  1. CVE-2023-51639 Critical 9.8

    Allegra downloadExportedChart Directory Traversal Authentication Bypass Vulnerability. This vulnerability allows remote attackers to bypass authentication on affected installations of Allegra. Authen…

  2. CVE-2024-11315 Critical 9.8

    The DVC from TRCore has a Path Traversal vulnerability and does not restrict the types of uploaded files. This allows unauthenticated remote attackers to upload arbitrary files to any directory, lead…

  3. CVE-2024-11313 Critical 9.8

    The DVC from TRCore has a Path Traversal vulnerability and does not restrict the types of uploaded files. This allows unauthenticated remote attackers to upload arbitrary files to any directory, lead…

  4. CVE-2024-11314 Critical 9.8

    The DVC from TRCore has a Path Traversal vulnerability and does not restrict the types of uploaded files. This allows unauthenticated remote attackers to upload arbitrary files to any directory, lead…

  5. CVE-2024-11312 Critical 9.8

    The DVC from TRCore has a Path Traversal vulnerability and does not restrict the types of uploaded files. This allows unauthenticated remote attackers to upload arbitrary files to any directory, lead…

  6. CVE-2024-11311 Critical 9.8

    The DVC from TRCore has a Path Traversal vulnerability and does not restrict the types of uploaded files. This allows unauthenticated remote attackers to upload arbitrary files to any directory, lead…

  7. CVE-2024-50648 Critical 9.8

    yshopmall V1.0 has an arbitrary file upload vulnerability, which can enable RCE or even take over the server when improperly configured to parse JSP files.

  8. CVE-2024-50649 Critical 9.8

    The user avatar upload function in python_book V1.0 has an arbitrary file upload vulnerability.

  9. CVE-2024-48510 Critical 9.8

    Directory Traversal vulnerability in DotNetZip v.1.16.0 and before allows a remote attacker to execute arbitrary code via the src/Zip.Shared/ZipEntry.Extract.cs component NOTE: This vulnerability onl…

  10. CVE-2024-11150 Critical 9.8

    The WordPress User Extra Fields plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the delete_tmp_uploaded_file() function in all versions up to…

  11. CVE-2024-10470 Critical 9.8

    The WPLMS Learning Management System for WordPress, WordPress LMS theme for WordPress is vulnerable to arbitrary file read and deletion due to insufficient file path validation and permissions checks…

  12. CVE-2024-39332 Critical 9.8

    Webswing 23.2.2 allows remote attackers to modify client-side JavaScript code to achieve path traversal, likely leading to remote code execution via modification of shell scripts on the server.

  13. CVE-2024-5982 Critical 9.8

    A path traversal vulnerability exists in the latest version of gaizhenbiao/chuanhuchatgpt. The vulnerability arises from unsanitized input handling in multiple features, including user upload, direct…

  14. CVE-2024-49286 Critical 9.8

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Jeroen Berkvens SSV Events ssv-events allows PHP Local File Inclusion.This issue affects SSV Events: fr…

  15. CVE-2024-9047 Critical 9.8

    The WordPress File Upload plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 4.24.11 via wfu_file_downloader.php. This makes it possible for unauthenticated at…

  16. CVE-2024-47010 Critical 9.8

    Path Traversal in Ivanti Avalanche before version 6.4.5 allows a remote unauthenticated attacker to bypass authentication.

  17. CVE-2024-47009 Critical 9.8

    Path Traversal in Ivanti Avalanche before version 6.4.5 allows a remote unauthenticated attacker to bypass authentication.

  18. CVE-2024-47556 Critical 9.8

    Pre-Auth RCE via Path Traversal

  19. CVE-2024-47557 Critical 9.8

    Pre-Auth RCE via Path Traversal

  20. CVE-2024-46446 Critical 9.8

    Mecha CMS 3.0.0 is vulnerable to Directory Traversal. An attacker can construct cookies and URIs that bypass user identity checks. Parameters can then be passed through the POST method, resulting in …

  21. CVE-2024-33109 Critical 9.8

    Directory Traversal in the web interface of the Tiptel IP 286 with firmware version 2.61.13.10 allows attackers to overwrite arbitrary files on the phone via the Ringtone upload function.

  22. CVE-2024-46375 Critical 9.8

    Best House Rental Management System 1.0 contains an arbitrary file upload vulnerability in the signup() function of the file rental/admin_class.php.

  23. CVE-2024-46376 Critical 9.8

    Best House Rental Management System 1.0 contains an arbitrary file upload vulnerability in the update_account() function of the file rental/admin_class.php.

  24. CVE-2024-8782 Critical 9.8

    A vulnerability was found in JFinalCMS up to 1.0. It has been rated as critical. This issue affects the function delete of the file /admin/template/edit. The manipulation of the argument name leads t…

  25. CVE-2024-7961 Critical 9.8

    A path traversal vulnerability exists in the Rockwell Automation affected product. If exploited, the threat actor could upload arbitrary files to the server that could result in a remote code executi…