Q: 9
Which of the following attacks allows an attacker to access restricted directories, including
application source code, configuration and critical system files, and to execute commands outside of
the web server’s root directory?
Options
Discussion
C vs D again but C fits best since it's asking for the specific attack not just a config issue.
C. pretty sure. Directory traversal is the one that lets attackers reach files outside web root like source code and configs.
C all the way. Directory traversal specifically lets attackers jump out of the webserver's root and mess with sensitive files like configs and source code. I've run into this type on official practice-nothing else here describes breaking out of the intended directory structure. Pretty sure that's what they're testing for, but if someone thinks otherwise let me know!
That's directory traversal, so option C. This attack exploits path input to reach sensitive files beyond the web server root. I've seen similar questions in practice exams and it's always pointing to directory traversal for this scenario. Pretty sure about it but correct me if you see something I missed.
Don't think it's D like some say, that's a trap here. C fits since directory traversal is what actually gives access outside the web root.
C . Directory traversal is the one that lets an attacker jump outside the web server's root and access system files using path tricks like ../. The others don't really match that scenario, right?
D tbh
C imo, classic directory traversal attack since it's about getting to files outside the web server root. B is about input flaws, but the question wants the attack type. Anyone see a reason for D over C here?
Hard to say, C here. D is tempting since misconfiguration is a common weakness, but the actual attack described (getting beyond web root to grab critical files) is classic directory traversal. Pretty sure about this, but open if others see it differently.
C , it's directory traversal. B is the root cause but the question wants the specific attack method.
Be respectful. No spam.