Web Application Security and AppScan

Covers web application security vulnerabilities, testing with AppScan, and security best practices including XSS, SQL injection, authentication, and vulnerability scanning techniques.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

After the appscan finished testing your web application you found that your password was changed to 1234. What do you think happened?

  1. Reset password functionality was invoked during the testing
  2. Change password form was submitted by appscan
  3. Somebody changed your password while the scan was running
  4. This is a result of an SQL injection test by appscan
Question 2 Multiple Choice (Single Answer)

After a test appscan reports the occurrence of lot of hidden files which you know for sure your application does not contain. What do you think happened?

  1. Somebody put those files there during the test
  2. Appscan created those files
  3. Third party domain was not excluded from the scan
  4. It’s a result of cross site scripting attack
Question 3 Multiple Choice (Single Answer)

Which among the below do you think appscan will NOT report as “Predictable login credentials?

  1. Admin/admin1
  2. John/nAscar
  3. John/n@sc1234r
  4. John/nascar2
Question 4 Multiple Choice (Single Answer)

The occurrence of which among the below in the http response will appscan report as possible server path disclosure vulnerability?

  1. ../../help/images/about.jpeg
  2. <!-- /help/images/about.jpeg -->
  3. d:/etc/host/pwd
  4. document.title(“/admin/administration”);
Question 5 Multiple Choice (Multiple Answers)

It’s advisable to run appscan in the preproduction environment. What do you think are the reasons? Select 2 answers

  1. Don’t have to inform the application owner
  2. To prevent production database corruption
  3. To prevent user functionality disruption
  4. To reduce network traffic
Question 6 Multiple Choice (Multiple Answers)

Before running a test its advisable to do the following. Select 3 answers

  1. Inform the user population about the test
  2. Inform the QA and system administers about the test
  3. Backup the database
  4. Shut down the configured SMPT servers
Question 7 Multiple Choice (Single Answer)

What’s the effect of malicious file execution on the server?

  1. User account compromised
  2. Steal user sessions
  3. Site defacement and complete take over of the application
  4. Complete user account compromise
Question 8 Multiple Choice (Single Answer)

What is the best approach to secure a web application?

  1. Use https
  2. Use encryption
  3. Black box testing
  4. Secure coding
Question 9 Multiple Choice (Single Answer)

Which among the below indicate application error?

  1. 400 return code
  2. 500 return code
  3. 302 return code
  4. 200 return code
Question 10 Multiple Choice (Single Answer)

Which among the below is an example of information leakage vulnerability?

  1. Displaying “Welcome, “+request.getParameter(“userid”)
  2. Displaying “You entered either a wrong user id or password” error message
  3. Call stack trace
  4. Return error code 404
Question 11 Multiple Choice (Single Answer)

During testing you observed that after few minutes of initiating the scan appscan locks itself out of the application. How will you resolve the problem?

  1. Configure appscan not to test login/logout pages
  2. Increase the thread count
  3. Decrease the timeout
  4. Increase the timeout
Question 12 Multiple Choice (Single Answer)

While analyzing your application you observed that a part of your application is accessed using the domain name whereas the login url is defined as http://10.1.52.3/apps/login.asp. How will you configure appscan to test this application?

  1. Add the domain name in the “Additional servers and domains” section in the scan configuration
  2. Add 10.1.52.3 in the “Additional servers and domains” section in the scan configuration
  3. Put the domain name in the login url
  4. Change the application code to reflect the domain name every where
Question 13 Multiple Choice (Single Answer)

Which type of vulnerability can occur when a developer exposes a reference to an internal implementation object, such as a file, directory, database record, or key, as a URL or form parameter?

  1. Cross-site Scripting
  2. Insecure Direct Object Reference
  3. Injection Flaw
  4. Cross Site Request Forgery
Question 14 Multiple Choice (Single Answer)

After 30 minutes your scan stops with an out-of-session error. What is a possible cause of this error?

  1. Redundant path limit was too low
  2. A parameter was not tracked
  3. Flash parsing was turned off
  4. Platform authentication was not configured
Question 15 Multiple Choice (Single Answer)

AppScan sent the following test HTTP request: GET /web/content/index.php?file=/../../../../../../../../etc/passwd%00 HTTP/1.0 Cookie: JSESSIONID=dqt0LSnfhdVyTJkCwTwfLQQSkTTGYX9D79tLLpT1yLQjVhSpZKP9!914376523; customerLanguage=en Accept: / Accept-Language: en-US User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32) Host: www.ibm.com Although, there is no indication in the response about the existence of a password file, AppScan reported vulnerability with the following reasoning: Global Validation found an embedded script in the response (), which was probably injected by a previous test. The presence of this script in the site suggests that the application is vulnerable to which type of attack?

  1. Stored Cross-site Scripting
  2. Cross-site Scripting
  3. Namazu Path Traversal
  4. Directory Listing
Question 16 Multiple Choice (Single Answer)

In which areas does AppScan test for vulnerabilities?

  1. the network layer, the web application, the webserver
  2. the operating system, the web application platform, the database
  3. the web application, the web server, the web application platform
  4. the web application platform, the network layer, the web server
Question 17 Multiple Choice (Single Answer)

After 30 minutes your scan stops with an out-of-session error. What could be the cause of error?

  1. Redundant path limit was too low
  2. A parameter was not tracked
  3. Flash parsing was turned off
  4. Platform authentication was not configured
Question 18 Multiple Choice (Single Answer)

How does an attacker exploit web application vulnerabilities?

  1. By hacking the firewall
  2. By installing viruses on the users machine
  3. By sending malicious HTTP requests
  4. By sniffing the traffic between a user and the web server
Question 19 Multiple Choice (Single Answer)

Which type of vulnerability allows an attacker to browse files that shouldnt be accessible (eg. *.bak,"Copy of", *.inc, etc) or pages restricted for users with higher previleges?

  1. Insecure cryptographic storage
  2. Injection Flaw
  3. Failure to restrict URL access
  4. Insecure communication
Question 20 Multiple Choice (Single Answer)

Why is it important to encrypt the HTTP traffic for an authenticated connection between a client and a web server?

  1. to prevent SQL injection
  2. to prevent sensitive information from being stolen
  3. to prevent cross site scripting
  4. to prevent Web site defacement