Question
http://www.mycompany.com/../../../etc/passwd
What type of attack was most likely attempted?
a.
SQL injection
b.
Session hijacking
c.
Directory traversal
d.
File upload
Posted under CompTIA PenTest+ Certification Exam PT0 002
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Joe’s adventures in web server log analysis are not yet complete. As he continues to review the logs, he finds the request: http://www.mycompany.com/../../../etc/passwd What...
Similar Questions
Discover Related MCQs
Q. Upon further inspection, Joe finds a series of thousands of requests to the same URL coming from a single IP address. Here are a few examples:
http://www.mycompany.com/servicestatus.php?serviceID=1
http://www.mycompany.com/servicestatus.php?serviceID=2
http://www.mycompany.com/servicestatus.php?serviceID=3
http://www.mycompany.com/servicestatus.php?serviceID=4
http://www.mycompany.com/servicestatus.php?serviceID=5
http://www.mycompany.com/servicestatus.php?serviceID=6
What type of vulnerability was the attacker likely trying to exploit?
View solution
Q. Joe checks his web server logs and sees that someone sent the following query string to an application running on the server:
http://www.mycompany.com/servicestatus.php?serviceID=892&serviceID=892' ; DROP TABLE Services;--
What type of attack was most likely attempted?
View solution
Q. Sherry is concerned that a web application in her organization supports unvalidated redirects. Which one of the following approaches would minimize the risk of this attack?
View solution
Q. Wendy is a penetration tester who wishes to engage in a session hijacking attack. What information is crucial for Wendy to obtain to ensure that her attack will be successful?
View solution
Q. What type of credential used in Kerberos is often referred to as the “golden ticket” because of its potential for widespread reuse?
View solution
Q. Tina is conducting a penetration test and is trying to gain access to a user account. Which of the following is a good source for obtaining user account credentials?
View solution
Q. Which one of the following function calls is closely associated with Linux command injection attacks?
View solution
Q. Joe is examining the logs for his web server and discovers that a user sent input to a web application that contained the string WAITFOR. What type of attack was the user likely attempting?
View solution
Q. Examine the following network diagram. What is the most appropriate location for a web application firewall (WAF) on this network?
View solution
Q. Which one of the following approaches, when feasible, is the most effective way to defeat injection attacks?
View solution
Q. What is the distinction between static and dynamic application security testing tools?
View solution
Q. How do cross-site request forgery (CSRF) attacks exploit user behavior?
View solution
Q. What do cross-site scripting (XSS) attacks inject into legitimate websites?
View solution
Q. What is the goal of directory traversal attacks?
View solution
Q. How should authentication cookies be transmitted for security?
View solution
Q. What is the risk associated with insecure direct object references?
View solution
Q. How do multifactor techniques strengthen authentication systems?
View solution
Q. What is the recommended defense against injection vulnerabilities?
View solution
Q. Which vulnerability allows an attacker to exploit a dynamic web application to gain access to the underlying database?
View solution
Q. How do static analysis tools contribute to penetration testing?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond CompTIA PenTest+ Certification Exam PT0 002? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!