Web Application Security Fundamentals

Test your knowledge of web application security vulnerabilities and prevention methods including OWASP Top 10 issues like CSRF, authentication, encryption, and access control.

16 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

User has used a computer in Cyber Café and has forgot to logout. Attacher comes and uses the same browser to work on the same Web Application. This kind of Scenarios come under:

  1. Broken Authorization
  2. Broken Authentication and Session Management
  3. Security Misconfiguration
  4. Cross Site Request Forgery
Question 2 Multiple Choice (Single Answer)

Which is the Valid Scenario of Broken Authentication and Session Management.

  1. User able to access the page which he/she is not Authorised.
  2. Exposing Authentication/Session details as part of URL
  3. Sending Financial Data request as part of the request URL.
  4. None of the Above
Question 3 Multiple Choice (Single Answer)

Which one is the example of "Insecure Direct Object References"

  1. Use of non Parameterized API
  2. Unauthorised access to any webpage /webdata directly or indirectly.
  3. Ignoring the updates to install.
  4. None of the Above.
Question 4 Multiple Choice (Single Answer)

"Use per user or session indirect object references" is the methodology to prevent which kind of security risk ?

  1. Cross Site Request Forgery
  2. Broken Authentication and Session Management
  3. Insecure Direct Object Refrences
  4. Insecure Cryptographic Storage
Question 5 Multiple Choice (Single Answer)

Attacker creates forged HTTP requests and tricks a victim into submitting them via image tags, XSS, or numerous other techniques. If the user is authenticated, the attack succeeds. This kind of attack comes under the risk of following security risk?

  1. Injection
  2. Cross Site Scripting
  3. Cross Site Request Forgery
  4. Security Misconfiguration
Question 6 Multiple Choice (Single Answer)

Including the unique token in a hidden field can be an effective method for preventing this kind of risk:

  1. Insecure Direct Object References
  2. Insecure Cryptographic Storage
  3. Unvalidated Redirects and Forwards
  4. Cross-Site Request Forgery (CSRF)
Question 7 Multiple Choice (Single Answer)

A web user is able to see the exception stack traces on the web page. These kind of sites are under attackers threat due to:

  1. Weak Security Configuration
  2. Cross Site Request Forgery
  3. Weak Protection of Transportation Layer
  4. Cross Site Scripting
Question 8 Multiple Choice (Single Answer)

The app server admin console is automatically installed and not removed. Default accounts aren’t changed. Attacker derives the standard admin pages are on your server, logs in with default passwords, and start playing with the website. This is the kind of Web security risk :

  1. Cross Site Request Forgery
  2. Insecure Cryptographic Storage
  3. Security Misconfiguration
  4. Unvalidated Redirects and Forwards
Question 9 Multiple Choice (Single Answer)

Passwords are hashed with a strong standard algorithm and an appropriate salt is used. Using such a mechanism, we are introducing a security to avoid :

  1. Failure to Restrict URL Access
  2. Unvalidated Redirects and Forwards
  3. Cross Site Request Forgery
  4. Insecure Cryptographic Storage
Question 10 Multiple Choice (Single Answer)

A backup tape is made of encrypted health records, but the encryption key is on the same backup. This scenario comes under the risk of :

  1. Insecure Cryptographic Storage
  2. Failure to Restrict URL Access
  3. Insufficient Transport Layer Protection
  4. Unvalidated Redirects and Forwards
Question 11 Multiple Choice (Single Answer)

Attacker, who is an authorized system user, simply changes the URL to a privileged unprotected page and gets the access of it. This happened due to :

  1. Failure to Restrict URL Access
  2. Cross Site Scripting
  3. Broken Authentication and Session Management
  4. Insufficient Transport Layer Protection
Question 12 Multiple Choice (Single Answer)

The enforcement mechanism should deny all access by default, requiring explicit grants to specific users and roles for access to every page. This is done to prevent from :

  1. Insufficient Transport Layer Protection
  2. Unvalidated Redirects and Forwards
  3. Failure to Restrict URL Access
  4. Injection
Question 13 Multiple Choice (Single Answer)

A site simply doesn’t use SSL for all pages that require authentication. and observes an authenticated victim’s session cookie. Attacker then replays this cookie and takes over the user’s session. To prevent this kind of attacks, which of the following can be an effective methodogy:

  1. Require SSL for all sensitive pages. Non-SSL requests to these pages should be redirected to the SSL page
  2. A strong application architecture that provides good separation and security between components
  3. Use of Whitelist or Parameterized API
  4. All of the Above
Question 14 Multiple Choice (Single Answer)

It is recommended that any request parameter by which destination page is to be derived be a mapping value, rather than the actual URL or portion of the URL. This can prevent from:

  1. Injection
  2. Cross Site Request Forgery
  3. Unvalidated Redirects and Forwards
  4. Failure to Restrict URL Access
Question 15 Multiple Choice (Single Answer)

Which is the most active volcanic body in the solar system?

  1. Earth
  2. Venus
  3. Io
  4. Sun
Question 16 Multiple Choice (Single Answer)

Which is the largest moon in the solar system?

  1. The Moon
  2. Ganymede
  3. Charon
  4. Titan