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

Path Traversal

From OWASP
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.


Description

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.

Examples

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

Related Threats

Related Attacks

Related Vulnerabilities

Related Countermeasures

Categories

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