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 51 to 100 of 193
  1. Drop an empty companion file next to a planted native library so the app loads it on next start.

    Seen in 1 report
  2. Set a CI variable to a traversal value and reference it in a cache key so the expansion happens after validation.

    Seen in 1 report
  3. Upload a terminal-script file type that the client does not block and deliver it through the sharing feature.

    Seen in 1 report
  4. Send a mixed-case file scheme URL through a share intent to bypass a case-sensitive block.

    Seen in 1 report
  5. Use a semicolon after dot-dot in the URL to make the proxy and backend normalise the path differently and reach example servlets.

    Seen in 1 report
  6. The filter removed forbidden substrings only once, so a crafted input reconstructed the forbidden filename after removal.

    Seen in 1 report
  7. The validation only checked that the target folder path was a prefix of the extracted path, so a sibling folder with a matching prefix passed.

    Seen in 1 report
  8. A security filter added to fix the file read was bypassed by URL-encoding part of the request.

    Seen in 1 report
  9. A trailing slash in the route parameter bypassed the extension restriction on the segment route.

    Seen in 1 report
  10. A null byte in the URL path made the extension used for handler selection differ from the extension of the file actually served.

    Seen in 1 report
  11. The counter attribute dynamically set other attributes, bypassing the static disabling of dangerous diagram options.

    Seen in 1 report
  12. The check looked for a package name substring in the path, so a symbolic link with a different path bypassed it.

    Seen in 1 report
  13. Overwrite an existing server-side view or template file through the upload traversal to turn a file write into code execution.

    Seen in 1 report
  14. Use a network share style path as the user input to trigger an outbound name resolution request and confirm blind path traversal or server-side request forgery.

    Seen in 1 report
  15. Delete a CMS configuration file through the deletion flaw and complete the installer to gain code execution.

    Seen in 1 report
  16. The validation only checked the filename parameter, so the base path parameter was the way around it.

    Seen in 1 report
  17. The path check compared against one hard-coded directory string, so an equivalent path to the same location passed the check.

    Seen in 1 report
  18. The fix only checked whether a normalised path started with parent-directory segments, which a drive-letter prefix defeats on Windows.

    Seen in 1 report
  19. Write a package manager configuration file and a script to known locations through the extraction traversal so they run when the project is opened.

    Seen in 1 report
  20. The sanitiser removed periods but allowed underscores to act as path separators.

    Seen in 1 report
  21. The file write method's authorisation check used a key derived from user-controlled data, so a crafted value bypassed it.

    Seen in 1 report
  22. The filter only blocked the parent-directory sequence, so an absolute path got past it into the delete command.

    Seen in 1 report
  23. Double URL encoding was used to slip traversal past the server's decoding step.

    Seen in 1 report
  24. The path check blocked one data directory prefix but missed the equivalent user-zero path.

    Seen in 1 report
  25. The validation only checked for a substring and did not normalise the path, so traversal sequences got through.

    Seen in 1 report
  26. After a patch that only checked for parent-directory and drive-letter paths, use an absolute path starting with a directory separator to read any file.

    Seen in 1 report
  27. Tilde expansion converted a path component beginning with a tilde into a home directory reference followed by traversal, bypassing application path filtering.

    Seen in 1 report
  28. A path normalisation mismatch between proxy and application server let a semicolon segment act as traversal.

    Seen in 1 report
  29. Validation ran before normalisation, so a path that looked safe became a traversal afterwards.

    Seen in 1 report
  30. Use the deprecated internal binding API instead of the public file system module.

    Seen in 1 report
  31. Use a different scheme path variant after the first one was patched.

    Seen in 1 report
  32. Use PHP filter chains to read files when only a substring check is applied.

    Seen in 1 report
  33. Use a dot segment in an identifier so the HTTP client normalises the path into a different endpoint.

    Seen in 1 report
  34. The path check only verified allowed prefixes and a forbidden extension, without normalising the path or blocking parent sequences.

    Seen in 1 report
  35. Without overall read permission only the first lines of a file are returned, so use a different command to read the first line.

    Seen in 1 report
  36. An extra decoding step meant validation ran on a still-encoded string while the decoded path was used for deletion.

    Seen in 1 report
  37. When the filename is decoded, double-encode the traversal sequence.

    Seen in 1 report
  38. A previous patch only checked the query string, so the same traversal checks were not applied to the fragment.

    Seen in 1 report
  39. A Unicode truncation bug on Windows let a null byte cut off the appended file suffix, removing the restriction on the written file name.

    Seen in 1 report
  40. Empty category and folder values produced a package path resolving to the root directory, bypassing the intended restriction.

    Seen in 1 report
  41. Changing an unauthenticated root folder setting to the filesystem root removed the intended base-directory restriction.

    Seen in 1 report
  42. An exclamation mark was treated as a directory separator, bypassing path validation.

    Seen in 1 report
  43. Knowing the application secret allowed forging signed read and write tokens with traversal keys.

    Seen in 1 report
  44. Traversal sequences in a personality folder parameter got past the sanitisation function.

    Seen in 1 report
  45. Use Unicode hex encoding to bypass LaTeX command filtering.

    Seen in 1 report
  46. Append an encoded query string to a request path to bypass access controls.

    Seen in 1 report
  47. Use NTFS alternate data stream syntax to bypass a blocked path list on Windows.

    Seen in 1 report
  48. Use a null byte to truncate a filename and bypass an extension check.

    Seen in 1 report
  49. Use a bare Windows drive name so a supposedly relative path resolves to the drive root.

    Seen in 1 report
  50. Hide a parent reference behind a YAML tag that one parser drops but another keeps.

    Seen in 1 report