S90-19 practice question 4 of 15

The application of the Message Screening pattern can help avoid which of the following attacks?

Full set: 83 questions
Answer options
A: Buffer overrun attack Correct answer
B: XPath injection attack Correct answer
C: SQL injection attack Correct answer
D: Insufficient authorization attack
Correct Answer:
A. Buffer overrun attack; B. XPath injection attack; C. SQL injection attack
Explanation

The Message Screening pattern establishes an intermediary component that validates incoming messages before they are processed by the primary service logic. This pattern mitigates threats related to malicious content by enforcing validation rules. It can prevent buffer overrun attacks by checking the size of message data against predefined limits. It also thwarts injection attacks, such as SQL and XPath injection, by inspecting message contents for malicious code fragments, illegal characters, or deviations from the expected data format. By filtering and rejecting non-compliant messages at the perimeter, the pattern ensures that only structurally and semantically valid data reaches the service, thereby protecting it from content-based attacks.

Why Incorrect

D. Insufficient authorization attack: This is an access control failure, not a message content issue. Message Screening validates what is in the message, while authorization determines what the message sender is allowed to do.

References

1. Erl, T. (2009). SOA Design Patterns. Prentice Hall.

Chapter 17: Service Security Design Patterns, Section: Message Screening. The pattern description explicitly states that it is used to "validate the contents of a message" to protect against "malicious content" and "malformed messages." The text explains that this includes validating data length to prevent buffer overflows and validating content to filter out script and code associated with injection attacks (pp. 618-621).

2. Josuttis, N. (2007). SOA in Practice: The Art of Distributed System Design. O'Reilly Media.

Chapter 10: Security. This chapter discusses the importance of validating all incoming data at the perimeter. It explains that such validation (a core principle of the Message Screening pattern) is the primary defense against injection attacks (SQL, command, etc.) and buffer overflows by enforcing strict data type, length, and format checks (pp. 225-227).

3. Sheth, A., & Verma, K. (2005). Web Service Composition. In M. P. Singh (Ed.), Practical Handbook of Internet Computing. CRC Press.

Section on Web Service Security. The text discusses the necessity of a "validation and filtering" layer for incoming SOAP messages. This layer, which implements the Message Screening pattern, is identified as a critical countermeasure for content-based attacks, including SQL injection, XPath injection, and buffer overflows caused by oversized data elements (Section 29.4.2).

Scroll to Top