Web Application Security Fundamentals

Test your knowledge of web application security including common vulnerabilities, attack vectors, and security best practices

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which among the following is DUC(Dynamic Update Client)?

  1. www.ip.com
  2. www.dns.com
  3. www.no-ip.com
  4. www.dyn.com
Question 2 Multiple Choice (Single Answer)

Name the famous Botnet which records highest infection rate

  1. spyEye
  2. BlackShades
  3. Zeus
  4. Cybergate
Question 3 Multiple Choice (Single Answer)

Phishing is

  1. luring victims into attacks by using precisely targeted researched personal information schemes
  2. the practice of tricking a user into giving, or giving access to, sensitive information, thereby bypassing most or all protection; Use of propaganda by an authoritarian government to sway perceptions and attitudes of its own citizenry
  3. the act of someone who fishes as a diversion
  4. the act of sending email that falsely claims to be from a legitimate organization. This is usually combined with a threat or request for information.
Question 4 Multiple Choice (Single Answer)

Cross Site Scripting is

  1. a mechanism of sharing scripts between two websites
  2. a code injection technique that exploits a security vulnerability occurring in the database layer of an application
  3. is a type of computer security vulnerability typically found in web applications that enables malicious attackers to inject client-side script into web pages viewed by other users.
  4. is a way to protect websites using JavaScripts
Question 5 Multiple Choice (Single Answer)

SQL Injection is

  1. a code injection technique that exploits a security vulnerability occurring in the database layer of an application
  2. is a type of computer security vulnerability typically found in web applications that enables malicious attackers to inject client-side script into web pages viewed by other users
  3. is a way to allow users to query database using web
  4. is a latest way to fight against database security issues
Question 6 Multiple Choice (Single Answer)

Cross-site request forgery

  1. is a type of computer security vulnerability typically found in web applications that enables malicious attackers to inject client-side script into web pages viewed by other users.
  2. is an attempt to make a computer resource unavailable to its intended users by sending invalid/forged requests
  3. is a form of attack on a database-driven Web site in which the attacker executes unauthorized SQL commands by taking advantage of insecure code on a system connected to the Internet
  4. is a type of malicious exploit of a website whereby unauthorized commands are transmitted from a user that the website trusts
Question 7 Multiple Choice (Single Answer)

Denial of service

  1. is an action taken by server when invalid credentials are supplied by users
  2. is an action taken by firewall to prevent access to malicious users
  3. is an attempt to make a computer resource unavailable to its intended users
  4. is a way to prevent Cross Site Scripting attacks
Question 8 Multiple Choice (Single Answer)

Social Engineering

  1. is the act of manipulating people into performing actions or divulging confidential information, rather than by breaking in or using technical hacking techniques (essentially a fancier, more technical way of lying).
  2. is a way to educate users about different security issues
  3. is a group formed by malicious users
  4. is a practice of engineering dealing with Social Security
Question 9 Multiple Choice (Single Answer)

Most effective way to protect credentials in transit

  1. is by using complex passwords
  2. is to encrypt the entire login transaction using something like SSL
  3. is by not using public/shared PCs
  4. is by sending credentials by POST method
Question 10 True/False

It's OK to put sensitive information in HIDDEN form fields; after all, they're hidden.

  1. True
  2. False
Question 11 Multiple Choice (Single Answer)

In what type of attack does an intruder manipulate a URL in such a way that the Web server executes or reveals the contents of a file anywhere on the server, including those lying outside the document root directory?

  1. cross-site scripting
  2. command injection
  3. path traversal attacks
  4. SQL injection
Question 12 True/False

Encrypted data is not at risk by keyloggers.

  1. True
  2. False
Question 13 Multiple Choice (Single Answer)

Which of the following is NOT recommended for securing Web applications against authenticated users?

  1. Client-side data validation
  2. Running the application under least privileges necessary
  3. Filtering data with a default deny regular expression
  4. Using parameterized queries to access a database
Question 14 Multiple Choice (Single Answer)

Which HTTP method suits best for sending the form field data from a web browser to the server as a best practice?

  1. GET
  2. POST
  3. PUT
  4. TRACE
Question 15 Multiple Choice (Single Answer)

A web application security requirement stated that it must not behave differently under similar circumstances and should promise a consistent functionality even when overloaded or a tampering is attempted. The requirement is of:

  1. CONFIDENTIALITY
  2. INTEGRITY
  3. AVAILABILITY
  4. ACCOUNTABILITY
Question 16 Multiple Choice (Single Answer)

Which of the following is not a possible outcome of SQL injection vulnerability?

  1. Denial of Service
  2. Data Manipulation
  3. Authentication bypass
  4. Directory Listing and Traversal
Question 17 Multiple Choice (Single Answer)

If a user is able to access the privileges of higher roles than the role he has actually been assigned, he does so by intercepting and changing the values of the parameters that are sent by a browser to the server. In the case select the weakness that fits best in this scenario.

  1. HTTP methods such as OPTIONS, PUT, and DELETE are enabled on the web server
  2. Lack of sufficient client side validation
  3. Lack of sufficient server side validation
  4. Lack of exception handling
Question 18 Multiple Choice (Single Answer)

What is the best way to mitigate a Cross Site Scripting while enabling the special characters such as javascript tags to be displayed on the web browser without actually being executed?

  1. URL/HTML encoding
  2. Blacklisting
  3. Whitelisting
  4. Parameterized SQL queries in application code/configuration
Question 19 Multiple Choice (Single Answer)

A CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) is primarily for:

  1. Distinguishing a computer from a human, primarily to restrict the access
  2. Supporting multifactor authentication
  3. Provide a secure channel for client server communication
  4. Providing a friendly interface between human and computers
Question 20 Multiple Choice (Single Answer)

A website currently allows a user to download the website’s backup file stored in one of the hidden folders due to vulnerability. In this context which of the following could be associated with it?

  1. Input Validation
  2. Configuration Management/Insecure Configuration
  3. Error Handling
  4. Denial of Service