pentesting, updated

Testing for Path Traversal

Check whether file- or resource-path parameters can be manipulated to reach files outside the intended scope.

Goal

Confirm every path-building parameter is normalized and bounded to its intended directory.

How to test

Same technique as directory traversal / file include — this entry covers the broader input-validation view (any path-shaped parameter, not just includes):

curl -s "https://example.com/files?path=../../../../etc/passwd"
curl -s "https://example.com/files?path=....//....//....//etc/passwd"   # filter-bypass variant

What to look for

File content or a path resolved outside the intended root directory.

References

§ home
~/knubertus/home/
1,1 Top