Skip to content

In-depth lesson · Path traversal

Bypasses and variations

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 193
  1. Rename a crafted EPUB to a PDF extension to get past file type checks.

    Seen in 1 report
  2. Add query strings and parameters to a URL so only the path portion is validated.

    Seen in 1 report
  3. Use a glob pattern to match files outside the managed directory during cleanup.

    Seen in 1 report
  4. Use a crafted profile text chunk in a PNG to make ImageMagick read local files.

    Seen in 1 report
  5. Use a UNC path to leak the current user's authentication hash.

    Seen in 1 report
  6. Use a blob name containing traversal sequences to target a different bucket.

    Seen in 1 report
  7. Use a crafted URI file to carry a path past validation into file operations.

    Seen in 1 report
  8. Use a crafted backup file with symlinks to write to protected system locations during restore.

    Seen in 1 report
  9. Use a crafted tar archive with symlinks to create links to arbitrary files.

    Seen in 1 report
  10. Use a crafted EPUB with encoded slashes replaced by traversal sequences in the archive.

    Seen in 1 report
  11. Alternate Data Stream paths in RAR entries were used to slip past extraction checks.

    Seen in 1 report
  12. Reserved device names bypassed path traversal protection in path.normalize().

    Seen in 1 report
  13. After the device-name fix, use a UNC base path with path.join() and a device name containing traversal to escape the uploads directory.

    Seen in 1 report
  14. Appending traversal sequences to a blocked URL changed the response from blocked to allowed.

    Seen in 1 report
  15. A trailing backslash bypassed the deny list on Windows.

    Seen in 1 report
  16. A Windows path length limitation was used to shape where the attachment was written.

    Seen in 1 report
  17. A redirect gadget that preserves method and body was chained to turn client-side path traversal into a cross-origin request.

    Seen in 1 report
  18. Disagreeing PAX and ustar header sizes were used to hide a nested archive from scanners.

    Seen in 1 report
  19. URL-encoded dots in a branch name were decoded by the HTTP client into traversal sequences after being inserted unencoded into an API URL.

    Seen in 1 report
  20. The local file staging allowlist was itself a user-supplied connection property, so it could be pointed at any path.

    Seen in 1 report
  21. The earlier path traversal fix validated the path but did not check whether the destination was a symbolic link pointing outside the repository.

    Seen in 1 report
  22. The path normalisation ran before URL decoding and only matched literal slashes, so encoded slashes and dots survived and were decoded afterwards without re-validation.

    Seen in 1 report
  23. The signature check made a request to a URL derived from user input without sanitising traversal sequences, so the check passed for unintended endpoints.

    Seen in 1 report
  24. The bad URL check only ran for URLs without a host, so supplying a host skipped the traversal check.

    Seen in 1 report
  25. Use a traversal bypass to include an Apache access log, poison it, and reach code execution.

    Seen in 1 report
  26. Use URL-encoded traversal sequences such as encoded dot-dot-slash and encoded backslash to escape the public directory.

    Seen in 1 report
  27. Use broken traversal patterns such as repeated dots and slashes to get past a filter that only blocks the literal dot-dot-slash.

    Seen in 1 report
  28. Hide a malicious entry between two benign entries so the scanner stops reading before it reaches it while the extractor still unpacks it.

    Seen in 1 report
  29. Return a URI with no scheme so the scheme check falls through and the raw path is used without the app-directory checks.

    Seen in 1 report
  30. Percent-encode a dot in a content URI so the raw-byte prefix check misses it while the platform decodes the authority.

    Seen in 1 report
  31. Use a semicolon-slash sequence that the proxy does not normalise but the backend treats as traversal.

    Seen in 1 report
  32. Insert a traversal segment before a protected management path to slip past a filter that matches the literal prefix.

    Seen in 1 report
  33. Use backslashes in a path so a library normalises them after a traversal check has already run.

    Seen in 1 report
  34. Append an encoded fragment so a backend's fixed URL suffix is ignored and the traversed path is used.

    Seen in 1 report
  35. Use a dangling symlink so the existence check returns false and the link check is skipped by short-circuit evaluation.

    Seen in 1 report
  36. Insert a CRLF sequence before a traversal segment to get past a 403 block on a protected endpoint.

    Seen in 1 report
  37. Use special characters to cut off an appended filename suffix.

    Seen in 1 report
  38. Use an encoded slash to create new parent segments after an early cleanup.

    Seen in 1 report
  39. Use a literal backslash on Windows where only encoded separators are filtered.

    Seen in 1 report
  40. Use superscript digits after COM or LPT to slip past an ASCII-only reserved-name check.

    Seen in 1 report
  41. URL-encode the path segment so the proxy does not recognise the endpoint while the application decodes it.

    Seen in 1 report
  42. Use double-colon encoding that the application unescapes into slashes.

    Seen in 1 report
  43. Use a theme directory whose name starts with the expected prefix so the template candidate matches a real directory.

    Seen in 1 report
  44. Point the data directory at a non-existent path to bypass directory checks.

    Seen in 1 report
  45. Supply the name parameter so the sanitiser, which only runs when it is empty, is skipped.

    Seen in 1 report
  46. Use a content URI backed directory to reach the code path that skips validation.

    Seen in 1 report
  47. Combine a crafted offline header with a navigation throttle bypass to reach the file.

    Seen in 1 report
  48. Forge the login identity using the server's own certificate name to obtain a write session.

    Seen in 1 report
  49. Use a symlink in a user-selected directory to redirect a copy onto a protected host file.

    Seen in 1 report
  50. Plant the helper executable in the writable temporary folder the elevated installer searches first.

    Seen in 1 report