Application Security Fundamentals
Covers core security concepts including access control, XSS/SQL injection prevention, session management, privilege escalation, malware types, and security governance.
Questions
Which of the following replicates itself by attaching to other programs?
- A worm
- A virus
- a trojan horse
- a multipart virus
Database views provide which type of security control?
- Detective
- Corrective
- Preventive
- Administrative
Which of the following is not an attack against operations?
- Brute force
- Denial of service
- Buffer overflow
- ICMP Sting
If a security was not part of the development of a database, how is it usually handled?
- Through cell suppression
- By a trusted backend
- By a trusted front-end
- By views
What does it mean if someone says they were a victim of Bluejacking attack?
- An unsolicited message was sent
- A cell phone was cloned
- An IM channel introduced a worm
- Traffic was analyzed
A security concern that is prevalent in distributed environments and systems is
- Knowing the proper proxy and default gateway
- Knowing whom to trust
- Knowing what authentication method is most appropriate
- Knowing how to resolve hostnames
Who is ultimately responsible for making sure data is classified and protected?
- Data owners
- Users
- Administrators
- Management
Who has the primary responsibility of determining the classification level for information?
- Functional Manager
- Senior Management
- The owner
- The user
Which group causes the most risk of fraud and computer compromises?
- Employees
- Hackers
- Attackers
- Contractors
Spoofing can be described as which of the following:
- Eavesdropping
- Working through a list of words
- Session Hijacking
- Pretending to be someone or something else
An example of Anti Automation technique is
- Captcha
- Session Mgmt
- Whitelisting of inputs
- Blacklisting of inputs
Complete the following statement: One of the general rules of secure Configuration Management is to remove/disable _____.
- unused request types or methods
- manuals and installation documents
- examples
- All
Which of the following statements does NOT describe SQL Injection?
- SQL Injection is a type of security exploit in which the attacker is able to call built-in stored procedures
- SQL Injection attack technique forces a web site to echo client-supplied data, which executes in a user's web browser
- SQL Injection is a type of security exploit in which the attacker adds SQL statements in the user input
- SQL Injection attacks allow a malicious individual to execute undesired SQL statements
Which of the following is incorrect with respect to Application Denial of Service?
- Application Denial of Service attacks tend to exploit flaws in application design/architecture & implementation to prevent legitimate access to victim’s services
- Application Denial of Service has 2 typical types: Account Lockout & Database Slowdown
- Application developers should implement a strong positive validation mechanism at the server side, capable of filtering out malicious code/scripts from the user input.
- Use principle of full privilege to provide grant access to a service/resource in the web application to the end users/clients
Which vulnerability from options below has a higher probability to result in a password compromise through Brute-Force attack?
- Passwords transmitted in clear text over an insecure channel
- Weak password policy
- Encrypted passwords stored in configuration files
- Passwords stored in clear text configuration files
Which of the following statements is NOT true regarding Error Handling and Logging?
- Never rely on the operating system, database, or hardware to handle errors
- Your application’s code should always include its own error handler.
- All errors generated by internal components such as system calls, database queries, and other internal functions, should be handled by the application’s exception handler
- Never implement a generic error page
Complete the following statement: To prevent Cross Site Scripting (XSS), validate all the user supplied input for _____ before processing or inserting those values into the database
- type and format
- type, length , format and range
- type, length and range
- length and range
Upon log-out, how should the application deal with session cookies ?
- Update the time
- Clear them
- Update the header
- Store IP
Secure practices for Access control include
- Use role based access
- Enforce authorization on each request
- Enforce Business Workflow
- All
Gaining access to functionality for other user of same roles is
- Horizontal Privielege Escalation
- Vertical Privielege Escalation
- Cross functional escalation
- Session Hijacking