Web Application Security and AppScan

Questions about web application security vulnerabilities and using AppScan for security testing

20 Questions Published

Questions

Question 1 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 2 Multiple Choice (Single Answer)

Which among the below do you think is the right approach for secure session management?

  1. Display “Welcome, user!” on the home page
  2. Display only “Welcome” on the home page
  3. Invalidate and destroy the session when user logs out
  4. Use persistent cookies for session management
Question 3 Multiple Choice (Single Answer)

Appscan injected the following into a test request GET /bank/customize.aspx?lang=Foobar%3f%0d%0aAppScanHeader:%20AppScanValue%2f1%2e2%2d3%0d%0aSecondAppScanHeader:%20whatever HTTP/1.0. What kind of vulnerability is appscan testing for?

  1. Cross site request forgery
  2. Cross site scripting
  3. HTTP Response Splitting
  4. SQL injection
Question 4 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 5 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 6 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 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)

When do you use a multi step operation ?

  1. When a login sequence needs to be recorded
  2. When a particular application flow needs to be recorded
  3. When in session parameter needs to be defined
  4. When you need to test only a part of your application
Question 9 Multiple Choice (Single Answer)

The appscan reports Sarbanes oxley, hippa, fisma belongs to which Type?

  1. Custom
  2. Industry Standard
  3. Compliance
  4. Delta Analysis
Question 10 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 11 Multiple Choice (Single Answer)

For a given url -> http://www.example.com/smb.jsp&page=wireless where wireless indicates a unique page how would you configure appscan to test all unique pages?

  1. Ignore the page parameter
  2. Track the page parameter
  3. Set the redundant path limit to 1
  4. Set the depth limit to 1
Question 12 Multiple Choice (Single Answer)

What does “Difference” in the details pane indicate?

  1. Difference between 2 tests
  2. How appscan modified the original web application page
  3. How appscan constructed the test http request
  4. How appscan arrived at the threat classification
Question 13 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 14 Multiple Choice (Single Answer)

During a scan you notice that its running quite slow and there are lot of communication errors in the logs. How would you correct this problem?

  1. Increase the no of threads and increase the timeout
  2. Decrease the no of threads and decrease the timeout
  3. Increase the no of threads and decrease the timeout
  4. Decrease the no of threads and increase the timeout
Question 15 Multiple Choice (Single Answer)

What kind of testing tool is AppScan?

  1. Black box security testing
  2. White box security testing
  3. Gray box security testing
  4. Blue box security testing
Question 16 Multiple Choice (Single Answer)

What parameters does Appscan modify when testing a .net webservice?

  1. POST parameters
  2. SOAP parameters
  3. GET parameters
  4. Cookies
Question 17 Multiple Choice (Single Answer)

Cross site scripting vulnerabilities helps an attacker to do what?

  1. Execute OS commands
  2. Steal user sessions
  3. Execute scripts on the webserver
  4. Manipulate the data in the database
Question 18 Multiple Choice (Single Answer)

Which among the following do you think will prevent a CSRF attack?

  1. /transfer.asp?fromacct=”account1”&toaccount=”account2”&amount=200.45&trnsactToken=”121431ersw”
  2. /email.jsp&to=”[email protected]”&subject=”hi”
  3. Use https for all secured pages
  4. Use encryption for session cookies
Question 19 Multiple Choice (Single Answer)

Certain folders in your application contain sensitive data. How would you securely hide their existence within your web application for all users?

  1. Send 403 return code
  2. Send 302 return code and redirect the user to the home page
  3. Send 404 return code
  4. Send 200 return code
Question 20 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