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 51 to 100 of 411
  1. A path from a RichMedia annotation or portfolio metadata is used in file operations without validation.

    Seen in 2 reports
  2. A path normalisation flaw in the web component failed to block traversal sequences in the URL.

    Seen in 2 reports
  3. A path taken from the model file is passed straight into file operations without a containment check.

    Seen in 2 reports
  4. A shared path sanitisation function did not properly normalise or block traversal sequences, so several endpoints relying on it stayed vulnerable.

    Seen in 2 reports
  5. All query or body parameters were passed straight to the render function, letting the layout property control the loaded file.

    Seen in 2 reports
  6. Directory traversal sequences in the file name were not sanitised before writing.

    Seen in 2 reports
  7. File operations lacked authorisation checks, so unauthenticated users could delete or read files once traversal worked.

    Seen in 2 reports
  8. Front ends build backend request paths from user input without encoding or validation.

    Seen in 2 reports
  9. Import and restore processes followed symbolic links in uploaded archives without blocking them.

    Seen in 2 reports
  10. Improper path normalisation and double decoding let encoded traversal sequences slip past checks.

    Seen in 2 reports
  11. Packages were extracted without checking for traversal via symbolic links, and the extraction ran with excessive privileges.

    Seen in 2 reports
  12. Path cleaning was applied without ensuring the path started with a slash, so dot-dot elements survived.

    Seen in 2 reports
  13. Path.Combine with user input lets an absolute path override the base directory because the result is never checked.

    Seen in 2 reports
  14. Paths are not normalised or validated before use, so a crafted path escapes the intended directory and the trust check.

    Seen in 2 reports
  15. Some file system functions were not routed through the shared path validation helper.

    Seen in 2 reports
  16. The copy routine did not sanitise filenames returned by the source file system.

    Seen in 2 reports
  17. The dispatch path was taken from a request value settable via HTTP headers rather than the real URL path.

    Seen in 2 reports
  18. The EFS component did not validate or normalise file paths, allowing an absolute path to escape the intended location.

    Seen in 2 reports
  19. The filter deleted all occurrences of the traversal sequence in one pass, so nesting the sequence survived the deletion.

    Seen in 2 reports
  20. The installer used the untrusted name field from gem metadata directly when building file paths.

    Seen in 2 reports
  21. The library did not normalise or restrict relative paths when extracting archives.

    Seen in 2 reports
  22. The method passes a user-supplied path to file operations without restricting it to an intended directory.

    Seen in 2 reports
  23. The page parameter was passed straight into an include statement with no validation or allowlist.

    Seen in 2 reports
  24. The permission check validated the symlink's own location rather than resolving it to its final target.

    Seen in 2 reports
  25. The permission model called a user-overridable path.resolve dynamically instead of keeping a reference to the original.

    Seen in 2 reports
  26. The raw entry filename is joined to the extraction path with an operator that does not strip parent segments.

    Seen in 2 reports
  27. The reader did not resolve symlinks or hardlinks to real paths and did not verify the resolved path stayed inside the vault.

    Seen in 2 reports
  28. The regular expression used an end-of-line anchor instead of an end-of-string anchor, so a newline in the filename bypassed the symlink removal check.

    Seen in 2 reports
  29. The rewrite module did not properly escape output when the first substitution segment was a backreference or variable.

    Seen in 2 reports
  30. The server concatenated the requested path onto the web root and served it without checking whether the resolved path stayed inside the root, so symlinks were followed.

    Seen in 2 reports
  31. The server-supplied filename is concatenated with the wildcard path and then URL-decoded as a whole.

    Seen in 2 reports
  32. The service fails to normalise or confine user-supplied pathnames to the intended directory.

    Seen in 2 reports
  33. The service parameter was appended to the log directory path without checking for traversal sequences, and a log suffix was appended to the result.

    Seen in 2 reports
  34. The shared hosting environment did not isolate sites, so symlinks reached other sites' files.

    Seen in 2 reports
  35. The subtitle extension from the video page was used directly in the output filename without sanitisation, and Windows accepted the resulting path.

    Seen in 2 reports
  36. The template candidate is added to the include list without the path-safety check used for other candidates.

    Seen in 2 reports
  37. The thumbnail filename from user input was stored without sanitisation and later passed to a delete call without validation.

    Seen in 2 reports
  38. User-supplied file names or paths are accepted without validation or restriction.

    Seen in 2 reports
  39. User-supplied filenames were used to build object keys without sanitisation.

    Seen in 2 reports
  40. User-supplied paths went into file read and delete operations without validation.

    Seen in 2 reports
  41. A build-time relative traversal string was embedded in the interpreter and used at runtime to derive the standard library location.

    Seen in 1 report
  42. A caller-supplied content URI was used to derive a destination path without checking it stayed inside the temporary directory.

    Seen in 1 report
  43. A client-supplied file path was accepted during upload without filtering.

    Seen in 1 report
  44. A content provider used the last path segment of a user-supplied URI without sanitising traversal, and code was loaded from a writable directory.

    Seen in 1 report
  45. A deeplink filename parameter was passed straight into a file path without sanitising traversal sequences.

    Seen in 1 report
  46. A file descriptor leak in older container runtimes let processes retain access to host files.

    Seen in 1 report
  47. A file path from the document parameter was included without restricting it to an allowed directory.

    Seen in 1 report
  48. A filename from a shared container is used as a path component without rejecting separators or dot segments.

    Seen in 1 report
  49. A fixed base directory was concatenated with unsanitised user input.

    Seen in 1 report
  50. A generic fetch helper did not validate the URL scheme or restrict paths to an attachments directory.

    Seen in 1 report