In-depth lesson · Client-side path traversal (CSPT)
Root causes
Every point the Client-side path traversal (CSPT) reports back under this heading, best-backed first, each with the reports it is seen in.
-
User-controlled cookie values were passed into file path handling without sanitising traversal sequences, allowing reads and deletes outside the intended directory.
Seen in 1 report
-
The account name parameter built a file path without sanitising traversal sequences, and the upload endpoint required no authentication.
Seen in 1 report
-
Critical
-
-
The delete route lacked CSRF protection and authentication and passed the user-supplied id straight into recursive file deletion without sanitising traversal sequences.
Seen in 1 report
-
The Ingress path value was written into generated nginx configuration without sanitisation, allowing config injection via alias and location directives.
Seen in 1 report
-
JavaScript concatenated user input directly into a URL path without sanitising traversal characters, and an OAuth endpoint allowed an open redirect via its state parameter.
Seen in 1 report
-
The two mkdtemp functions were not routed through the shared path validation helper, so the permission model's path check never ran on their arguments.
-
The build tool trusted user-supplied environment variables to install packages without validation, and the internal API proxy did not sanitise paths for per-deployment namespaces.
Seen in 1 report
-
The uninstall function used the user-supplied name parameter in a file path without sanitising it, enabling traversal to a malicious Python file that is imported.
Seen in 1 report
-
The server validated ownership only on the first design ID in the path and then used the raw path to read a file, so traversal after the owned ID reached another user's directory.
-
The application used the URL path directly in a client-side fetch without validating or encoding it, then used the response in a subsequent authenticated request.
Seen in 1 report
-
Artifact links allowed traversal sequences in the repository name, causing the request to be sent to a different path.
Seen in 1 report
-
The temporary file name for partial PUT was derived from the user-controlled path with separators merely replaced by dots rather than properly sanitised.
-
The application inserted attacker-controlled input into a request path without validation, and the browser followed 307 or 308 redirects that preserve method and body.
Seen in 1 report
-
The gateway normalised or stripped semicolon path parameters after routing, so the forwarded path differed from the path used for authorisation.
Seen in 1 report
-
The branch name was placed into the API URL without encoding, and the HTTP client decoded the encoded dots into traversal sequences.
Seen in 1 report
-
The application validated the signature by making a request to a URL derived from user input without sanitising traversal sequences, so the check passed for unintended endpoints.
-
The static file handler did not properly normalise or validate URL-encoded traversal sequences before issuing a redirect, allowing escape from the public directory.
Seen in 1 report
-
Filename validation only rejected absolute paths and traversal tokens and never resolved symlinks or junctions, so the final write was not checked against the real resolved location.
Seen in 1 report
-
The application ID was appended to a path without sanitisation, and the ownership check compared against a root-owned shared directory, so traversal to other root-owned files passed validation.
Seen in 1 report
-
An earlier fix sanitised only three theme properties and hardened only the X11 cursor loader, leaving the cursor theme name and size unvalidated in the Wayland loader.
Seen in 1 report
-
The finalize endpoint stored attacker-supplied filenames verbatim in attachment metadata, and the backup-sizes branch derived both the file to delete and its directory from that metadata.
-
The image editor's client state field was neither encrypted nor signed, so a client-supplied image path was trusted and cached, and the cache handler served it without restricting it to the intended directory.
Seen in 1 report
-
The loader checked only that a path existed and then opened it, following archive-created symbolic links without verifying the resolved file stayed inside the extraction directory.
-
Client-side code did not validate or sanitise the organisation ID from the URL before using it to construct a PUT request path.
Seen in 1 report
-
The export folder argument was passed straight into a path-building call without the validation applied to the report name, so the destination directory and file extension were attacker-controlled.
-
The privileged updater loaded a configuration file from a user-writable location and trusted path values inside it, including traversal, without validating them.
Seen in 1 report
-
The clone parameter was joined to the API path without sanitisation, the login redirect check was bypassed with a URL lacking a netloc, and the browser forwarded custom headers on redirect.
-
The file deletion endpoint lacked any authorisation check and failed to sanitise user-supplied file paths, while the XML import feature used an insecure parser configuration.
Seen in 1 report
-
The statement identifier from the public URL was concatenated into the internal request path without normalising or validating it, so encoded dot-dot-slash sequences escaped the intended path.
Seen in 1 report