Web Application Security and AppScan
Questions about web application security vulnerabilities and using AppScan for security testing
Questions
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?
- Add the domain name in the “Additional servers and domains” section in the scan configuration
- Add 10.1.52.3 in the “Additional servers and domains” section in the scan configuration
- Put the domain name in the login url
- Change the application code to reflect the domain name every where
Which among the below do you think is the right approach for secure session management?
- Display “Welcome, user!” on the home page
- Display only “Welcome” on the home page
- Invalidate and destroy the session when user logs out
- Use persistent cookies for session management
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?
- Cross site request forgery
- Cross site scripting
- HTTP Response Splitting
- SQL injection
After the appscan finished testing your web application you found that your password was changed to 1234. What do you think happened?
- Reset password functionality was invoked during the testing
- Change password form was submitted by appscan
- Somebody changed your password while the scan was running
- This is a result of an SQL injection test by appscan
Which among the below do you think appscan will NOT report as “Predictable login credentials?
- Admin/admin1
- John/nAscar
- John/n@sc1234r
- John/nascar2
The occurrence of which among the below in the http response will appscan report as possible server path disclosure vulnerability?
- ../../help/images/about.jpeg
- <!-- /help/images/about.jpeg -->
- d:/etc/host/pwd
- document.title(“/admin/administration”);
What’s the effect of malicious file execution on the server?
- User account compromised
- Steal user sessions
- Site defacement and complete take over of the application
- Complete user account compromise
When do you use a multi step operation ?
- When a login sequence needs to be recorded
- When a particular application flow needs to be recorded
- When in session parameter needs to be defined
- When you need to test only a part of your application
The appscan reports Sarbanes oxley, hippa, fisma belongs to which Type?
- Custom
- Industry Standard
- Compliance
- Delta Analysis
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?
- Somebody put those files there during the test
- Appscan created those files
- Third party domain was not excluded from the scan
- It’s a result of cross site scripting attack
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?
- Ignore the page parameter
- Track the page parameter
- Set the redundant path limit to 1
- Set the depth limit to 1
What does “Difference” in the details pane indicate?
- Difference between 2 tests
- How appscan modified the original web application page
- How appscan constructed the test http request
- How appscan arrived at the threat classification
Which among the below indicate application error
- 400 return code
- 500 return code
- 302 return code
- 200 return code
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?
- Increase the no of threads and increase the timeout
- Decrease the no of threads and decrease the timeout
- Increase the no of threads and decrease the timeout
- Decrease the no of threads and increase the timeout
What kind of testing tool is AppScan?
- Black box security testing
- White box security testing
- Gray box security testing
- Blue box security testing
What parameters does Appscan modify when testing a .net webservice?
- POST parameters
- SOAP parameters
- GET parameters
- Cookies
Cross site scripting vulnerabilities helps an attacker to do what?
- Execute OS commands
- Steal user sessions
- Execute scripts on the webserver
- Manipulate the data in the database
Which among the following do you think will prevent a CSRF attack?
- /transfer.asp?fromacct=”account1”&toaccount=”account2”&amount=200.45&trnsactToken=”121431ersw”
- /email.jsp&to=”[email protected]”&subject=”hi”
- Use https for all secured pages
- Use encryption for session cookies
Certain folders in your application contain sensitive data. How would you securely hide their existence within your web application for all users?
- Send 403 return code
- Send 302 return code and redirect the user to the home page
- Send 404 return code
- Send 200 return code
What is the best approach to secure a web application?
- Use https
- Use encryption
- Black box testing
- Secure coding