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.
-
A package option from the descriptor was joined into the output path without checking it stayed inside the output directory.
Seen in 1 report
-
High
-
-
A parser differential between Ruby and Go YAML handling let a hidden parent key bypass validation, and extraction joined a cleaned but still relative entry name onto the target directory.
Seen in 1 report
-
A parser differential between the proxy and the application means the proxy does not decode the path segment while the app does.
-
A patch removed the way to learn a monitoring UUID rather than the vulnerable file-retrieval code itself.
Seen in 1 report
-
A patched archive library overwrote the physical filename length with the Unicode Path Extra Field length, desynchronising the parser's position for the next entry.
Seen in 1 report
-
A path join was used and then checked with a prefix test, but the join does not resolve dot-dot sequences so the check never fired.
Seen in 1 report
-
A path validation flaw allowed file paths to be manipulated for arbitrary read and write.
-
A plain string type specifier was used where a path type was needed, so a null byte truncated the value before validation saw it.
Seen in 1 report
-
A plugin includes local files based on a request parameter without validating or sanitising it.
-
A POST parameter was passed straight into an image merge function without sanitisation.
Seen in 1 report
-
A privileged helper executed a program from a relative or searchable path instead of an absolute trusted path.
-
A privileged service trusted a user-writable registry value for its install path and wrote a log file there without validating the path.
Seen in 1 report
-
A query string value was used directly in a file path without validation.
Seen in 1 report
-
A request forwarding filter bypassed authentication and the REST key check returned true when no valid key was supplied.
Seen in 1 report
-
A request parameter was passed directly into a file path without validating or normalising it.
Seen in 1 report
-
A simple string prefix comparison without a directory separator allowed writes into sibling directories.
Seen in 1 report
-
A template finder concatenated user input into a path, and failed imports left symlinks in predictable temp directories.
Seen in 1 report
-
A traversal check exists on the documented endpoint but the undocumented endpoint serving the same data skips it.
Seen in 1 report
-
A user-controlled file name was passed to path resolution without checking it was relative, so an absolute path overrode the base directory.
-
A user-controlled filename was passed to a file deletion function without checking it referred to an uploaded temporary file.
Seen in 1 report
-
A user-controlled item name was concatenated into a filesystem path without canonicalisation or an allow-list.
Seen in 1 report
-
A user-controlled parameter was passed directly into an include statement without validation.
Seen in 1 report
-
A user-controlled path from the HTTP request was passed directly to the module loader.
Seen in 1 report
-
A user-controlled path parameter was passed to a file-reading function without restricting it to the upload directory.
Seen in 1 report
-
A user-controlled path parameter went straight into file operations without validation.
Seen in 1 report
-
A user-controlled path segment was concatenated into a URL without validation, and the downstream API merged query parameters into the request body.
Seen in 1 report
-
A user-controlled path segment was passed to a file-reading API without normalising it or restricting it to an allowed directory.
-
A user-controlled portion of the uploaded file's content was used to build the destination path without sanitising traversal sequences.
Seen in 1 report
-
A user-controlled report version was joined into a file path without validation.
-
A user-supplied file name was combined with a base path using a path-combining call without validation, so traversal escaped the base.
Seen in 1 report
-
A user-supplied filename is joined to a base directory without checking the final resolved path, and an absolute path discards the base.
Seen in 1 report
-
A user-supplied path from a request header was used in file operations without sanitisation.
-
A user-supplied path was joined onto a base directory without normalising it or checking the result stayed inside the intended folder.
Seen in 1 report
-
Access control checks used a path that could be traversed to reach protected pages.
Seen in 1 report
-
Access decisions relied on the URL path rather than the user's role.
Seen in 1 report
-
An Android-specific early return skips the safe path component validation used elsewhere.
Seen in 1 report
-
An API file-reading endpoint did not restrict file paths, and a hardcoded admin secret in the app made it reachable.
Seen in 1 report
-
An authentication filter change left add-on endpoints to enforce their own access control, which they did not.
Seen in 1 report
-
An exported receiver had no permission check and the split identifier was used in a file path without validation.
-
An externally supplied URI was passed to a file-copy routine without checking it pointed to an allowed location.
-
An identifier from sync data is not validated before being appended to a filesystem path.
Seen in 1 report
-
An incomplete fix for an earlier traversal left path normalisation bypassable.
Seen in 1 report
-
An outdated build is left directly exposed to the internet with known request-processing and resource endpoint flaws.
Seen in 1 report
-
An unsanitised path parameter was concatenated onto a storage prefix, and hashed filenames were publicly listed.
-
An unvalidated preview path was passed to a server execute call, and a page used reflection to call arbitrary instance methods.
-
Applications search for DLLs in locations an attacker can write to instead of trusted directories.
-
Archive entry paths were combined with the extraction directory but never canonicalised and checked against the extraction root.
-
Attacker-controlled HTML was passed to the PDF renderer without restricting the URL scheme or path.
Seen in 1 report
-
Automatic decompression left symlinks in a shared temporary directory that a later archive followed.
Seen in 1 report
-
Backslashes in the basename and extension arguments were not sanitised on Windows.
Seen in 1 report