S90-19 practice question 12 of 15

The Trusted Subsystem pattern is applied to a service that provides access to a database. Select the answer that best explains why this service is still at risk of being subjected to an insufficient authorization attack.

Full set: 83 questions
Answer options
A: Attackers can steal confidential data by monitoring the network traffic that occurs between the service and the database.
B: Because the Service Perimeter Guard pattern was also not applied, the database is not protected by a firewall.
C: If an attacker gains access to the security credentials used by the service to access the database, the attacker can access the database directly. Correct answer
D: None of the above.
Correct Answer:
C. If an attacker gains access to the security credentials used by the service to access the database, the attacker can access the database directly.
Explanation

The Trusted Subsystem pattern centralizes access to a backend resource, such as a database, by having a service component use a single, highly privileged set of credentials. The primary vulnerability inherent in this pattern is the compromise of these credentials. If an attacker manages to steal the security credentials used by the service, they can bypass the service's application logic and authorization checks. This allows the attacker to connect directly to the database with the full permissions of the service's account, leading to an insufficient authorization attack where the attacker gains unauthorized access to data.

Why Incorrect

A. This describes an eavesdropping or man-in-the-middle attack. It is a data confidentiality issue, not an insufficient authorization issue, and is mitigated by different patterns like Data Confidentiality (encryption).
B. The absence of a firewall (Service Perimeter Guard) is a network security weakness, not an inherent flaw in the authorization model of the Trusted Subsystem pattern itself.
D. Option C accurately identifies a primary and well-documented risk associated with the Trusted Subsystem pattern, making this "None of the above" option incorrect. ---

References

1. Erl, T. (2009). SOA Design Patterns. Prentice Hall. In the chapter on Security Patterns, the "Trusted Subsystem" pattern description explicitly details the consequences of its application. It states, "If the identity of the trusted sub-system is compromised, the backend system can be directly accessed" (p. 289). This directly supports the reasoning that a credential compromise leads to direct, unauthorized access.

2. Erl, T., Puttini, R., & Mahmood, Z. (2013). Cloud Computing: Concepts, Technology & Architecture. Prentice Hall. The discussion on security patterns and trust boundaries highlights that creating a trusted subsystem concentrates risk. The text explains that the compromise of the subsystem's credentials grants the attacker the same level of privilege, bypassing intended controls (Section 8.3, "Fundamental Cloud Security").

3. Schumacher, M., Fernandez-Buglioni, E., Hybertson, D., Buschmann, F., & Sommerlad, P. (2006). Security Patterns: Integrating Security and Systems Engineering. Wiley. The book discusses the "Trusted Proxy" (a similar concept) and notes its primary liability is that if the proxy is compromised, the backend system is fully exposed, as the proxy holds powerful access rights. (Chapter 3, Security Patterns).

Scroll to Top