Web Application Security Fundamentals
Quiz covering web application security concepts including vulnerabilities (SQL injection, XSS, buffer overflow), encryption protocols, security design principles, and countermeasures.
Questions
ASLR(Address Space Layout Randomization) and DEP (Data Execution Prevention) can be effective countermeasures against ?
- Server Misconfigurations
- Buffer Overflow
- Brute Force Attacks
- None of the above
Tina is working on a multi threaded application.The users of the application can specify the duration for which the threads may be put to sleep.If Tina does not perform any input validation,she is most likely to expose her code to ?
- Session Fixation
- Cross Side Scripting
- Denial of Service
- SQL Injection
Cross site scripting is a type of attack where:
- Attacker changes the privilege level through a script
- Attacker uploads a message that contains client side code that attacks anyone that reads it.
- A script is run at the attackers machine
- None of the above
It is a good programming practice to prevent Caching of sensitive data at client or proxies by implementing:
- "Cache-Control: do not-cache, do not save"
- "Cache-Control: do not-save, do not store"
- "Cache-Control: no-cache, no store"
- "Cache-Control: do not cache"
Which is not a component of IIS application ?
- FTP
- Common files
- Background Intelligent Transfer Service (BITS)
- All of the choices are component of IIS
Entry points in a software application include interfaces, protocols, code and which of the following?
- Error Messages
- Services
- Packaging
- Response Codes
Which is a countermeasure to a directory-traversal attack?
- Enforce permissions to folders.
- Allow everyone access to the default page only.
- Allow only registered users to access the home page of a website.
- Make all users log in to access folders
Using a custom build process to enable specific features in the Apache Web server is an example of what design principle?
- Least Privilege
- Leveraging existing components
- Economy of mechanism
- Fail safe
Applying the most restrictive set of operating system permissions to all application files is an example of what design principle?
- Least common mechanism Least privilege
- Least Privilege
- Separation of duties
- Weakest link
A tool that can perform ODBC commands on a SQL Server
- PSQL
- SQLCMD
- OSQL
- Postgre SQL
As part of secure coding practices, its one of the counter measure that we take to address specific vulnerablity while attacker sending large amounts of data that exceed the quantities expected by the application within a given field.
- Error handling
- SQL Injection attack
- Data and Input Validation
- Buffer overflow attack
Which of the following is not an web application vulnerability ?
- Invalidated input
- Cross site scripting (XSS)
- Use of firewall for content verification
- web sever misconfiguration
Which piece of information is most likely to be gleaned from html source code?
- Directory structures
- Facility security measures
- Alarm codes
- Password policy
Web applications that handle sensitive information employ appropriate communication protocols to encrypt the data in transit. Which one of the following communication protocols encrypts data during transit
- HTTP 1.1
- HTTP 1.0
- SSL/TLS
- HTTP Keep-Alive
Refer URL : http://www.testrun.com/login.aspx?id=' OR 1=1- . Which type of attack refered in this URL
- Cross Site Scripting (XSS)
- Buffer Overflow
- SQL Injection
- Cross Site Request Forgeries (CSRF)
Which of the following is not a security mechanism
- Defence
- Dumpster Diving
- Deterrence
- Detection