Skip to content

In-depth lesson · Path traversal

Year by year

What the disclosed Path traversal reports of each year show, newest first: what first appeared, what kept working and what turned up less.

Back to the lesson 101 to 131 of 131

2016

9 points

New this year3

  1. Symbolic links inside an uploaded archive pointing at files outside the extraction directory first appear in the disclosed reports.

    Seen in 1 report
  2. A username of two dots resolving the settings URL to a different path first appears in the disclosed reports.

    Seen in 1 report
  3. A profile ID containing traversal overwriting a file such as a cron tab on a local service endpoint first appears in the disclosed reports.

    Seen in 1 report

Kept working6

  1. Rails view rendering and archive import traversal recurred, with wildcard route segments rendering files outside the view path.

    Seen in 2 reports
  2. Encoded backslashes and mixed forward and backslash separators slipped past blocklists that checked each separator separately.

    Seen in 1 report
  3. Response comparison and timezone values pointing at directories, files and non-existent paths were used to enumerate the filesystem.

    Seen in 1 report
  4. A low-privilege subscriber sent a plugin path with traversal to the core Ajax plugin-update handler.

    Seen in 1 report
  5. A metadata file in an export archive was replaced with a symbolic link to a server file and the contents read from error messages.

    Seen in 1 report
  6. An X-Original-URL style header overrode the router path to include a file outside the view directory.

    Seen in 1 report

2015

8 points

New this year2

  1. Object storage keys built from filenames in avatar and attachment uploads first appear in the disclosed reports.

    Seen in 1 report
  2. The traversal token that makes a verification endpoint return success first appears in the disclosed reports.

    Seen in 1 report

Kept working6

  1. Encoded backslashes were treated as directory separators by the resolver, bypassing traversal protection.

    Seen in 1 report
  2. A wildcard route segment with traversal sequences rendered a file outside the view path.

    Seen in 1 report
  3. An attachment filepath parameter was changed to another user's object key to generate a download link.

    Seen in 1 report
  4. An unauthenticated agent registration followed by bulk log upload with traversal wrote a file.

    Seen in 1 report
  5. A traversal token submitted to a verification endpoint returned success without validating the token.

    Seen in 1 report
  6. A skin field pointing at a directory the hunter controlled caused template files to be loaded from there.

    Seen in 1 report

2014

5 points

New this year2

  1. Response comparison to enumerate files and folders first appears in the disclosed reports.

    Seen in 2 reports
  2. The stripped-prefix trick that leaves a double-dot sequence behind first appears in the disclosed reports.

    Seen in 1 report

Kept working3

  1. Hunters compared responses for traversal requests to existing and non-existing files to enumerate file and folder names.

    Seen in 2 reports
  2. Encoded backslash sequences were used instead of forward slashes and the server normalisation was compared.

    Seen in 1 report
  3. A path was crafted so that removing a fixed prefix left a double-dot sequence behind, escaping the base directory.

    Seen in 1 report

2013

3 points

New this year1

  1. Using an unescaped space in the URI to bypass access rules first appears in the disclosed reports.

    Seen in 1 report

Kept working2

  1. Hunters found that an unescaped space in the request URI could skip checks on the following character.

    Seen in 1 report
  2. Changing a backup download filename parameter to a relative path read configuration and source files outside the backup directory.

    Seen in 1 report

2001

6 points

Kept working6

  1. Hunters found that many PHP CMS features passed request parameters such as language, theme and module names straight into file includes, so traversal sequences in those values reached local files.

    Seen in 6 reports
  2. XML import and export plugins that named files from imported XML were a reliable route to writing outside the intended import directory.

    Seen in 3 reports
  3. Image edit, image viewer and avatar crop features that took file names or paths were used to read or write files outside the temp folder.

    Seen in 2 reports
  4. A serialised cookie language value and a files.xml style handler were both used to reach files outside the intended directory.

    Seen in 2 reports
  5. A request header that overrode the router path let hunters include a file outside the view directory.

    Seen in 1 report
  6. Archive import features that extracted zip entries with traversal names wrote files outside the temp directory.

    Seen in 1 report