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.
-
Drop an empty companion file next to a planted native library so the app loads it on next start.
Seen in 1 report
-
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
-
Upload a terminal-script file type that the client does not block and deliver it through the sharing feature.
Seen in 1 report
-
Send a mixed-case file scheme URL through a share intent to bypass a case-sensitive block.
Seen in 1 report
-
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
-
The filter removed forbidden substrings only once, so a crafted input reconstructed the forbidden filename after removal.
Seen in 1 report
-
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.
-
A security filter added to fix the file read was bypassed by URL-encoding part of the request.
Seen in 1 report
-
A trailing slash in the route parameter bypassed the extension restriction on the segment route.
-
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
-
The counter attribute dynamically set other attributes, bypassing the static disabling of dangerous diagram options.
Seen in 1 report
-
$5,600 High
-
-
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
-
Overwrite an existing server-side view or template file through the upload traversal to turn a file write into code execution.
-
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
-
Delete a CMS configuration file through the deletion flaw and complete the installer to gain code execution.
Seen in 1 report
-
The validation only checked the filename parameter, so the base path parameter was the way around it.
Seen in 1 report
-
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
-
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
-
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
-
$2,500
-
-
The sanitiser removed periods but allowed underscores to act as path separators.
Seen in 1 report
-
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
-
The filter only blocked the parent-directory sequence, so an absolute path got past it into the delete command.
Seen in 1 report
-
Double URL encoding was used to slip traversal past the server's decoding step.
Seen in 1 report
-
The path check blocked one data directory prefix but missed the equivalent user-zero path.
Seen in 1 report
-
The validation only checked for a substring and did not normalise the path, so traversal sequences got through.
Seen in 1 report
-
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
-
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
-
A path normalisation mismatch between proxy and application server let a semicolon segment act as traversal.
Seen in 1 report
-
Validation ran before normalisation, so a path that looked safe became a traversal afterwards.
Seen in 1 report
-
Use the deprecated internal binding API instead of the public file system module.
Seen in 1 report
-
Use a different scheme path variant after the first one was patched.
Seen in 1 report
-
Use PHP filter chains to read files when only a substring check is applied.
Seen in 1 report
-
Use a dot segment in an identifier so the HTTP client normalises the path into a different endpoint.
Seen in 1 report
-
The path check only verified allowed prefixes and a forbidden extension, without normalising the path or blocking parent sequences.
Seen in 1 report
-
Without overall read permission only the first lines of a file are returned, so use a different command to read the first line.
-
An extra decoding step meant validation ran on a still-encoded string while the decoded path was used for deletion.
Seen in 1 report
-
When the filename is decoded, double-encode the traversal sequence.
Seen in 1 report
-
A previous patch only checked the query string, so the same traversal checks were not applied to the fragment.
Seen in 1 report
-
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
-
Empty category and folder values produced a package path resolving to the root directory, bypassing the intended restriction.
Seen in 1 report
-
Changing an unauthenticated root folder setting to the filesystem root removed the intended base-directory restriction.
Seen in 1 report
-
An exclamation mark was treated as a directory separator, bypassing path validation.
-
Knowing the application secret allowed forging signed read and write tokens with traversal keys.
Seen in 1 report
-
Traversal sequences in a personality folder parameter got past the sanitisation function.
-
Use Unicode hex encoding to bypass LaTeX command filtering.
Seen in 1 report
-
Append an encoded query string to a request path to bypass access controls.
Seen in 1 report
-
Use NTFS alternate data stream syntax to bypass a blocked path list on Windows.
Seen in 1 report
-
Use a null byte to truncate a filename and bypass an extension check.
Seen in 1 report
-
Use a bare Windows drive name so a supposedly relative path resolves to the drive root.
Seen in 1 report
-
Hide a parent reference behind a YAML tag that one parser drops but another keeps.
Seen in 1 report