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 301 to 350 of 411
  1. The image editor's client state field was neither encrypted nor signed, so a client-supplied image path was trusted and served by the cache handler.

    Seen in 1 report
  2. The import service appended an unsanitised path parameter to the uploads directory and did not verify uploaded file contents.

    Seen in 1 report
  3. The index file option was joined with the directory path without validation.

    Seen in 1 report
  4. The Ingress path value was written into the generated nginx configuration without sanitisation, allowing alias and location directive injection.

    Seen in 1 report
  5. The installer resolved the destination directory but only checked that the target path started with it, so a symlink pointing outside passed the check.

    Seen in 1 report
  6. The IPC handler did not validate the path supplied by the content process before passing it to file-writing code.

    Seen in 1 report
  7. The IsHiddenItem check used lstat so it detected only a symbolic link in the final component, not intermediate ones.

    Seen in 1 report
  8. The Java bindings for the safe base name type did not perform the same validation as the native implementation.

    Seen in 1 report
  9. The Jolokia endpoint was exposed without authentication and allowed diagnostic commands that read local files.

    Seen in 1 report
  10. The last path segment of a URL was used as a filename without sanitising traversal sequences.

    Seen in 1 report
  11. The loader checked only that a path existed and then opened it, following archive-created symbolic links without confirming the resolved file stayed inside the extraction directory.

    Seen in 1 report
  12. The local file name was taken from the URL tail without sanitising traversal sequences.

    Seen in 1 report
  13. The markdown file check used an unanchored regular expression and the path was built from the raw URL.

    Seen in 1 report
  14. The media processing build allowed HLS playlists to reference local files without restricting the protocol or path.

    Seen in 1 report
  15. The media server followed symbolic links without restricting them to the USB drive.

    Seen in 1 report
  16. The name parameter is used directly as a filename without stripping separators, and the sanitiser only runs when the parameter is empty.

    Seen in 1 report
  17. The nodot check only examined the first path segment or the final filename, so a path traversing into a dotfolder was not rejected.

    Seen in 1 report
  18. The nonce check ran after the vulnerable file operation, allowing cross-site triggering.

    Seen in 1 report
  19. The output filename was joined without basename enforcement and file content was not escaped.

    Seen in 1 report
  20. The output path was taken from user input without normalisation or a check that it stays in a safe directory.

    Seen in 1 report
  21. The package filename was built from unvalidated metadata fields without sanitising traversal sequences.

    Seen in 1 report
  22. The page title was used as a filename component without sanitisation.

    Seen in 1 report
  23. The pagename value was URL-decoded and used to build a template path without validating that the resolved file stayed inside the theme directory.

    Seen in 1 report
  24. The parser included the fragment in the path when a query mark appeared after the hash instead of stripping it.

    Seen in 1 report
  25. The parser used the ustar header size instead of the PAX size, causing misalignment that let nested entries be treated as outer entries.

    Seen in 1 report
  26. The parser used the ustar size field to find the next archive boundary even when a PAX header had overridden the size.

    Seen in 1 report
  27. The path check only verified the filename suffix and did not reject directory separators, allowing traversal into profile subdirectories.

    Seen in 1 report
  28. The path from a QUOTE command was copied into a buffer without validating or removing parent-directory sequences.

    Seen in 1 report
  29. The path is decoded for a security check but the decoded value is then passed to a dispatcher that decodes it again, so the check and the actual resource resolution disagree.

    Seen in 1 report
  30. The path was validated with C-style string functions that stop at a NULL byte while the file operation processed a different path.

    Seen in 1 report
  31. The pattern was treated as a C-style string that stops at the first null byte.

    Seen in 1 report
  32. The permission check compared path components with strict string equality, missing components the operating system normalises.

    Seen in 1 report
  33. The permission check compared the unresolved path string against the allowed directory instead of resolving it to a canonical path.

    Seen in 1 report
  34. The permission model converted the resolved path with a buffer function that user code could influence.

    Seen in 1 report
  35. The permission model trusted built-in path normalisation functions that are mutable at runtime.

    Seen in 1 report
  36. The plugin identifier is concatenated into a filesystem path without validation.

    Seen in 1 report
  37. The portal resolved app-supplied symlinks before validating the resulting host path.

    Seen in 1 report
  38. The postprocess function parsed user input as JSON and copied any file referenced by a path key without validation.

    Seen in 1 report
  39. The profile route resolved the username as a static file path, so a matching HTML file shadowed the profile.

    Seen in 1 report
  40. The recursive deletion did not check for reparse points before recursing.

    Seen in 1 report
  41. The request handler sets a null user and skips authorisation when the path contains a specific marker or ends with certain static file extensions, then rewrites certain paths to an internal file handler.

    Seen in 1 report
  42. The reserved-name check only matches ASCII digits after COM and LPT.

    Seen in 1 report
  43. The resolved path from the relocation file is never checked to stay inside the original repository.

    Seen in 1 report
  44. The restore routine followed filesystem junctions without checking the real target path, so writes escaped the intended directory.

    Seen in 1 report
  45. The root configuration setting was ineffective because the directory reading code did not validate traversal sequences.

    Seen in 1 report
  46. The sandbox guard compares a normalised path against itself, so the condition is always false.

    Seen in 1 report
  47. The sanitiser removed illegal characters but did not reject reserved device names, unlike other parts of the same subsystem.

    Seen in 1 report
  48. The sanitiser removed only reserved characters and did not reject dot or dot-dot names, so path joining normalised to a parent directory.

    Seen in 1 report
  49. The script passed a user-controlled path parameter straight to a file-open call without restricting it to a directory.

    Seen in 1 report
  50. The security policy canonicalised the URL path while the class loader used the raw path as a literal JAR entry name, creating a check/use mismatch.

    Seen in 1 report