S90-19 practice question 1 of 15

A service is designed to respond to an error condition by issuing a message containing detailed error information. This message includes connection…

Full set: 83 questions
A service is designed to respond to an error condition by issuing a message containing detailed error information. This message includes connection information for a database that is shared by numerous services within the service inventory. An attacker intentionally sends an invalid message to the service in order to trigger an error and receive the connection information. The attacker then proceeds to connect to the database and issues a series of malicious SQL queries that make the database non-responsive. As a result, a number of services within the service inventory are disabled. Which of the following types of attacks were successfully carried out?
Answer options
A: SQL injection attack
B: Exception generation attack Correct answer
C: Denial of service attack Correct answer
D: Buffer overrun attack
Correct Answer:
B. Exception generation attack; C. Denial of service attack
Explanation

The scenario describes a two-stage attack. The first stage is an Exception Generation attack, where the attacker intentionally sends an invalid message to exploit a flaw in the service's error handling. This causes the service to leak sensitive database connection information. In the second stage, the attacker uses the stolen credentials to connect directly to the database and execute malicious queries. This action makes the database non-responsive and disables dependent services, which constitutes a successful Denial of Service attack by compromising the availability of the system.

Why Incorrect

A. SQL injection attack: This attack involves embedding malicious SQL within a service's input parameters. The scenario describes the attacker connecting directly to the database after obtaining credentials, not injecting SQL through the service.
D. Buffer overrun attack: This is a memory-based attack where an attacker writes data beyond a buffer's boundary to corrupt memory. The described attack involves exploiting logical flaws and resource exhaustion, not memory manipulation.

References

1. Erl, T., et al. (2011). SOA Security: Advanced Design and Architecture. Prentice Hall.

For Exception Generation: The vulnerability exploited is the lack of the Exception Shielding pattern. Chapter 15 states, "An unhandled exception can expose details about the service implementation and its underlying infrastructure... This information can be used by a malicious consumer to formulate a targeted attack" (p. 389). This directly describes the first part of the attack.

For Denial of Service: Chapter 5, "Fundamental SOA Security Threats," identifies Denial of Service as a primary threat to the "Availability" characteristic of a service-oriented solution (Section 5.3, p. 104). The outcome of the attack aligns perfectly with this definition.

For SQL Injection: The same text defines SQL injection as a threat to data integrity, carried out by embedding malicious code within service message inputs (Chapter 5, Section 5.2, p. 103), which is distinct from the attack method described in the question.

2. Arcitura Education Inc. (2017). S90.09A: Fundamental SOA Security Course Booklet.

Module 3, "SOA Security Threats & Mechanisms," explicitly lists "Exception Generation" and "Denial of Service" as common threats that security mechanisms must address within a service-oriented architecture. The scenario is a textbook example of these threats being realized.

Scroll to Top