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 101 to 150 of 411
  1. A package option from the descriptor was joined into the output path without checking it stayed inside the output directory.

    Seen in 1 report
  2. A parser differential between Ruby and Go YAML handling let a hidden parent key bypass validation, and extraction joined a cleaned but still relative entry name onto the target directory.

    Seen in 1 report
  3. A parser differential between the proxy and the application means the proxy does not decode the path segment while the app does.

    Seen in 1 report
  4. A patch removed the way to learn a monitoring UUID rather than the vulnerable file-retrieval code itself.

    Seen in 1 report
  5. A patched archive library overwrote the physical filename length with the Unicode Path Extra Field length, desynchronising the parser's position for the next entry.

    Seen in 1 report
  6. A path join was used and then checked with a prefix test, but the join does not resolve dot-dot sequences so the check never fired.

    Seen in 1 report
  7. A path validation flaw allowed file paths to be manipulated for arbitrary read and write.

    Seen in 1 report
  8. A plain string type specifier was used where a path type was needed, so a null byte truncated the value before validation saw it.

    Seen in 1 report
  9. A plugin includes local files based on a request parameter without validating or sanitising it.

    Seen in 1 report
  10. A POST parameter was passed straight into an image merge function without sanitisation.

    Seen in 1 report
  11. A privileged helper executed a program from a relative or searchable path instead of an absolute trusted path.

    Seen in 1 report
  12. A privileged service trusted a user-writable registry value for its install path and wrote a log file there without validating the path.

    Seen in 1 report
  13. A query string value was used directly in a file path without validation.

    Seen in 1 report
  14. A request forwarding filter bypassed authentication and the REST key check returned true when no valid key was supplied.

    Seen in 1 report
  15. A request parameter was passed directly into a file path without validating or normalising it.

    Seen in 1 report
  16. A simple string prefix comparison without a directory separator allowed writes into sibling directories.

    Seen in 1 report
  17. A template finder concatenated user input into a path, and failed imports left symlinks in predictable temp directories.

    Seen in 1 report
  18. A traversal check exists on the documented endpoint but the undocumented endpoint serving the same data skips it.

    Seen in 1 report
  19. A user-controlled file name was passed to path resolution without checking it was relative, so an absolute path overrode the base directory.

    Seen in 1 report
  20. A user-controlled filename was passed to a file deletion function without checking it referred to an uploaded temporary file.

    Seen in 1 report
  21. A user-controlled item name was concatenated into a filesystem path without canonicalisation or an allow-list.

    Seen in 1 report
  22. A user-controlled parameter was passed directly into an include statement without validation.

    Seen in 1 report
  23. A user-controlled path from the HTTP request was passed directly to the module loader.

    Seen in 1 report
  24. A user-controlled path parameter was passed to a file-reading function without restricting it to the upload directory.

    Seen in 1 report
  25. A user-controlled path parameter went straight into file operations without validation.

    Seen in 1 report
  26. A user-controlled path segment was concatenated into a URL without validation, and the downstream API merged query parameters into the request body.

    Seen in 1 report
  27. A user-controlled path segment was passed to a file-reading API without normalising it or restricting it to an allowed directory.

    Seen in 1 report
  28. A user-controlled portion of the uploaded file's content was used to build the destination path without sanitising traversal sequences.

    Seen in 1 report
  29. A user-controlled report version was joined into a file path without validation.

    Seen in 1 report
  30. A user-supplied file name was combined with a base path using a path-combining call without validation, so traversal escaped the base.

    Seen in 1 report
  31. A user-supplied filename is joined to a base directory without checking the final resolved path, and an absolute path discards the base.

    Seen in 1 report
  32. A user-supplied path from a request header was used in file operations without sanitisation.

    Seen in 1 report
  33. A user-supplied path was joined onto a base directory without normalising it or checking the result stayed inside the intended folder.

    Seen in 1 report
  34. Access control checks used a path that could be traversed to reach protected pages.

    Seen in 1 report
  35. Access decisions relied on the URL path rather than the user's role.

    Seen in 1 report
  36. An Android-specific early return skips the safe path component validation used elsewhere.

    Seen in 1 report
  37. An API file-reading endpoint did not restrict file paths, and a hardcoded admin secret in the app made it reachable.

    Seen in 1 report
  38. An authentication filter change left add-on endpoints to enforce their own access control, which they did not.

    Seen in 1 report
  39. An exported receiver had no permission check and the split identifier was used in a file path without validation.

    Seen in 1 report
  40. An externally supplied URI was passed to a file-copy routine without checking it pointed to an allowed location.

    Seen in 1 report
  41. An identifier from sync data is not validated before being appended to a filesystem path.

    Seen in 1 report
  42. An incomplete fix for an earlier traversal left path normalisation bypassable.

    Seen in 1 report
  43. An outdated build is left directly exposed to the internet with known request-processing and resource endpoint flaws.

    Seen in 1 report
  44. An unsanitised path parameter was concatenated onto a storage prefix, and hashed filenames were publicly listed.

    Seen in 1 report
  45. An unvalidated preview path was passed to a server execute call, and a page used reflection to call arbitrary instance methods.

    Seen in 1 report
  46. Applications search for DLLs in locations an attacker can write to instead of trusted directories.

    Seen in 1 report
  47. Archive entry paths were combined with the extraction directory but never canonicalised and checked against the extraction root.

    Seen in 1 report
  48. Attacker-controlled HTML was passed to the PDF renderer without restricting the URL scheme or path.

    Seen in 1 report
  49. Automatic decompression left symlinks in a shared temporary directory that a later archive followed.

    Seen in 1 report
  50. Backslashes in the basename and extension arguments were not sanitised on Windows.

    Seen in 1 report