This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit

Path Traversal

Revision as of 19:33, 29 April 2007 by Ethernet (talk | contribs) (Examples)

Jump to: navigation, search
This is an Attack. To view all attacks, please see the Attack Category page.


Also refered to as 'Directory Traversal' this type of attack enables an attacker to move through the server directories, outside of the normal webroot. From there he is able to view critical system files, source codes and many other things. He could even carry out Cross Server attacks if he wishes.


An attacker approaches our hypothetical website ''. He browses the site. He soon notices that the website uses GET requests in order to view pages.
When viewing this link the page 'transaction.php' is called. The attacker tries a Path Traversal attack:
He now has access to the passwords.

Related Threats

Related Attacks

Related Vulnerabilities

Related Countermeasures


This article is a stub. You can help OWASP by expanding it or discussing it on its Talk page.