Web Application Security Fundamentals
Covers web application security topics including attack vectors, authentication, secure coding practices, and vulnerability prevention
Questions
Data hashing will
- Ensure that the data has not been tampered with
- Ensure that the session is valid
- Ensure that the user is valid
- All of the above
A successful forced browsing attack indicates a vulnerability in
- The configuration management
- The session management
- The change management process
- The authorization process
Administrative pages for websites should be protected by
- A mechanism that requires only a password
- Basic authentication
- 2/3 factor authentication
- A mechanism with no lock-out, to prevent accidentally denying legitimate access
In order to avoid information disclosure error messages containing stack traces, specific application information should be
- Sent to the user in a hidden field so that tech support can retrieve the information later
- Destroyed if it occurs to minimize the chances that this information might be inadvertently disclosed
- Logged on the server side
- A and C
Which form of accountability should be used
- Accounts for each user
- Account for each group of users
- Accounts for each business unit
- None of the above
What is suggested as the leading practice for the maximum length of time before users are forced to change their passwords?
- 60 days
- 180 days
- 120 days
- 90 days
Leaving comments in HTML source code when an application leaves the development environment
- Is a good programming practice
- Is very useful during code reviews
- Is the recommended practice for secure code maintenance
- May give the attacker valuable information to perform an exploit
Which of the following is true?
- Servers are generally configured in a secure manner when they are first installed
- It is impossible to securely configure a web server
- Out of the box settings normally meet what is called minimum baseline security standards
- The default settings on web servers are not generally secure
Which of the following is NOT recommended for securing Web Applications against malicious users?
- Filtering data with a default deny regular expression
- Running the application with the least privilege necessary
- Client side data validation
- Retrieving data from database using pre-compiled stored procedures
Phishing attacks are successful when
- The web server is not patched
- The attack entices a user to perform a certain action
- Users do not patch their machines
- Users share email accounts
How to stop forceful browsing?
- Check authorization on each page
- Name files with un-guessable names
- Place all accessible files in the same directory
- ACL's on the web root
Extra parameters which are currently not used in the application
- Is necessary to check some functionalities during the testing and production support
- May lead to security breaches
- Do not consume significant bandwidth and so can be allowed in the application
- Is necessary in case the application needs a future addition
A security policy should safeguard which of the following system features?
- Integrity
- Availability
- Confidentiality
- All of the Above
Man-in-the-middle attack means
- The attacker intercepts a message or data transfer between the sender and the receiver
- The attacker impersonates an authorized user or service in order to gain access to your system
- Both 1 & 2
- None of the above
Which is not a malicious software?
- Virus
- Worm
- Macro
- Rootkit