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 151 to 200 of 411
  1. Client-side routing and resource loading did not strictly validate or normalise paths, so encoded traversal escaped intended directories.

    Seen in 1 report
  2. Containment was checked with a lexical prefix comparison instead of real directory boundaries.

    Seen in 1 report
  3. Crafted directory paths were not validated correctly, letting an app reach files outside its area.

    Seen in 1 report
  4. Crafted paths are not correctly resolved before the sensitive-location check runs.

    Seen in 1 report
  5. Credentials were stored in cleartext on the server, so a file read exposed them directly.

    Seen in 1 report
  6. curl built a local gateway path from an environment variable without resolving it or rejecting parent-directory sequences.

    Seen in 1 report
  7. Data and index directory paths are not validated or sanitised, and a fallback in path resolution allows traversal.

    Seen in 1 report
  8. Dot-segment cleanup happens before decoding percent-encoded separators, so a late-decoded slash creates new parent segments.

    Seen in 1 report
  9. Double colons are unescaped into slashes before use in a file path, and traversal protection is insufficient.

    Seen in 1 report
  10. Error messages included file contents, turning a failed import into a file read.

    Seen in 1 report
  11. Exported components accepted attacker-controlled URIs and paths, and a custom permission defaulted to normal because no protection level was set.

    Seen in 1 report
  12. Extraction used the tar extraction call without the data filter, and a path length symlink resolution bug bypassed path filtering.

    Seen in 1 report
  13. File paths and deep link parameters were not validated.

    Seen in 1 report
  14. File-type validation returned true for any path not classified as relative.

    Seen in 1 report
  15. Filename sanitisation was compiled only for Windows, so other builds used the URL's last path segment unvalidated as the output filename.

    Seen in 1 report
  16. Fork name inputs were used to build file paths without validation, allowing traversal.

    Seen in 1 report
  17. Insufficient file path validation let traversal sequences bypass an IP-based restriction.

    Seen in 1 report
  18. Insufficient input validation and path sanitisation in file operations, combined with a blocklist for dangerous file types and unsafe command construction.

    Seen in 1 report
  19. Insufficient validation of file paths in the web interface.

    Seen in 1 report
  20. Insufficient validation of user-supplied file paths in backup logic.

    Seen in 1 report
  21. JavaScript concatenated user input into a URL path without sanitising traversal characters, and the OAuth endpoint allowed an open redirect.

    Seen in 1 report
  22. Leftover debug code skipped re-initialisation of CGI variables, letting URL parameters override the filename used in deletion.

    Seen in 1 report
  23. Naive substring stripping of absolute paths and a directory cache that desynchronised around symlinks and Unicode normalisation.

    Seen in 1 report
  24. Office failed to sanitise traversal sequences in the query string when constructing the filename for a shortcut file.

    Seen in 1 report
  25. One parser validates a URL and a different parser loads it, so a URL that passes validation is interpreted differently at load time.

    Seen in 1 report
  26. Only part of a URL is validated while query strings and parameters are not handled.

    Seen in 1 report
  27. Ownership was checked only on the first design identifier in the path, and the raw path was then used to read a file.

    Seen in 1 report
  28. Path validation checks the normal path but does not normalise alternate forms such as NTFS alternate data streams.

    Seen in 1 report
  29. Path validation enforced a character whitelist but did not restrict the filename to approved entrypoints.

    Seen in 1 report
  30. Path validation mixed forward-slash joining with OS-separator comparison, so Windows paths escaped the check.

    Seen in 1 report
  31. Path validation used a call that follows symbolic links, so a symlink inside the repository passed the containment check.

    Seen in 1 report
  32. Path.Combine was used with user-controlled input without validation, and the patch did not cover paths starting with a separator.

    Seen in 1 report
  33. Paths from a server response are handled without confining them to the intended directory.

    Seen in 1 report
  34. Paths supplied by a network directory server are not validated.

    Seen in 1 report
  35. Poor URL normalisation with double decoding and a reverse proxy forwarding broken paths to the backend.

    Seen in 1 report
  36. Projects depend on package names that nobody has registered on the public registry.

    Seen in 1 report
  37. Request path data was passed into a file lookup without normalisation or directory restriction.

    Seen in 1 report
  38. Request paths were URL-decoded without sanitising, and a configuration value reached a shell command unvalidated.

    Seen in 1 report
  39. Several Dir methods did not reject null characters in path strings.

    Seen in 1 report
  40. Signature synchronisation joined attacker-controlled path components to a base directory without normalising or confining the result.

    Seen in 1 report
  41. Socket path strings were not checked for null bytes, so the operating system truncated the path at the null.

    Seen in 1 report
  42. String-based extension checks do not account for null bytes that truncate the filename.

    Seen in 1 report
  43. Symbolic links were not validated sufficiently, allowing sandbox escape.

    Seen in 1 report
  44. Symlink paths were not sanitised during extraction and leading slashes were stripped from tar entry names.

    Seen in 1 report
  45. Symlinks created inside a preopen were followed without checking the resolved target stayed inside the sandbox.

    Seen in 1 report
  46. Tar entry names were concatenated onto a base directory without sanitising traversal sequences, and the endpoint allowed unauthenticated access.

    Seen in 1 report
  47. The Accept-Language header value was used directly in a file path without sufficient validation.

    Seen in 1 report
  48. The AJP connector was enabled by default and did not properly restrict which files could be requested, allowing traversal and file inclusion.

    Seen in 1 report
  49. The API routing parser mishandled encoded question marks in path segments, and the internal CGI script trusted an unsigned identity header.

    Seen in 1 report
  50. The app accepted a file path without confirming it stayed inside the intended directory.

    Seen in 1 report