Arkendia Classrooms
Web and application pentesting: understanding vulnerabilities Final quiz

Final assessment: web pentesting and understanding vulnerabilities

Pass mark: 75%. You can retry as many times as you need.

Log in to take this quiz and save your score. Log in
1 A friend asks you to “quickly check” the security of a company website, saying nobody will mind. What do you need before doing anything? Single answer
2 Which environments are legitimate places to practise the techniques of this course? (several answers) Multiple answers possible
3 During mapping you find a hidden form field holding a price and a robots.txt file listing an admin path. What is the right way to treat them? Single answer
4 Your lab’s login form says “Unknown user” for non-existing accounts and “Wrong password” for existing ones, and accepts unlimited attempts. Which are valid recommendations? (several answers) Multiple answers possible
5 After logging in, the session identifier in your lab is identical to the one before login. Which fix is appropriate? Single answer
6 A password reset returns the reset token directly in the HTTP response of the “forgot password” request. What is the consequence? Single answer
7 Which design best prevents SQL injection in the code that looks up a customer by name? Single answer
8 In a lab, a single apostrophe in a parameter causes a database error message. Which steps follow in a well-run test? (several answers) Multiple answers possible
9 An admin tool has a “check if a server is online” page that runs a system command with the typed host name. Which type of injection is the primary concern? Single answer
10 A page repeats the search term in a heading without encoding it. Which defences address this reflected XSS? (several answers) Multiple answers possible
11 A single-page application reads the URL fragment and inserts it using innerHTML. The server logs show nothing unusual. What kind of flaw is this? Single answer
12 Which combination best protects a “change email” action against CSRF? Single answer
13 Which security response headers help against clickjacking and limit the effect of injected scripts? (several answers) Multiple answers possible
14 With your own accounts Alice and Bob, you replay Alice’s “view invoice” request with Bob’s session cookie and receive her invoice. What is the finding? Single answer
15 Why is hiding the admin menu from ordinary users not a valid access control? (several answers) Multiple answers possible
16 A checkout confirmation page can be opened directly, skipping the payment step. Which description is the most accurate? Single answer
17 A feature fetches an image from a URL typed by the user. Which controls most reduce the SSRF risk? (several answers) Multiple answers possible
18 A scan reveals that your application uses a front-end library affected by a published CVE. Which is the best next step for the report? Single answer
19 A photo upload feature must be made safe. Which measures are good practice? (several answers) Multiple answers possible
20 Your report rates a finding using CVSS and obtains 7.5. What is its qualitative severity, and what should you also consider? Single answer
21 You find a possible vulnerability in a public programme’s in-scope application and, while testing with your own two accounts, another customer’s name appears. What do you do? Single answer
Previous