PT0-003 · Question #206
A penetration tester is trying to get unauthorized access to a web application and execute the following command: Which of the following web application attacks is the tester performing?
The correct answer is C. Directory Traversal. The request contains a URL-encoded string: id=2%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2fetc%2fpasswd which decodes to: id=../../../../etc/passwd This is a classic directory traversal attack, where the tester attempts to access files outside the intended directory structure by…
Question
A penetration tester is trying to get unauthorized access to a web application and execute the following command:
Which of the following web application attacks is the tester performing?
Options
- AInsecure Direct Object Reference
- BCross-Site Request Forgery
- CDirectory Traversal
- DLocal File Inclusion
How the community answered
(59 responses)- A3% (2)
- B3% (2)
- C92% (54)
- D2% (1)
Explanation
The request contains a URL-encoded string: id=2%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2fetc%2fpasswd which decodes to: id=../../../../etc/passwd This is a classic directory traversal attack, where the tester attempts to access files outside the intended directory structure by navigating up the file system hierarchy.
Topics
Community Discussion
No community discussion yet for this question.