Skip to content

In-depth lesson · Path traversal

Root causes

Every point the Path traversal reports back under this heading, best-backed first, each with the reports it is seen in.

Back to the lesson 351 to 400 of 411
  1. The server accepted a user-supplied file path for export operations without restricting it to a safe directory.

    Seen in 1 report
  2. The server fails to restrict a user-supplied pathname to its intended directory.

    Seen in 1 report
  3. The server trusted an unsigned client header for authentication and passed user paths straight to the file-send helper.

    Seen in 1 report
  4. The service builds a resource path from user input without normalising or restricting it.

    Seen in 1 report
  5. The session identifier was used directly in path joining without validation.

    Seen in 1 report
  6. The session manager joined the sessions directory with a user-controlled session ID, allowing absolute paths and traversal to escape.

    Seen in 1 report
  7. The spooler did not validate relative paths when handling files received over a network printer connection.

    Seen in 1 report
  8. The static asset route did not sanitise user input, letting traversal escape the assets folder.

    Seen in 1 report
  9. The static file handler decoded the request path and joined it to the plugin directory without checking the result stayed inside.

    Seen in 1 report
  10. The static file handler decoded the request path twice, so an encoded traversal survived the first check.

    Seen in 1 report
  11. The static file handler did not sanitise user paths and redirect logic appended a slash without validation.

    Seen in 1 report
  12. The stylesheet compiler's import directive could reference arbitrary local files and compilation errors leaked file contents.

    Seen in 1 report
  13. The subPath attribute in volume mounts was not validated, so a container could resolve paths outside the mounted volume.

    Seen in 1 report
  14. The symlink detection function checked for the wrong entry type string, so symlinks were not ignored during extraction.

    Seen in 1 report
  15. The tar extraction changed permissions but did not remove or reject symbolic links.

    Seen in 1 report
  16. The template lookup passed user-controlled format details into file path building without rejecting traversal sequences.

    Seen in 1 report
  17. The template parameter accepted a file URL without restricting path traversal.

    Seen in 1 report
  18. The template parameter was passed to the rendering engine without validation or an allowlist.

    Seen in 1 report
  19. The template path from a request parameter was included without validation.

    Seen in 1 report
  20. The ticket parameter was passed into a file path without normalisation or restriction to an allowed directory.

    Seen in 1 report
  21. The translation endpoint did not restrict the lang path and the SAML response endpoint reflected input without sanitising.

    Seen in 1 report
  22. The unpacking process did not sanitise file paths inside the package.

    Seen in 1 report
  23. The unzip routine did not check that extracted paths stayed within the destination directory.

    Seen in 1 report
  24. The update routine passed a user-controlled path into file operations without restricting it to the intended directory.

    Seen in 1 report
  25. The update tool took the destination path for each file directly from the package control file.

    Seen in 1 report
  26. The upload concatenates a caller-supplied filename onto a temporary directory without canonicalisation, and login trusts a caller-supplied identity.

    Seen in 1 report
  27. The upload handler used the user-supplied filename without sanitising traversal and stored files in a public location.

    Seen in 1 report
  28. The URI handler did not validate the URL scheme or host, allowing file URLs and arbitrary sites.

    Seen in 1 report
  29. The URL path was used directly in a client-side fetch without validation or encoding, and the response was reused in an authenticated request.

    Seen in 1 report
  30. The user-controlled cache key was used in a file path without sanitisation.

    Seen in 1 report
  31. The user-controlled map cycle file value was passed straight to file open functions without validation.

    Seen in 1 report
  32. The user-controlled name parameter was appended directly to a file path without checking it stayed within the intended directory.

    Seen in 1 report
  33. The user-supplied identifier was trusted as a folder name without checking for collisions with existing data directories.

    Seen in 1 report
  34. The user-supplied parameter name was used directly to build a file path without validation.

    Seen in 1 report
  35. The user-supplied path parameter was used to read files without sanitisation.

    Seen in 1 report
  36. The username was used directly as a folder name without sanitising special characters, so deletion resolved to the parent data directory.

    Seen in 1 report
  37. The version field used to build the download destination was not checked for traversal sequences.

    Seen in 1 report
  38. The WAF did not resolve traversal sequences before applying its block rules.

    Seen in 1 report
  39. The web application did not drop privileges when browsing the filesystem, unlike when running user scripts.

    Seen in 1 report
  40. The ZIP extraction library was used without disabling the option that strips parent-directory sequences.

    Seen in 1 report
  41. The ZIP extraction routine did not sanitise entry filenames before writing files.

    Seen in 1 report
  42. Token handling parsed claims without verifying the signature.

    Seen in 1 report
  43. Two parsers interpret the same input differently, letting a crafted file smuggle values past a validator.

    Seen in 1 report
  44. Untrusted input was passed straight to GDAL without validating the path or restricting the dataset format.

    Seen in 1 report
  45. URI parsing did not normalise double slashes, letting an accessible path reach a non-accessible one.

    Seen in 1 report
  46. User input was concatenated to a workspace path without checking the result stayed inside the workspace.

    Seen in 1 report
  47. User input was joined into filesystem paths without checking for traversal or confining the result.

    Seen in 1 report
  48. User input was passed directly to a file-opening function, and a secret key was stored in source code.

    Seen in 1 report
  49. User input was passed directly to a file-reading function without restricting the path.

    Seen in 1 report
  50. User input was used directly as a file path without restricting it to a list of allowed pages.

    Seen in 1 report