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 app used the untrusted display name from the content provider as a file path without sanitising traversal sequences.
Seen in 1 report
-
The app uses the last path segment of a URI without decoding or sanitising it.
Seen in 1 report
-
The application fails to validate or restrict a file path supplied in a network request.
Seen in 1 report
-
The application filtered for a literal traversal string but did not normalise the path before use.
Seen in 1 report
-
The application searched for its OpenSSL configuration in a directory writable by low-privileged users.
-
The archive class extracted entries without validating that the destination path stayed within the intended directory.
-
The archive parser did not canonicalise or restrict the destination path derived from archive entries.
-
The asset handler fell back to classpath lookup when a file was missing from the base directory, exposing configuration files and compiled classes.
Seen in 1 report
-
The backend checked only for the presence of a substring in the path instead of confirming the resolved path stayed inside an allowed directory.
Seen in 1 report
-
The backup service followed a symbolic link supplied by a low-privileged user and wrote to the target without validating the path.
Seen in 1 report
-
The base parameter was not sanitised for traversal while the filename parameter was.
-
The basename argument was joined to the temporary directory without rejecting or normalising traversal sequences.
-
The blacklist and control-character filtering ran before NFKD normalisation, so normalisation recreated path separators after validation.
-
The blob key was accepted from user-influenced input and joined into a filesystem path without containment checks.
Seen in 1 report
-
The blocking decision used the raw, unnormalised request URI instead of a normalised path.
Seen in 1 report
-
The browser process trusted the theme name from XSETTINGS without validation, and the path append helper did not block parent-directory segments in release builds.
Seen in 1 report
-
The build tool trusted user-supplied environment variables to install packages without validation.
Seen in 1 report
-
The cab extraction routine did not validate file paths.
Seen in 1 report
-
The canonicalisation function ignored forward slashes, so traversal sequences using them survived the check.
Seen in 1 report
-
The chunkFile parameter was passed to rename and copy operations without checking it referred to an uploaded temporary file.
Seen in 1 report
-
The client did not validate relative paths in data received from the server.
Seen in 1 report
-
The client honoured a server request to read a local file without restricting which files or asking the user.
Seen in 1 report
-
The client identifier was used verbatim in a file path and path appending did not neutralise parent components.
Seen in 1 report
-
The code assumed path joining would keep results inside the base directory, but an absolute component replaced the base entirely.
Seen in 1 report
-
The code did not exit after detecting an invalid path and still used the supplied path in a delete call.
Seen in 1 report
-
The code resolved the joined path but never verified the result remained a descendant of the base directory.
Seen in 1 report
-
The component did not normalise relative paths before use and a timing window allowed the check to be bypassed.
Seen in 1 report
-
The condition checking for traversal sequences used a property that does not exist on the lookup result, so the removal code never ran.
Seen in 1 report
-
The config option accepted any file path without checking that the file was trusted.
Seen in 1 report
-
The crawler derived a filename from the file input's accept attribute and used it in path resolution without sanitising traversal sequences.
Seen in 1 report
-
The database name is concatenated into a filesystem path without normalisation or a containment check.
-
The debug endpoint lacks authentication and does not sanitise the user-supplied filename.
-
The decoded last path segment of an input URI was used as an output filename without sanitisation.
Seen in 1 report
-
The decoded parameter was used directly as a file path without validation or restriction.
Seen in 1 report
-
The deep link handler did not validate the path of the shop URL before handing it to the WebView.
Seen in 1 report
-
The delete route lacked CSRF protection and authentication and passed the id straight into recursive deletion.
Seen in 1 report
-
The demuxer allowed external file references from inside a container without restricting local file access.
Seen in 1 report
-
The destination directory was deleted recursively before the symlink safety check ran, so a symlink redirected the deletion outside.
Seen in 1 report
-
The destination was opened with a truncating write mode just to read its file type and mode, so the open itself destroyed the contents and followed any symlink.
-
The device-name validation was not applied in the UNC branch of path.join() normalisation.
Seen in 1 report
-
The disk service did not sanitise the key value before building a file path, so a forged signed key could traverse directories.
Seen in 1 report
-
The download endpoint did not restrict which files could be accessed, exposing configuration and logs.
Seen in 1 report
-
The download endpoint did not verify authentication and used user input directly as a file path.
Seen in 1 report
-
The download endpoint lacked authentication checks as well as path validation.
Seen in 1 report
-
The download manager concatenated the raw path into a file URL without percent-escaping, so encoded traversal survived sanitisation and was decoded later.
Seen in 1 report
-
The download path was opened with write flags but without a no-follow flag, so the operating system resolved any symlink at that path.
Seen in 1 report
-
The download script passes a user-supplied filename straight to a file-read function without restricting it to the intended directory or file type.
Seen in 1 report
-
The downloaded file name was joined onto a temp folder path without sanitising parent-directory sequences.
Seen in 1 report
-
The downloader called extractall on untrusted archives without validating entry paths.
Seen in 1 report
-
Critical
-
-
The driver resolves a link before checking it is safe.