A security analyst is reviewing a vulnerability scan report for a company web application. The report indicates that an attacker can access arbitrary files on the server's file system by inserting relative path sequences (such as `../../etc/passwd`) into a file request parameter. Which of the following application vulnerabilities is described in this scenario?
- Directory traversalAnswer
- BCross-site scripting (XSS)
- CImproper authentication
- DNetwork firewall misconfiguration
Answer
Directory traversal
The correct answer is directory traversal because the inclusion of dot-dot-slash (`../`) sequences in input fields specifically aims to bypass access controls and navigate out of the web server root directory to read arbitrary files from the operating system.
Step-by-Step Solution
Key Concept
Directory Traversal / Path Traversal Vulnerability
Estimated Time:45s