S90-19 practice question 9 of 15

Service A is part of a large service composition. Following an attack, Service A becomes non- responsive. Which of the following attacks could be responsible for Service A's non-responsiveness?

Full set: 83 questions
Answer options
A: Buffer overrun attack Correct answer
B: Exception generation attack
C: XML parser attack Correct answer
D: None of the above.
Correct Answer:
A. Buffer overrun attack; C. XML parser attack
Explanation

A service becoming non-responsive is a form of Denial of Service (DoS). Both a buffer overrun attack and an XML parser attack are common methods to achieve this outcome. A buffer overrun attack sends more data than a program's buffer can handle, overwriting adjacent memory. This can corrupt critical data, including the instruction pointer, leading to a segmentation fault or an unhandled exception that crashes the service, rendering it non-responsive. An XML parser attack, such as an "XML Bomb" (e.g., Billion Laughs attack), involves sending a maliciously crafted XML document that forces the parser into a resource-intensive process, consuming excessive CPU cycles and memory. This starves the service of resources, causing it to hang or crash, making it non-responsive to legitimate requests.

Why Incorrect

B. Exception generation attack: This attack's primary goal is often to disrupt business logic or cause the service to leak sensitive information through detailed error messages, not necessarily to cause a complete DoS.
D. None of the above: This is incorrect because options A and C are well-established attacks that can directly cause a service to become non-responsive.

References

1. Erl, T., et al. (2013). SOA Security: Service-Oriented Architecture Security. Prentice Hall.

For Buffer Overrun: Chapter 6, Section "Buffer Overflow," describes how this attack can be used to "cause a denial of service condition by crashing the application" (p. 156).

For XML Parser Attack: Chapter 6, Section "XML-Related Security Threats," discusses the "XML Bomb" as a Denial of Service attack that works by "overwhelming the memory and processing resources of the XML parser" (p. 159).

For Exception Generation: This is typically discussed under the vulnerability of "Improper Error and Exception Handling," where the threat is information disclosure rather than a direct DoS (p. 154).

2. Jensen, M., et al. (2009). On the effectiveness of XML-based DoS attacks in web services. In Proceedings of the 2nd international conference on Security of information and networks (SIN '09). Association for Computing Machinery, New York, NY, USA, 113–119.

DOI: https://doi.org/10.1145/1626195.1626219

This paper analyzes various XML-based DoS attacks, including those that cause excessive CPU and memory consumption, leading to service non-responsiveness. It confirms that attacks targeting XML parsers are a direct cause of DoS.

Scroll to Top