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 1 to 50 of 193
  1. Bypass the existing authentication mechanism before reaching the traversal method.

    Seen in 8 reports
  2. Symbolic and hard links inside archives were used to write outside the extraction directory.

    Seen in 7 reports
  3. Craft an entry name that begins with the destination directory name so a prefix check without a trailing slash passes and the file lands in a sibling directory.

    Seen in 6 reports
  4. Only some path parameters were sanitised, so the unsanitised working-directory parameter was the way around the filter.

    Seen in 5 reports
  5. Use double URL encoding to bypass path filtering.

    Seen in 5 reports
  6. Prefix a path with a trusted directory and then use parent-directory segments to reach an untrusted location, defeating a raw string prefix check.

    Seen in 4 reports
  7. Supply the path as a Buffer or Uint8Array instead of a string.

    Seen in 3 reports
  8. Use internal dots in a path to bypass path equivalence checks during partial PUT.

    Seen in 3 reports
  9. Use a symlink inside a served directory or shared folder to reach files outside it.

    Seen in 3 reports
  10. Alternate data streams were used to hide payloads and reach arbitrary write locations.

    Seen in 3 reports
  11. Encode or double-encode traversal so it survives sanitisation and is decoded later.

    Seen in 3 reports
  12. Use backslashes instead of forward slashes in traversal sequences against a Windows-hosted WebDAV library that only filters forward slashes.

    Seen in 3 reports
  13. Percent-encoded traversal sequences got past proxies and checks that normalised after decoding.

    Seen in 3 reports
  14. Create a symlink to the filesystem root from a writable directory to bypass directory permissions.

    Seen in 2 reports
  15. Use symbolic links inside an uploaded archive to point at files outside the extraction directory.

    Seen in 2 reports
  16. Use a nested sequence that becomes a parent-directory reference only after the filter deletes the inner occurrences.

    Seen in 2 reports
  17. Name a symlink with a dot followed by a newline so the end-of-line anchored check does not recognise it as a symlink and does not remove it.

    Seen in 2 reports
  18. Use encoded traversal sequences to get past the incomplete fix in the following version and still escape alias-configured directories.

    Seen in 2 reports
  19. Overwrite built-in utility functions that the permission check relies on.

    Seen in 2 reports
  20. Add a trailing space after the blocked file extension.

    Seen in 2 reports
  21. When traversal sequences are blocked, use an absolute path instead.

    Seen in 2 reports
  22. When traversal sequences are stripped, use nested sequences that survive the strip.

    Seen in 2 reports
  23. Use a crafted DCM file to carry a path past validation into file write operations.

    Seen in 2 reports
  24. Adding raw or import query parameters bypassed the file allowlist.

    Seen in 2 reports
  25. Bypass a check that uppercases the path and tests a leading slash by starting the path with a parent segment instead.

    Seen in 2 reports
  26. Mix forward and backslash separators to slip past a blocklist that checks each separately.

    Seen in 1 report
  27. Use encoded backslashes, which the resolver treats as directory separators, to bypass traversal protection.

    Seen in 1 report
  28. URL-encode a character in a forbidden name so the ignore check misses it.

    Seen in 1 report
  29. Append a URL-encoded null byte to a traversal path to truncate the filename at the include.

    Seen in 1 report
  30. Craft a path so that removing a fixed prefix leaves a double-dot sequence behind.

    Seen in 1 report
  31. Use an unescaped space in the URI to skip checks on the following character.

    Seen in 1 report
  32. Submit a traversal token so the verification endpoint returns success without validating it.

    Seen in 1 report
  33. End traversal paths with a file extension because extensionless paths are treated as directories.

    Seen in 1 report
  34. A validation error that returns a redirect does not undo the file write, so check whether the file remains on disk after the error.

    Seen in 1 report
  35. The slash fix only checked the cache key written in the pipeline file, so supplying the key through a CI/CD variable bypassed it.

    Seen in 1 report
  36. A directory that is a symlink to the writable temporary path lets a write confined to that path reach service configuration files.

    Seen in 1 report
  37. The traversal filter only removed the literal two-dot sequence, so a null byte between the dots survived the filter yet was still treated as a parent reference.

    Seen in 1 report
  38. The double-slash and traversal combination bypassed the previous fix for the same issue.

    Seen in 1 report
  39. View caching limited the attack to one file per restart, so use a race condition to read several files at once.

    Seen in 1 report
  40. Double encoding got past a naive traversal filter.

    Seen in 1 report
  41. An absolute path skipped the extension check because validation only applied to relative paths.

    Seen in 1 report
  42. The security token check sat inside page-injected JavaScript that the page itself could bypass.

    Seen in 1 report
  43. The extension check searched for the allowed extension anywhere in the path rather than at the end.

    Seen in 1 report
  44. Only the file parameter was signed, so the unsigned package parameter was trusted instead.

    Seen in 1 report
  45. The updater split the target filename only on backslashes, so forward slashes escaped the temporary folder.

    Seen in 1 report
  46. The filter compared against a single lowercase encoding of the dot character, so the uppercase variant slipped past.

    Seen in 1 report
  47. When a fix canonicalises paths, retry the traversal using forward slashes instead of backslashes, since some canonicalisation routines only treat backslashes as separators.

    Seen in 1 report
  48. Pad the plugin path with traversal sequences so the extension check passes while the resolved path still escapes.

    Seen in 1 report
  49. Name an archive entry with a colon-suffixed dot-dot sequence so that the unzip routine strips the colon and turns it into a traversal.

    Seen in 1 report
  50. Use crafted field names to make the application use query parameters instead of the signed workhorse payload.

    Seen in 1 report