S90-19 practice question 6 of 15

Which of the following types of attack always affect the availability of a service?

Full set: 83 questions
Answer options
A: Exception generation attack
B: SQL injection attack
C: XPath injection attack
D: None of the above Correct answer
Correct Answer:
D. None of the above
Explanation

None of the listed attacks are guaranteed to always affect the availability of a service. While each of these attacks can be engineered to cause a denial-of-service condition, their primary purpose is often different. SQL and XPath injection attacks typically target data confidentiality and integrity. Exception generation attacks can be used for reconnaissance (to learn about the system's internal structure) or to cause a crash, but a well-designed system may handle the exception without losing availability. Therefore, an impact on availability is a possible but not a certain outcome for any of these attacks.

Why Incorrect

A. Exception generation attack: This attack's goal is to trigger errors. While this can crash a service, it may also simply reveal system information or be gracefully handled, not always impacting availability.
B. SQL injection attack: The primary goal is typically to steal or manipulate data (affecting confidentiality and integrity). A denial-of-service is a potential side effect, not a guaranteed outcome.
C. XPath injection attack: Similar to SQL injection, this attack primarily targets unauthorized access to or manipulation of XML data, which relates to confidentiality and integrity, not necessarily availability.

References

1. Erl, T., et al. (2013). SOA Security: A Comprehensive Primer. Prentice Hall.

Chapter 10, Section 10.2.2 (SQL Injection): Describes SQL injection as a means to "gain unauthorized access to the underlying database," focusing on confidentiality and integrity breaches. It does not state that availability is always affected.

Chapter 10, Section 10.2.3 (XPath Injection): Explains this attack similarly to SQL injection but for XML data sources, with the primary goal being unauthorized data access.

Chapter 10, Section 10.2.1 (Coercive Browsing): Exception generation is a form of coercive browsing used to "provoke error messages that may reveal details about the service implementation." This reconnaissance goal does not inherently imply a loss of availability.

2. OWASP Foundation. (2021). OWASP Top 10 - 2021. A03:2021-Injection.

The official OWASP documentation on Injection flaws (which includes SQL, NoSQL, and XPath injection) lists data loss, corruption, and disclosure as primary impacts. While Denial of Service is mentioned as a possible impact, it is not presented as a guaranteed or "always" occurring outcome of every injection attack. This supports that the primary targets are confidentiality and integrity.

Scroll to Top