Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.1 KB

5.1-Path-traversal.md

File metadata and controls

31 lines (21 loc) · 1.1 KB

Path Traversal

Description

This vulnerability allows an attacker to read arbitrary files on the server hosting the application.

This type of vulnerability can lead to several impacts:

  • Reading confidential data on the system (source code, identification information, personal information)
  • Modification of file integrity (example: modify the application code to change its behavior)

Methods

Reading arbitrary files via path traversal

Linux :

https://insecure-website.com/loadImage?filename=../../../etc/passwd

Windows :

https://insecure-website.com/loadImage?filename=..\..\..\windows\win.ini

Inspired by

Tools