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.
-
The image editor's client state field was neither encrypted nor signed, so a client-supplied image path was trusted and served by the cache handler.
Seen in 1 report
-
The import service appended an unsanitised path parameter to the uploads directory and did not verify uploaded file contents.
Seen in 1 report
-
The index file option was joined with the directory path without validation.
-
The Ingress path value was written into the generated nginx configuration without sanitisation, allowing alias and location directive injection.
Seen in 1 report
-
The installer resolved the destination directory but only checked that the target path started with it, so a symlink pointing outside passed the check.
Seen in 1 report
-
The IPC handler did not validate the path supplied by the content process before passing it to file-writing code.
-
The IsHiddenItem check used lstat so it detected only a symbolic link in the final component, not intermediate ones.
Seen in 1 report
-
The Java bindings for the safe base name type did not perform the same validation as the native implementation.
Seen in 1 report
-
The Jolokia endpoint was exposed without authentication and allowed diagnostic commands that read local files.
Seen in 1 report
-
The last path segment of a URL was used as a filename without sanitising traversal sequences.
Seen in 1 report
-
$10,000
-
-
The loader checked only that a path existed and then opened it, following archive-created symbolic links without confirming the resolved file stayed inside the extraction directory.
-
The local file name was taken from the URL tail without sanitising traversal sequences.
Seen in 1 report
-
The markdown file check used an unanchored regular expression and the path was built from the raw URL.
Seen in 1 report
-
The media processing build allowed HLS playlists to reference local files without restricting the protocol or path.
Seen in 1 report
-
The media server followed symbolic links without restricting them to the USB drive.
Seen in 1 report
-
The name parameter is used directly as a filename without stripping separators, and the sanitiser only runs when the parameter is empty.
-
The nodot check only examined the first path segment or the final filename, so a path traversing into a dotfolder was not rejected.
Seen in 1 report
-
The nonce check ran after the vulnerable file operation, allowing cross-site triggering.
Seen in 1 report
-
The output filename was joined without basename enforcement and file content was not escaped.
Seen in 1 report
-
The output path was taken from user input without normalisation or a check that it stays in a safe directory.
-
The package filename was built from unvalidated metadata fields without sanitising traversal sequences.
Seen in 1 report
-
The page title was used as a filename component without sanitisation.
Seen in 1 report
-
The pagename value was URL-decoded and used to build a template path without validating that the resolved file stayed inside the theme directory.
Seen in 1 report
-
The parser included the fragment in the path when a query mark appeared after the hash instead of stripping it.
Seen in 1 report
-
The parser used the ustar header size instead of the PAX size, causing misalignment that let nested entries be treated as outer entries.
-
The parser used the ustar size field to find the next archive boundary even when a PAX header had overridden the size.
Seen in 1 report
-
The path check only verified the filename suffix and did not reject directory separators, allowing traversal into profile subdirectories.
Seen in 1 report
-
The path from a QUOTE command was copied into a buffer without validating or removing parent-directory sequences.
Seen in 1 report
-
The path is decoded for a security check but the decoded value is then passed to a dispatcher that decodes it again, so the check and the actual resource resolution disagree.
-
The path was validated with C-style string functions that stop at a NULL byte while the file operation processed a different path.
Seen in 1 report
-
The pattern was treated as a C-style string that stops at the first null byte.
Seen in 1 report
-
The permission check compared path components with strict string equality, missing components the operating system normalises.
Seen in 1 report
-
The permission check compared the unresolved path string against the allowed directory instead of resolving it to a canonical path.
Seen in 1 report
-
The permission model converted the resolved path with a buffer function that user code could influence.
Seen in 1 report
-
The permission model trusted built-in path normalisation functions that are mutable at runtime.
Seen in 1 report
-
The plugin identifier is concatenated into a filesystem path without validation.
-
The portal resolved app-supplied symlinks before validating the resulting host path.
Seen in 1 report
-
The postprocess function parsed user input as JSON and copied any file referenced by a path key without validation.
Seen in 1 report
-
The profile route resolved the username as a static file path, so a matching HTML file shadowed the profile.
Seen in 1 report
-
The recursive deletion did not check for reparse points before recursing.
Seen in 1 report
-
The request handler sets a null user and skips authorisation when the path contains a specific marker or ends with certain static file extensions, then rewrites certain paths to an internal file handler.
Seen in 1 report
-
The reserved-name check only matches ASCII digits after COM and LPT.
Seen in 1 report
-
The resolved path from the relocation file is never checked to stay inside the original repository.
Seen in 1 report
-
The restore routine followed filesystem junctions without checking the real target path, so writes escaped the intended directory.
Seen in 1 report
-
The root configuration setting was ineffective because the directory reading code did not validate traversal sequences.
Seen in 1 report
-
The sandbox guard compares a normalised path against itself, so the condition is always false.
-
The sanitiser removed illegal characters but did not reject reserved device names, unlike other parts of the same subsystem.
Seen in 1 report
-
The sanitiser removed only reserved characters and did not reject dot or dot-dot names, so path joining normalised to a parent directory.
Seen in 1 report
-
The script passed a user-controlled path parameter straight to a file-open call without restricting it to a directory.
Seen in 1 report
-
The security policy canonicalised the URL path while the class loader used the raw path as a literal JAR entry name, creating a check/use mismatch.
Seen in 1 report