Web Application Security Fundamentals

Covers web application security topics including attack vectors, authentication, secure coding practices, and vulnerability prevention

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Data hashing will

  1. Ensure that the data has not been tampered with
  2. Ensure that the session is valid
  3. Ensure that the user is valid
  4. All of the above
Question 2 Multiple Choice (Single Answer)

A successful forced browsing attack indicates a vulnerability in

  1. The configuration management
  2. The session management
  3. The change management process
  4. The authorization process
Question 3 Multiple Choice (Single Answer)

Administrative pages for websites should be protected by

  1. A mechanism that requires only a password
  2. Basic authentication
  3. 2/3 factor authentication
  4. A mechanism with no lock-out, to prevent accidentally denying legitimate access
Question 4 Multiple Choice (Single Answer)

In order to avoid information disclosure error messages containing stack traces, specific application information should be

  1. Sent to the user in a hidden field so that tech support can retrieve the information later
  2. Destroyed if it occurs to minimize the chances that this information might be inadvertently disclosed
  3. Logged on the server side
  4. A and C
Question 5 Multiple Choice (Single Answer)

Which form of accountability should be used

  1. Accounts for each user
  2. Account for each group of users
  3. Accounts for each business unit
  4. None of the above
Question 6 Multiple Choice (Single Answer)

What is suggested as the leading practice for the maximum length of time before users are forced to change their passwords?

  1. 60 days
  2. 180 days
  3. 120 days
  4. 90 days
Question 7 Multiple Choice (Single Answer)

Leaving comments in HTML source code when an application leaves the development environment

  1. Is a good programming practice
  2. Is very useful during code reviews
  3. Is the recommended practice for secure code maintenance
  4. May give the attacker valuable information to perform an exploit
Question 8 Multiple Choice (Single Answer)

Which of the following is true?

  1. Servers are generally configured in a secure manner when they are first installed
  2. It is impossible to securely configure a web server
  3. Out of the box settings normally meet what is called minimum baseline security standards
  4. The default settings on web servers are not generally secure
Question 9 Multiple Choice (Single Answer)

Which of the following is NOT recommended for securing Web Applications against malicious users?

  1. Filtering data with a default deny regular expression
  2. Running the application with the least privilege necessary
  3. Client side data validation
  4. Retrieving data from database using pre-compiled stored procedures
Question 10 Multiple Choice (Single Answer)

Phishing attacks are successful when

  1. The web server is not patched
  2. The attack entices a user to perform a certain action
  3. Users do not patch their machines
  4. Users share email accounts
Question 11 Multiple Choice (Single Answer)

How to stop forceful browsing?

  1. Check authorization on each page
  2. Name files with un-guessable names
  3. Place all accessible files in the same directory
  4. ACL's on the web root
Question 12 Multiple Choice (Single Answer)

Extra parameters which are currently not used in the application

  1. Is necessary to check some functionalities during the testing and production support
  2. May lead to security breaches
  3. Do not consume significant bandwidth and so can be allowed in the application
  4. Is necessary in case the application needs a future addition
Question 13 Multiple Choice (Single Answer)

A security policy should safeguard which of the following system features?

  1. Integrity
  2. Availability
  3. Confidentiality
  4. All of the Above
Question 14 Multiple Choice (Single Answer)

Man-in-the-middle attack means

  1. The attacker intercepts a message or data transfer between the sender and the receiver
  2. The attacker impersonates an authorized user or service in order to gain access to your system
  3. Both 1 & 2
  4. None of the above
Question 15 Multiple Choice (Single Answer)

Which is not a malicious software?

  1. Virus
  2. Worm
  3. Macro
  4. Rootkit