Application Security Testing and Web Vulnerabilities

Quiz covering application security testing methodologies, web vulnerabilities (XSS, SQL injection), security tools like AppScan, and security principles including access control and secure storage.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

How can an attacker take advantage of the information gained from an SQL debug message?

  1. steal sensitive information from other users
  2. run scripts on other user's browser
  3. alter the communication protocol used by the site
  4. can potentially understand the query's structure
Question 2 Multiple Choice (Single Answer)

Which statement is true about network firewalls preventing Web Application attacks?

  1. Network firewalls cannot prevent attacks because ports 80 and 443 must be open
  2. If configured properly, network firewalls can prevent attacks
  3. Network firewalls cannot prevent attacks because its too comples to configure
  4. Network firewalls can prevent attacks because they can detect malicious HTTP traffic
Question 3 Multiple Choice (Single Answer)

Which cookie value or attribute helps protect session tokens from a cross-site scripting attack?

  1. HTTP-ONLY is set
  2. Domain is not set
  3. Expiration is set to one week
  4. Expiration is set to one day
Question 4 Multiple Choice (Single Answer)

What is an implication of insecure cryptographic storage

  1. The website could be defaced, and database tables could be deleted
  2. Sensitive data could be stolen
  3. A malicious script could be executed, and database tables could be deleted
  4. A malicious script could be executed, and session tokens could be predicted
Question 5 Multiple Choice (Single Answer)

What does the Manual Explore feature in AppScan allow users to do?

  1. manually test for vulnerabilities
  2. manually log in
  3. manually step through the application
  4. exclude links from the scan
Question 6 Multiple Choice (Single Answer)

Your scan has been running for one hour. When observing your scan’s progress, you notice that there are several URLs that match the following pattern: .../doAction.pl?action=viewpromotions&timestamp=14:00&n=1 .../doAction.pl?action=viewpromotions&timestamp=15:30&n=1 Which action should you take to optimize your scan and prevent an infinite loop?

  1. ensure JavaScript Execute is turned on
  2. track the “viewpromotions” parameter
  3. ignore the “timestamp” parameter
  4. turn off the Redundant Path limit setting
Question 7 Multiple Choice (Single Answer)

Automatic Form Fill is enabled and includes the following entry: Description: Social Security Parameters: ssn Value: 273 27 2733 Match Type: Partial URL: {blank} Which form parameter is automatically filled in?

  1. socialSecurityNumber
  2. socialSecurityNum
  3. secnum
  4. customerssn
Question 8 Multiple Choice (Single Answer)

Which AppScan user interface provides relevant information about how AppScan tested for a particular vulnerability?

  1. Application Tree
  2. Request/Response
  3. Application Data
  4. Remediation Tasks View
Question 9 Multiple Choice (Single Answer)

In most cases, AppScan uses a variety of different tests to discover a single type of vulnerability. What is this called?

  1. a test policy
  2. a test variant
  3. a test case
  4. a test HTTP request
Question 10 Multiple Choice (Single Answer)

Cross Site Scripting is an attack against

  1. Client (Browser)
  2. Database
  3. Web Application
  4. Web Server
Question 11 Multiple Choice (Single Answer)

The principle of least privilege as it applies to Access control mandates that:

  1. Group based access control should be implemented to assign permissions to application users
  2. Consistent authorization checking should be performed on all application pages
  3. A set of all allowable actions should be defined for each user role and all other's denied
  4. All failed access authorization requests should be logged to a secure location for review by administrators
Question 12 Multiple Choice (Single Answer)

Web server will log which part of a GET request?

  1. Hidden tags
  2. Query Strings
  3. Header
  4. Cookies
Question 13 Multiple Choice (Single Answer)

The difference between a GET and a POST request is

  1. It does not matter, the web serve will treat all GET requests as POST requests
  2. The information in a POST request cannot be manipulated. It is possible to change a GET request.
  3. A GET request is sent when requesting information; A POST request is sent when sending information
  4. The data is sent in the body of the POST request and in the URL in a GET request
Question 14 Multiple Choice (Single Answer)

Which of the following best describes the difference between white-box testing and black-box testing?

  1. White-box testing is performed by an independent programmer team
  2. Black-box testing uses the bottom-up approach
  3. Black-box testing involves the business units
  4. White-box testing examines the program internal logical structures
Question 15 Multiple Choice (Single Answer)

Scanning underlying source code with a database of regular expressions to quickly identify suspicious code, application inputs, outputs etc primarily relates to ..

  1. Gray-box testing
  2. Black-box testing
  3. White-box testing
  4. None of these
Question 16 Multiple Choice (Single Answer)

What is the difference between network vulnerability assessment and a penetration test?

  1. A penetration test enumerates resources, and a vulnerability assessment enumerates vulnerabilities
  2. They are one and the same
  3. A penetration test identifies running services, and vulnerability assessments provide a more in-depth understanding of vulnerabilities
  4. A penetration test exploits vulnerabilities, and a vulnerability assessment finds vulnerabilities
Question 17 Multiple Choice (Single Answer)

XSS stands for?

  1. cross site scrpting
  2. X site scrpting
  3. spread sheet
  4. Excel site scrpting
Question 18 Multiple Choice (Single Answer)

The ASAP process can applied at which phase of an application development for best results?

  1. During testing
  2. During development
  3. During all phases of development starting with requirement analysis and ending with rollout
  4. During design
Question 19 Multiple Choice (Single Answer)

In the ASAP process what is the main activity carried out in the requirement analysis phase?

  1. Capture the customer requirements
  2. Update the project plan
  3. Capture and update the URS and SRS with security requirements for the project
  4. None of the above
Question 20 Multiple Choice (Single Answer)

Who has the responsibility for remediation of the security vulnerabilities discovered during application security testing?

  1. ASAP Team
  2. Development Team
  3. Testing Team
  4. Project Management